CMakeLists.txt 1.2 KB
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1

2
IF (ONELIB)
3
	SET(CGoGN_LIBS cgogn)
4
ELSE (ONELIB)
Sylvain Thery's avatar
Sylvain Thery committed
5
	SET(CGoGN_LIBS algo topology container utils)
6
ENDIF (ONELIB)
7

8

Sylvain Thery's avatar
Sylvain Thery committed
9 10 11 12 13 14 15
IF (WIN32)
	link_directories( ${CGoGN_ROOT_DIR}/lib/${ConfigurationName}  ${Boost_LIBRARY_DIRS})
	SET(EXECUTABLE_OUTPUT_PATH ${CGoGN_ROOT_DIR}/bin/) # Release/Debug added automatically by visual
ELSE()
	link_directories( ${CGoGN_ROOT_DIR}/lib/${CMAKE_BUILD_TYPE} )
	SET(EXECUTABLE_OUTPUT_PATH ${CGoGN_ROOT_DIR}/bin/${CMAKE_BUILD_TYPE} )
ENDIF()
16 17 18 19 20 21 22 23 24 25 26 27 28 29

include_directories(
	${CGoGN_ROOT_DIR}/include
	${CGoGN_EXT_INCLUDES})

IF (COMPILE_SANDBOX)
	add_subdirectory(SandBox)
ENDIF()

IF (COMPILE_EXAMPLES AND WITH_QT)
		add_subdirectory(Examples)
ENDIF()

IF (COMPILE_TUTOS)
30
	add_subdirectory(Tuto)
31 32 33 34 35 36 37 38 39 40
ENDIF()

IF (COMPILE_BENCHES)
	add_subdirectory(Benches)
ENDIF()

IF (COMPILE_TESTS)
	add_subdirectory(Tests)
ENDIF()

41

42 43 44 45 46 47 48
#IF (WITH_QT)
#	add_subdirectory(Tuto)
#	add_subdirectory(Examples)
#	IF (NOT DONOT_COMPILE_SANDBOX)
#		add_subdirectory(SandBox)
#	ENDIF (NOT DONOT_COMPILE_SANDBOX)
#ENDIF (WITH_QT)
49

50 51
#add_subdirectory(Tests)
#add_subdirectory(Benches)
Sylvain Thery's avatar
Sylvain Thery committed
52

53 54 55 56 57
#add_subdirectory(Tuto/Traversals)
#add_subdirectory(Tuto/Attributes)
#add_subdirectory(Tuto/Markers)
#add_subdirectory(Tuto/Boundary)
#add_subdirectory(Tuto/Modelling)