CMakeLists.txt 834 Bytes
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_debug)
Pierre Kraemer's avatar
Pierre Kraemer committed
4
5
6
7

SET(CMAKE_BUILD_TYPE Debug)

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

Sylvain Thery's avatar
Sylvain Thery committed
13

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

#define exec to compile

add_executable( Geom_orientationD ./Geom_orientation.cpp)
target_link_libraries( Geom_orientationD
Sylvain Thery's avatar
Sylvain Thery committed
28
	${CGoGN_LIBS_D} ${CGoGN_EXT_LIBS})
Pierre Kraemer's avatar
Pierre Kraemer committed
29
30
31

add_executable( Geom_inclusionD ./Geom_inclusion.cpp)
target_link_libraries( Geom_inclusionD
Sylvain Thery's avatar
Sylvain Thery committed
32
	${CGoGN_LIBS_D} ${CGoGN_EXT_LIBS})
33

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