CMakeLists.txt 1.34 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
#SET(CMAKE_BUILD_TYPE Debug)
Pierre Kraemer's avatar
Pierre Kraemer committed
6

Sylvain Thery's avatar
Sylvain Thery committed
7
8
9
10
include_directories(${CMAKE_CURRENT_BINARY_DIR})
#	${CGoGN_ROOT_DIR}/include
#	${CGoGN_EXT_INCLUDES}
#)
Pierre Kraemer's avatar
Pierre Kraemer committed
11

Sylvain Thery's avatar
Sylvain Thery committed
12

Sylvain Thery's avatar
Sylvain Thery committed
13
14
15
16
17
18
19
20
21
#IF(WIN32)
#	link_directories( 
#		${CGoGN_ROOT_DIR}/lib/$(ConfigurationName)
#		${Boost_LIBRARY_DIRS} )
#ELSE(WIN32)
#	link_directories(
#		${CGoGN_ROOT_DIR}/lib/Debug
#		${CGoGN_ROOT_DIR}/lib/Release )
#ENDIF(WIN32)
Pierre Kraemer's avatar
Pierre Kraemer committed
22
23
24

#define exec to compile

Sylvain Thery's avatar
Sylvain Thery committed
25
26
27
add_executable( Geom_orientation ./Geom_orientation.cpp)
target_link_libraries( Geom_orientation
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
Pierre Kraemer's avatar
Pierre Kraemer committed
28

Sylvain Thery's avatar
Sylvain Thery committed
29
30
31
add_executable( Geom_inclusion ./Geom_inclusion.cpp)
target_link_libraries( Geom_inclusion
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
32

Sylvain Thery's avatar
Sylvain Thery committed
33
34
35
add_executable( Geom_intersection ./Geom_intersection.cpp)
target_link_libraries( Geom_intersection
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
36

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

add_executable( copyfrom ./copyfrom.cpp)
target_link_libraries( copyfrom
Sylvain Thery's avatar
Sylvain Thery committed
43
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
Sylvain Thery's avatar
Sylvain Thery committed
44
45
46

add_executable( movefrom ./movefrom.cpp)
target_link_libraries( movefrom
Sylvain Thery's avatar
Sylvain Thery committed
47
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
Sylvain Thery's avatar
Sylvain Thery committed
48
49
50

add_executable( compact ./compact.cpp)
target_link_libraries( compact
Sylvain Thery's avatar
Sylvain Thery committed
51
	${CGoGN_LIBS} ${CGoGN_EXT_LIBS})
Sylvain Thery's avatar
Sylvain Thery committed
52
53
54

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