CMakeLists.txt 972 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1 2
SET(EXECUTABLE_OUTPUT_PATH ${CGoGN_ROOT_DIR}/bin)

3 4 5 6 7
IF (ONELIB)
	SET(CGoGN_LIBS_R cgogn)
ELSE (ONELIB)
	SET(CGoGN_LIBS_R topology algo container utils)
ENDIF (ONELIB)
8

Pierre Kraemer's avatar
Pierre Kraemer committed
9
IF(WIN32)
10 11 12 13 14 15
	# libs have same name but in different place in Visual
	IF (ONELIB)
		SET(CGoGN_LIBS_D cgogn)
	ELSE (ONELIB)
		SET(CGoGN_LIBS_D topology algo container utils)
	ENDIF (ONELIB)
Pierre Kraemer's avatar
Pierre Kraemer committed
16
ELSE(WIN32)
17 18 19 20 21 22
	IF (ONELIB)
		SET(CGoGN_LIBS_D cgognD)
	ELSE (ONELIB)
		SET(CGoGN_LIBS_D topologyD algoD containerD utilsD)
	ENDIF (ONELIB)

23 24 25
	IF (WITH_QT)
		add_subdirectory(Examples/Debug)
	ENDIF (WITH_QT)
Pierre Kraemer's avatar
Pierre Kraemer committed
26 27
ENDIF(WIN32)

28 29 30
IF (WITH_QT)
	add_subdirectory(Tuto)
	add_subdirectory(Examples/Release)
Sylvain Thery's avatar
Sylvain Thery committed
31 32 33
	IF (NOT DONOT_COMPILE_SANDBOX)
		add_subdirectory(SandBox)
	ENDIF (NOT DONOT_COMPILE_SANDBOX)
34
ENDIF (WITH_QT)
35

36
add_subdirectory(Tests)
37

Sylvain Thery's avatar
Sylvain Thery committed
38 39
add_subdirectory(Benches)

40
add_subdirectory(Tuto/Traversals)
41
add_subdirectory(Tuto/Attributes)
Sylvain Thery's avatar
Tutos  
Sylvain Thery committed
42 43 44
add_subdirectory(Tuto/Markers)
add_subdirectory(Tuto/Boundary)
add_subdirectory(Tuto/Modelling)