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

Sylvain Thery's avatar
Sylvain Thery committed
3
# FOR Qt4
4 5 6
#SET(QT_USE_QTOPENGL TRUE)
#INCLUDE(${QT_USE_FILE})
#ADD_DEFINITIONS(${QT_DEFINITIONS})
Sylvain Thery's avatar
Sylvain Thery committed
7

8 9 10 11 12
IF (ONELIB)
	SET(CGoGN_LIBS_R cgogn)
ELSE (ONELIB)
	SET(CGoGN_LIBS_R topology algo container utils)
ENDIF (ONELIB)
13

Pierre Kraemer's avatar
Pierre Kraemer committed
14
IF(WIN32)
15 16 17 18 19 20
	# 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
21
ELSE(WIN32)
22 23 24 25 26 27
	IF (ONELIB)
		SET(CGoGN_LIBS_D cgognD)
	ELSE (ONELIB)
		SET(CGoGN_LIBS_D topologyD algoD containerD utilsD)
	ENDIF (ONELIB)

28 29 30
	IF (WITH_QT)
		add_subdirectory(Examples/Debug)
	ENDIF (WITH_QT)
Pierre Kraemer's avatar
Pierre Kraemer committed
31 32
ENDIF(WIN32)

33 34 35 36
IF (WITH_QT)
	add_subdirectory(Tuto)
	add_subdirectory(Examples/Release)
ENDIF (WITH_QT)
37

38 39
add_subdirectory(Examples/Tests)