-
Notifications
You must be signed in to change notification settings - Fork 8
/
CMakeLists.txt
53 lines (44 loc) · 1.39 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
cmake_minimum_required(VERSION 2.8.3)
project(rosplan_interface_turtlebot2)
## Find catkin macros and libraries
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
std_srvs
diagnostic_msgs
geometry_msgs
rosplan_dispatch_msgs
rosplan_knowledge_msgs
actionlib
kobuki_msgs
tf
)
###################################
## catkin specific configuration ##
###################################
## Declare things to be passed to dependent projects
catkin_package(
LIBRARIES ${PROJECT_NAME}
CATKIN_DEPENDS roscpp rospy std_msgs std_srvs diagnostic_msgs geometry_msgs rosplan_dispatch_msgs rosplan_knowledge_msgs actionlib kobuki_msgs tf
DEPENDS
)
###########
## Build ##
###########
## include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS}
include
)
## Declare cpp executables
add_executable(rpdocker src/RPDocker.cpp)
add_dependencies(rpdocker ${catkin_EXPORTED_TARGETS})
add_executable(rplocaliser src/RPLocaliser.cpp)
add_dependencies(rplocaliser ${catkin_EXPORTED_TARGETS})
add_executable(rptalker src/RPTalker.cpp)
add_dependencies(rptalker ${catkin_EXPORTED_TARGETS})
## Specify libraries against which to link a library or executable target
target_link_libraries(rpdocker ${catkin_LIBRARIES} ${Boost_LIBRARIES})
target_link_libraries(rplocaliser ${catkin_LIBRARIES} ${Boost_LIBRARIES})
target_link_libraries(rptalker ${catkin_LIBRARIES} ${Boost_LIBRARIES})