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

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

Sylvain Thery's avatar
Sylvain Thery committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

#IF(${CMAKE_BUILD_TYPE} MATCHES Release|release|RELEASE)
#	SET(CGoGN_LIBS ${CGoGN_LIBS_R})
#ELSE()
#	SET(CGoGN_LIBS ${CGoGN_LIBS_D})
#ENDIF()


#IF(WIN32)
#	link_directories(${CGoGN_ROOT_DIR}/lib/$(ConfigurationName)
#	${Boost_LIBRARY_DIRS})
#ELSE(WIN32)

SET(EXECUTABLE_OUTPUT_PATH ${CGoGN_ROOT_DIR}/bin/${CMAKE_BUILD_TYPE}	)

link_directories( ${CGoGN_ROOT_DIR}/lib/${CMAKE_BUILD_TYPE} )

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)
40
	add_subdirectory(Tuto)
Sylvain Thery's avatar
Sylvain Thery committed
41 42 43 44 45 46 47 48 49 50
ENDIF()

IF (COMPILE_BENCHES)
	add_subdirectory(Benches)
ENDIF()

IF (COMPILE_TESTS)
	add_subdirectory(Tests)
ENDIF()

51

Sylvain Thery's avatar
Sylvain Thery committed
52 53 54 55 56 57 58
#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)
59

Sylvain Thery's avatar
Sylvain Thery committed
60 61
#add_subdirectory(Tests)
#add_subdirectory(Benches)
Sylvain Thery's avatar
benches  
Sylvain Thery committed
62

Sylvain Thery's avatar
Sylvain Thery committed
63 64 65 66 67
#add_subdirectory(Tuto/Traversals)
#add_subdirectory(Tuto/Attributes)
#add_subdirectory(Tuto/Markers)
#add_subdirectory(Tuto/Boundary)
#add_subdirectory(Tuto/Modelling)