CMakeLists.txt 1.48 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# Crowd Simulator Engine
# Copyright (C) 2018 - Inria Rennes - Rainbow - Julien Pettre
# 
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
#
#
# Authors: Axel Lopez Gandia, Javad Amirian, Florian Berton,
# Julien Legros, Lucas Pelerin, Beatriz Cabrero Daniel, Fabien Grzeskowiak
# 
# Contact: crowd_group@inria.fr

25 26 27
cmake_minimum_required( VERSION 2.8 )
project( CrowdSimulator )

28 29
set (CMAKE_CXX_STANDARD 11)

Javad AMIRIAN's avatar
Javad AMIRIAN committed
30
#set(EXECUTABLE_OUTPUT_PATH bin/${CMAKE_BUILD_TYPE})
31 32 33 34 35

include_directories( ./include )

link_directories( ./lib/${CMAKE_BUILD_TYPE} )

36 37 38 39
if (WIN32)
	include_directories( C:/local )
endif (WIN32)

Javad AMIRIAN's avatar
Javad AMIRIAN committed
40
file( GLOB_RECURSE source_files src/* include/*)
41

Javad AMIRIAN's avatar
Javad AMIRIAN committed
42 43
add_executable( my_app main.cpp ${source_files} )
add_executable(test_xmlparser ./test/test_xmlparser.cpp ${source_files})
44
add_executable(test_socialforces ./test/SocialForcesExample.cpp ${source_files})