Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

CMakeLists.txt 2.2 KB
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cmake_minimum_required(VERSION 2.6)

project(examples)

SET(CMAKE_BUILD_TYPE Release)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNOTOPOWARNING")

# define includes path
include_directories(
	/usr/include/libxml2/
	${CGoGN_ROOT_DIR}/include
	${CGoGN_ROOT_DIR}/ThirdParty/Numerical
	${CGoGN_ROOT_DIR}/ThirdParty/Numerical/UFconfig
	${CGoGN_ROOT_DIR}/ThirdParty/gzstream
	${CGoGN_ROOT_DIR}/ThirdParty/Zinri
	${CGoGN_ROOT_DIR}/ThirdParty/AntTweakBar/include
	${CGoGN_ROOT_DIR}/ThirdParty/OpenCTM
	${CGoGN_ROOT_DIR}/ThirdParty/Assimp/include
Sylvain Thery's avatar
Sylvain Thery committed
19
	${CGoGN_ROOT_DIR}/ThirdParty/glm
Pierre Kraemer's avatar
Pierre Kraemer committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
)

# define libs path
link_directories(
	${CGoGN_ROOT_DIR}/lib/Release
)

#define exec to compile

add_executable( miniTest ../miniTest.cpp)
target_link_libraries( miniTest
	container topology utils algo  numerical lapack blas f2c ${COMMON_LIBS} )

add_executable( Viewer ../Viewer.cpp)
target_link_libraries( Viewer
	container topology utils algo  ${COMMON_LIBS} )

add_executable( simpleGMap2 ../simpleGMap2.cpp)
target_link_libraries( simpleGMap2
	container topology utils algo ${COMMON_LIBS} Zinri)

# add_executable( hm_convexhull ../hm_convexhull.cpp)
# target_link_libraries( hm_convexhull
# 	topology utils algo ${COMMON_LIBS})

add_executable( squelette3carte ../squelette3carte.cpp)
target_link_libraries( squelette3carte
	container topology utils algo  numerical lapack blas f2c ${COMMON_LIBS} )
	
add_executable( decimationVolumique ../decimationVolumique.cpp)
target_link_libraries( decimationVolumique
	container topology utils algo  numerical lapack blas f2c ${COMMON_LIBS} )
	
add_executable( triangulation ../triangulation.cpp)
target_link_libraries( triangulation
	container topology utils algo ${COMMON_LIBS} )

add_executable( ter_meshes ../ter_meshes.cpp)
target_link_libraries( ter_meshes
	container topology utils algo ${COMMON_LIBS} )
60
	
Pierre Kraemer's avatar
Pierre Kraemer committed
61
add_executable( polyhedronsView ../polyhedronsView.cpp)
62
63
64
65
66
67
68
69
70
71
target_link_libraries( polyhedronsView
        container topology utils algo ${COMMON_LIBS} )

add_executable( extrusionView ../extrusionView.cpp)
target_link_libraries( extrusionView
        container topology utils algo ${COMMON_LIBS} )
        
add_executable( scene ../scene.cpp)
target_link_libraries( scene
        container topology utils algo ${COMMON_LIBS} )