CMakeLists.txt 611 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 4 5 6 7
# FOR Qt4
SET(QT_USE_QTOPENGL TRUE)
INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})

thery's avatar
thery committed
8
SET(CGoGN_LIBS_R topology algo container utils)
9

Pierre Kraemer's avatar
Pierre Kraemer committed
10
IF(WIN32)
thery's avatar
thery committed
11
	SET(CGoGN_LIBS_D topology algo container utils) # libs have same name but in different place in Visual
Pierre Kraemer's avatar
Pierre Kraemer committed
12
	add_subdirectory(Examples/Release)
Sylvain Thery's avatar
Sylvain Thery committed
13
	add_subdirectory(Examples/Tests)
Pierre Kraemer's avatar
Pierre Kraemer committed
14 15
	add_subdirectory(Tuto)
ELSE(WIN32)
Pierre Kraemer's avatar
Pierre Kraemer committed
16
	SET(CGoGN_LIBS_D topologyD algoD containerD utilsD)
Pierre Kraemer's avatar
Pierre Kraemer committed
17 18 19 20 21 22
	add_subdirectory(Examples/Release)
	add_subdirectory(Examples/Debug)
	add_subdirectory(Examples/Tests)
	add_subdirectory(Tuto)
ENDIF(WIN32)