-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
52 lines (44 loc) · 1.21 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
cmake_minimum_required(VERSION 3.10)
project(FLAM LANGUAGES CXX)
find_package(ARGoS REQUIRED)
find_package(Lua REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(JSONCPP jsoncpp)
add_library(buzz_controller_drone SHARED
lib/buzz_utils.h
lib/buzz_controller_drone_sim.h
lib/buzz_controller_drone_sim.cpp
lib/buzz_closures_drone_sim.cpp
lib/radiation_source.h
lib/radiation_source.cpp
lib/crm/celldatacontainers.h
lib/crm/celldatacontainers.cpp
lib/crm/crminrobotagent_optimised.h
lib/crm/crminrobotagent_optimised.cpp
lib/crm/propriofeaturevector.h
lib/crm/propriofeaturevector.cpp
)
target_include_directories(buzz_controller_drone PRIVATE
${LUA_INCLUDE_DIR}
${JSONCPP_INCLUDE_DIRS}
)
target_link_libraries(buzz_controller_drone PUBLIC
${ARGOS_LIBRARIES}
${LUA_LIBRARY}
${JSONCPP_LIBRARIES}
)
# Loop functions for visualization
add_library(flam_loop_functions SHARED
lib/radiation_loop_functions.h
lib/radiation_loop_functions.cpp
lib/radiation_source.h
lib/radiation_source.cpp
)
target_include_directories(flam_loop_functions PRIVATE
${LUA_INCLUDE_DIR}
${JSONCPP_INCLUDE_DIRS}
)
target_link_libraries(flam_loop_functions PUBLIC
${LUA_LIBRARY}
${JSONCPP_LIBRARIES}
)