-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
33 lines (28 loc) · 888 Bytes
/
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
cmake_minimum_required(VERSION 2.8.3)
project(ros_sevenbot)
find_package(catkin REQUIRED COMPONENTS
urdf
roscpp
rosserial_msgs
topic_tools
std_msgs
)
find_package(Boost REQUIRED COMPONENTS
system
thread
)
catkin_package(
INCLUDE_DIRS include ${Bootst_INCLUDE_DIRS}
CATKIN_DEPENDS urdf roscpp rosserial_msgs topic_tools std_msgs sensor_msgs
)
include_directories(
include
${Boost_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
)
add_executable(sevenbot_state_publisher src/sevenbot_state_publisher.cpp)
target_link_libraries(sevenbot_state_publisher ${catkin_LIBRARIES})
add_executable(${PROJECT_NAME}_serial_node src/serial_node.cpp)
target_link_libraries(${PROJECT_NAME}_serial_node ${catkin_LIBRARIES})
set_target_properties(${PROJECT_NAME}_serial_node PROPERTIES OUTPUT_NAME serial_node PREFIX "")
add_dependencies(${PROJECT_NAME}_serial_node rosserial_msgs_gencpp)