Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

CMakeLists.txt 1007 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cmake_minimum_required(VERSION 2.6)

SET(CMAKE_BUILD_TYPE Debug)

#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pg")

link_directories(
	${CGoGN_ROOT_DIR}/lib/Debug/
	${CGoGN_ROOT_DIR}/lib/Release/
)

# define includes path
include_directories(
	../include
Pierre Kraemer's avatar
Pierre Kraemer committed
15
	/usr/include/libxml2/
Pierre Kraemer's avatar
Pierre Kraemer committed
16
17
18
19
20
21
22
23
	${CGoGN_ROOT_DIR}/include
	${CGoGN_ROOT_DIR}/ThirdParty/Numerical
	${CGoGN_ROOT_DIR}/ThirdParty/Numerical/UFconfig
	${CGoGN_ROOT_DIR}/ThirdParty/gzstream
	${CGoGN_ROOT_DIR}/ThirdParty/Zinri
	${CGoGN_ROOT_DIR}/ThirdParty/OpenCTM
	${CGoGN_ROOT_DIR}/ThirdParty/Assimp/include
	${CGoGN_ROOT_DIR}/ThirdParty/glm
Pierre Kraemer's avatar
Pierre Kraemer committed
24
	${CMAKE_CURRENT_BINARY_DIR}
Pierre Kraemer's avatar
Pierre Kraemer committed
25
26
27
)

#define exec to compile
Pierre Kraemer's avatar
Pierre Kraemer committed
28
29
QT4_WRAP_UI( socialAgents_ui ../include/socialAgents.ui )
QT4_WRAP_CPP( socialAgents_moc ../include/viewer.h )
Pierre Kraemer's avatar
Pierre Kraemer committed
30
31
32
33
34
add_executable( socialAgentsD
	../src/viewer.cpp
	../src/env_map.cpp
	../src/agent.cpp
	../src/simulator.cpp
Pierre Kraemer's avatar
Pierre Kraemer committed
35
36
	${socialAgents_moc}
	${socialAgents_ui}
Pierre Kraemer's avatar
Pierre Kraemer committed
37
38
39
)

target_link_libraries( socialAgentsD
Pierre Kraemer's avatar
Pierre Kraemer committed
40
41
	${CGoGN_LIBS_D} ${COMMON_LIBS} ${QT_LIBRARIES} boost_thread-mt)