-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
79 lines (58 loc) · 2.71 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
cmake_minimum_required(VERSION 2.8)
project(test_includes)
#There are lots of scripts with cmake
#for finding external libraries.
#see /usr/local/share/cmake-2.6/Modules/Find*.cmake for more examples
#find_package(Boost COMPONENTS system filesystem REQUIRED)
#include_directories( ${Boost_INCLUDE_DIRS} )
find_package(Boost COMPONENTS system filesystem REQUIRED)
find_package(Threads REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(yaml-cpp REQUIRED)
include_directories( ${Boost_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIR}
${yaml-cpp_INCLUDE_DIR}
include)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
#set(CMAKE_CXX_FLAGS "-g -Wall -I /usr/local/include/eigen3/")
add_subdirectory(include)
#link_directories(libraries)
set( LIBS_TO_LINK Utilities
Learning
Domains
Agents
POMDPs
Planning
yaml-cpp
${CMAKE_THREAD_LIBS_INIT})# -llapack
add_executable(testNeuralNetEigen testNeuralNetEigen.cpp)
target_link_libraries( testNeuralNetEigen ${LIBS_TO_LINK} )
add_executable(testNeuroEvoEigen testNeuroEvoEigen.cpp)
target_link_libraries( testNeuroEvoEigen ${LIBS_TO_LINK} )
add_executable(testMAPElitesEigen testMAPElitesEigen.cpp)
target_link_libraries( testMAPElitesEigen ${LIBS_TO_LINK} )
add_executable(testSingleRoverEigen testSingleRoverEigen.cpp)
target_link_libraries( testSingleRoverEigen ${LIBS_TO_LINK} )
add_executable(testMAPElitesRoverEigen testMAPElitesRoverEigen.cpp)
target_link_libraries( testMAPElitesRoverEigen ${LIBS_TO_LINK} )
add_executable(testRover testRover.cpp)
target_link_libraries( testRover ${LIBS_TO_LINK} )
add_executable(testMultiRover testMultiRover.cpp)
target_link_libraries( testMultiRover ${LIBS_TO_LINK} )
add_executable(testPOMDP testPOMDP.cpp)
target_link_libraries( testPOMDP ${LIBS_TO_LINK} )
add_executable(multiRoverIntrospection multiRoverIntrospection.cpp)
target_link_libraries( multiRoverIntrospection ${LIBS_TO_LINK} )
add_executable(generateMultiRoverExperts generateMultiRoverExperts.cpp)
target_link_libraries( generateMultiRoverExperts ${LIBS_TO_LINK} )
add_executable(multiRoverExpertiseTesting multiRoverExpertiseTesting.cpp)
target_link_libraries( multiRoverExpertiseTesting ${LIBS_TO_LINK} )
add_executable(testMultiNightBar testMultiNightBar.cpp)
target_link_libraries( testMultiNightBar ${LIBS_TO_LINK} )
add_executable(testMultiRoverPLearners testMultiRoverPLearners.cpp)
target_link_libraries( testMultiRoverPLearners ${LIBS_TO_LINK} )
add_executable(testSearch testSearch.cpp)
target_link_libraries( testSearch ${LIBS_TO_LINK} )
add_executable(testWarehouse testWarehouse.cpp threadpool.cpp)
target_link_libraries( testWarehouse ${LIBS_TO_LINK} )