-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
39 lines (29 loc) · 1.18 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
cmake_minimum_required(VERSION 2.8.3)
project(rll_robot_playground_project)
find_package(catkin REQUIRED COMPONENTS
actionlib
rll_move
rll_move_client
rll_msgs
rostest
)
catkin_package(
CATKIN_DEPENDS rll_move_client rll_msgs
)
include_directories(SYSTEM ${catkin_INCLUDE_DIRS})
include_directories(include)
add_executable(playground_iface src/playground_iface.cpp src/playground_iface_node.cpp)
target_link_libraries(playground_iface ${catkin_LIBRARIES})
add_executable(playground_hello_world src/hello_world.cpp)
target_link_libraries(playground_hello_world ${catkin_LIBRARIES})
add_executable(playground src/playground.cpp)
target_link_libraries(playground ${catkin_LIBRARIES})
catkin_install_python(PROGRAMS scripts/hello_world.py scripts/playground.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
install(TARGETS playground playground_hello_world playground_iface
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
install(DIRECTORY config launch urdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
if(CATKIN_ENABLE_TESTING)
add_rostest(tests/launch/demo_tests.test ARGS use_sim:=false)
add_rostest(tests/launch/demo_tests.test ARGS use_sim:=true)
endif()