-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
57 lines (47 loc) · 1.37 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(rosplan_interface_cola2)
## Find catkin macros and libraries
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
std_srvs
diagnostic_msgs
rosplan_dispatch_msgs
rosplan_knowledge_msgs
auv_msgs
cola2_control
actionlib
mongodb_store
)
find_package(Boost REQUIRED COMPONENTS
filesystem
)
###################################
## catkin specific configuration ##
###################################
## Declare things to be passed to dependent projects
catkin_package(
LIBRARIES ${PROJECT_NAME}
CATKIN_DEPENDS roscpp rospy std_msgs std_srvs actionlib rosplan_dispatch_msgs rosplan_knowledge_msgs auv_msgs cola2_control mongodb_store diagnostic_msgs
DEPENDS
)
###########
## Build ##
###########
## include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS}
include
)
## Declare cpp executables
add_executable(rpcola2 src/RPCola2.cpp)
## Specify libraries against which to link a library or executable target
target_link_libraries(rpcola2 ${catkin_LIBRARIES} ${Boost_LIBRARIES})
##########
## Test ##
##########
# please do not use add_rosttest_gtest (seems to be interfering with qtcreator and cmake)
# see test documentation: http://wiki.ros.org/gtest
#add_rostest_gtest(${PROJECT_NAME}_utest test/utest.cpp)
#target_link_libraries(testPlanningSystem ${catkin_LIBRARIES} ${GTEST_LIBRARIES})