-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
62 lines (46 loc) · 1.13 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
58
59
60
61
62
cmake_minimum_required(VERSION 2.8.3)
project(calibration)
add_definitions(-std=c++11)
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package(catkin REQUIRED COMPONENTS
nav_msgs
geometry_msgs
roscpp
rospy
std_msgs
sensor_msgs
tf
tf2
dynamic_reconfigure
)
include_directories(
${catkin_INCLUDE_DIRS}
)
catkin_python_setup()
generate_dynamic_reconfigure_options(
cfg/Transform.cfg
)
catkin_package()
catkin_package(
INCLUDE_DIRS include
LIBRARIES genicam arghandler
CATKIN_DEPENDS roscpp rospy std_msgs nav_msgs tf tf2 dynamic_reconfigure
# DEPENDS system_lib
)
include_directories(
${catkin_INCLUDE_DIRS}
include
)
add_executable(one_shot_calib_node src/one_shot_calib_node.cpp)
target_link_libraries(one_shot_calib_node
${catkin_LIBRARIES}
)
add_executable(dynamic_transform_publisher src/dynamic_transform_publisher_node.cpp)
target_link_libraries(dynamic_transform_publisher
${catkin_LIBRARIES}
)
add_executable(odom_to_tf src/odom_to_tf.cpp)
target_link_libraries(odom_to_tf
${catkin_LIBRARIES}
)
add_dependencies(dynamic_transform_publisher ${PROJECT_NAME}_gencfg)