CMakeLists.txt 722 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
3
4
cmake_minimum_required(VERSION 2.6)

project(SocialAgents)

5
SET(CMAKE_BUILD_TYPE Release)
Pierre Kraemer's avatar
Pierre Kraemer committed
6
7

link_directories(
8
9
	${CGoGN_ROOT_DIR}/lib/Release/
)
Pierre Kraemer's avatar
Pierre Kraemer committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23

# define includes path
include_directories(
	/usr/include/libxml2/
	${CGoGN_ROOT_DIR}/Apps/Examples/SocialAgents/include
	${CGoGN_ROOT_DIR}/include
	${CGoGN_ROOT_DIR}/ThirdParty/AntTweakBar/include
	${CGoGN_ROOT_DIR}/ThirdParty/Numerical
	${CGoGN_ROOT_DIR}/ThirdParty/Numerical/UFconfig
	${CGoGN_ROOT_DIR}/ThirdParty/gzstream
	${CGoGN_ROOT_DIR}/ThirdParty/Zinri
)

#define exec to compile
24
add_executable(socialAgents ../src/viewer.cpp ../src/env_map.cpp ../src/agent.cpp ../src/simulator.cpp  )
Pierre Kraemer's avatar
Pierre Kraemer committed
25
target_link_libraries( socialAgents container topology utils algo ${COMMON_LIBS} )