-
Notifications
You must be signed in to change notification settings - Fork 38
/
CMakeLists.txt
43 lines (37 loc) · 891 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
34
35
36
37
38
39
40
41
42
43
cmake_minimum_required(VERSION 2.8.3)
project(p2os_driver)
find_package(catkin REQUIRED COMPONENTS
p2os_msgs
diagnostic_updater
nav_msgs
roscpp
geometry_msgs
tf
std_msgs
kdl_parser
)
catkin_package(
INCLUDE_DIRS include
LIBRARIES p2os_driver
CATKIN_DEPENDS p2os_msgs nav_msgs roscpp geometry_msgs diagnostic_updater tf std_msgs kdl_parser
)
## Specify additional locations of header files
include_directories(include
${catkin_INCLUDE_DIRS}
)
## Declare a cpp executable
add_executable(p2os_driver
src/p2osnode.cc
src/p2os.cc
src/kinecalc.cc
src/packet.cc
src/robot_params.cc
src/sip.cc
src/p2os_ptz.cpp
)
target_link_libraries(p2os_driver ${catkin_LIBRARIES})
add_dependencies(p2os_driver p2os_msgs_gencpp)
## Mark executables and/or libraries for installation
install(TARGETS p2os_driver
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)