CMakeLists.txt 1.15 KB
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1 2
cmake_minimum_required(VERSION 2.6)

Sylvain Thery's avatar
Sylvain Thery committed
3
project(testing)
Pierre Kraemer's avatar
Pierre Kraemer committed
4

Sylvain Thery's avatar
Sylvain Thery committed
5
add_subdirectory(Algo)
6
add_subdirectory(Container)
Sylvain Thery's avatar
Sylvain Thery committed
7 8
add_subdirectory(Geometry)
add_subdirectory(Utils)
Pierre Kraemer's avatar
Pierre Kraemer committed
9 10 11

#define exec to compile

Sylvain Thery's avatar
Sylvain Thery committed
12 13 14
add_executable( Geom_orientation ./Geom_orientation.cpp)
target_link_libraries( Geom_orientation
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
Sylvain Thery's avatar
Sylvain Thery committed
15
qt_use_modules(Geom_orientation Gui OpenGL Xml Svg)
Pierre Kraemer's avatar
Pierre Kraemer committed
16

Sylvain Thery's avatar
Sylvain Thery committed
17 18 19
add_executable( Geom_inclusion ./Geom_inclusion.cpp)
target_link_libraries( Geom_inclusion
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
20

Sylvain Thery's avatar
Sylvain Thery committed
21 22 23
add_executable( Geom_intersection ./Geom_intersection.cpp)
target_link_libraries( Geom_intersection
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
24

25 26
add_executable( loadSave ./loadSave.cpp)
target_link_libraries( loadSave
Sylvain Thery's avatar
Sylvain Thery committed
27
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
28 29 30

add_executable( copyfrom ./copyfrom.cpp)
target_link_libraries( copyfrom
Sylvain Thery's avatar
Sylvain Thery committed
31
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
Sylvain Thery's avatar
Sylvain Thery committed
32 33 34

add_executable( movefrom ./movefrom.cpp)
target_link_libraries( movefrom
Sylvain Thery's avatar
Sylvain Thery committed
35
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
Sylvain Thery's avatar
Sylvain Thery committed
36 37 38

add_executable( compact ./compact.cpp)
target_link_libraries( compact
Sylvain Thery's avatar
Sylvain Thery committed
39
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
Sylvain Thery's avatar
Sylvain Thery committed
40 41 42

add_executable( reusememory ./reusememory.cpp)
target_link_libraries( reusememory
Sylvain Thery's avatar
Sylvain Thery committed
43
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})