-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
73 lines (64 loc) · 1.48 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
cmake_minimum_required(VERSION 3.5)
project(interoperability)
set(CMAKE_CXX_FLAGS "-std=c++17 -fPIC")
find_package(catkin REQUIRED COMPONENTS
roscpp
tf2
tf2_ros
tf2_geometry_msgs
geometry_msgs
nav_msgs
std_msgs
robot_localization
fake_planner
waypoint_server
)
catkin_package(CATKIN_DEPENDS
roscpp
tf2
tf2_ros
tf2_geometry_msgs
geometry_msgs
nav_msgs
std_msgs
robot_localization
fake_planner
waypoint_server
)
set(JAUS_INCLUDE_PATH "openjaus/include")
set(JAUS_LIB_PATH "openjaus/lib")
include_directories(
include
${catkin_INCLUDE_DIRS}
${JAUS_INCLUDE_PATH}
)
link_directories(
${JAUS_LIB_PATH}
)
add_library(${PROJECT_NAME}
src/WaypointListManager.cpp
src/NavigationAndReportingComponent.cpp
)
add_executable(iop_node src/iop_node.cpp)
target_link_libraries(iop_node
${catkin_LIBRARIES}
${PROJECT_NAME}
openjaus
openjaus-core_v1_1
openjaus-mobility_v1_0
)
add_dependencies(iop_node
${${PROJECT_NAME}_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
)
add_executable(cvt_node src/CVTComponent.cpp)
target_link_libraries(cvt_node
${catkin_LIBRARIES}
openjaus
openjaus-core_v1_1
openjaus-mobility_v1_0
)
add_dependencies(cvt_node
${${PROJECT_NAME}_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
)