-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCMakeLists.txt
57 lines (47 loc) · 1.23 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
cmake_minimum_required(VERSION 2.8.3)
project(autonomous_exploration)
## Add support for C++11, supported in ROS Kinetic and newer
add_definitions(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
tf
roscpp
rospy
std_msgs
message_generation
actionlib_msgs
actionlib
geometry_msgs
nav_msgs
visualization_msgs
opt_utils
)
find_package(Boost REQUIRED COMPONENTS system)
add_action_files(
FILES
Explore.action
)
generate_messages(
DEPENDENCIES
std_msgs
actionlib_msgs
geometry_msgs
nav_msgs
visualization_msgs
)
catkin_package(
CATKIN_DEPENDS actionlib_msgs
)
include_directories(
include
${catkin_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)
add_executable(explore_client src/explore_client.cpp)
target_link_libraries(explore_client ${catkin_LIBRARIES})
add_dependencies(explore_client ${autonomous_exploration_EXPORTED_TARGETS})
add_executable(explore_server src/explore_server.cpp)
target_link_libraries(explore_server ${catkin_LIBRARIES})
add_dependencies(explore_server ${autonomous_exploration_EXPORTED_TARGETS})
add_executable(get_map_server src/get_map_server.cpp)
target_link_libraries(get_map_server ${catkin_LIBRARIES})
add_dependencies(get_map_server ${autonomous_exploration_EXPORTED_TARGETS})