Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

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

SET(CMAKE_BUILD_TYPE Debug)

Pierre Kraemer's avatar
Pierre Kraemer committed
5
6
7
8
9
IF(WIN32)
	link_directories( ${CGoGN_ROOT_DIR}/lib/Release )
ELSE (WIN32)
	link_directories( ${CGoGN_ROOT_DIR}/lib/Debug ${CGoGN_ROOT_DIR}/lib/Release )
ENDIF (WIN32)
10

Pierre Kraemer's avatar
Pierre Kraemer committed
11
12
13
include_directories(
	../include
	${CGoGN_ROOT_DIR}/include
Pierre Kraemer's avatar
Pierre Kraemer committed
14
15
	${COMMON_INCLUDES}
	${CMAKE_CURRENT_SOURCE_DIR}
Pierre Kraemer's avatar
Pierre Kraemer committed
16
	${CMAKE_CURRENT_BINARY_DIR}
Pierre Kraemer's avatar
Pierre Kraemer committed
17
18
)

Pierre Kraemer's avatar
Pierre Kraemer committed
19
20
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -p")

Pierre Kraemer's avatar
Pierre Kraemer committed
21
22
QT4_WRAP_UI( socialAgents_ui ../include/socialAgents.ui )
QT4_WRAP_CPP( socialAgents_moc ../include/viewer.h )
Pierre Kraemer's avatar
Pierre Kraemer committed
23
24
25
26
add_executable( socialAgentsD
	../src/viewer.cpp
	../src/env_map.cpp
	../src/agent.cpp
27
	../src/moving_obstacle.cpp
pitiot's avatar
merging  
pitiot committed
28
	../src/articulated_obstacle.cpp
Pierre Kraemer's avatar
Pierre Kraemer committed
29
	../src/simulator.cpp
30
	../src/moving_mesh.cpp
31
	../src/gl2ps.c
32
	../src/ShapeMatching/rigidXfComputation.cpp
Pierre Kraemer's avatar
Pierre Kraemer committed
33
34
	${socialAgents_moc}
	${socialAgents_ui}
Pierre Kraemer's avatar
Pierre Kraemer committed
35
36
)

Pierre Kraemer's avatar
Pierre Kraemer committed
37
target_link_libraries( socialAgentsD ${CGoGN_LIBS_D} ${COMMON_LIBS} )