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

project(geometryAssertD)

SET(CMAKE_BUILD_TYPE Debug)


Sylvain Thery's avatar
Sylvain Thery committed
8
# FOR Qt4
Sylvain Thery's avatar
Sylvain Thery committed
9

Sylvain Thery's avatar
Sylvain Thery committed
10 11 12 13 14
SET(QT_USE_QTOPENGL TRUE)
INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})


Pierre Kraemer's avatar
Pierre Kraemer committed
15
include_directories(
Sylvain Thery's avatar
Sylvain Thery committed
16
	${CMAKE_CURRENT_BINARY_DIR}
Pierre Kraemer's avatar
Pierre Kraemer committed
17
	${CGoGN_ROOT_DIR}/include
Sylvain Thery's avatar
Sylvain Thery committed
18
	${CGoGN_EXT_INCLUDES}
Pierre Kraemer's avatar
Pierre Kraemer committed
19 20
)

Sylvain Thery's avatar
Sylvain Thery committed
21

Pierre Kraemer's avatar
Pierre Kraemer committed
22 23 24 25 26 27 28 29 30 31
# 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
32
	${CGoGN_LIBS_D} ${CGoGN_EXT_LIBS})
Pierre Kraemer's avatar
Pierre Kraemer committed
33 34 35

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

38 39
add_executable( Geom_intersectionD ./Geom_intersection.cpp)
target_link_libraries( Geom_intersectionD
Sylvain Thery's avatar
Sylvain Thery committed
40
	${CGoGN_LIBS_D} ${CGoGN_EXT_LIBS})
41 42 43 44 45
	
	
QT4_WRAP_CPP(concave_rendering_moc concave_rendering.h)
add_executable( concave_renderingD concave_rendering.cpp ${concave_rendering_moc})
target_link_libraries( concave_renderingD
Sylvain Thery's avatar
Sylvain Thery committed
46
	${CGoGN_LIBS_D}  ${CGoGN_EXT_LIBS} )