CMakeLists.txt 982 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1 2 3 4 5 6 7 8
cmake_minimum_required(VERSION 2.6)

project(geometryAssertD)

SET(CMAKE_BUILD_TYPE Debug)


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

Sylvain Thery's avatar
Sylvain Thery committed
14

Pierre Kraemer's avatar
Pierre Kraemer committed
15 16 17 18 19 20 21 22 23 24
# define libs path
link_directories(
	${CGoGN_ROOT_DIR}/lib/Debug
	${CGoGN_ROOT_DIR}/lib/Release
)

#define exec to compile

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

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

31 32
add_executable( Geom_intersectionD ./Geom_intersection.cpp)
target_link_libraries( Geom_intersectionD
Sylvain Thery's avatar
Sylvain Thery committed
33
	${CGoGN_LIBS_D} ${CGoGN_EXT_LIBS})
34 35
	
	
36 37 38 39 40 41
IF (WITH_QT)
	QT4_WRAP_CPP(concave_rendering_moc concave_rendering.h)
	add_executable( concave_renderingD concave_rendering.cpp ${concave_rendering_moc})
	target_link_libraries( concave_renderingD
		${CGoGN_LIBS_D}  ${CGoGN_EXT_LIBS} )
ENDIF (WITH_QT)