-
Notifications
You must be signed in to change notification settings - Fork 8
/
CMakeLists.txt
42 lines (33 loc) · 1.03 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
cmake_minimum_required(VERSION 2.8.3)
project(halo_radar)
add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
marine_radar_control_msgs
marine_sensor_msgs
rosbag
roscpp
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES
CATKIN_DEPENDS marine_radar_control_msgs marine_sensor_msgs rosbag
# DEPENDS system_lib
)
include_directories(
${catkin_INCLUDE_DIRS}
)
set (SOURCES
src/halo_radar/halo_radar.cpp
src/halo_radar/halo_radar_node.cpp
)
add_executable(${PROJECT_NAME} ${SOURCES})
add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}
${catkin_LIBRARIES}
)
add_executable(fix_angle_increments src/halo_radar/fix_angle_increments.cpp)
add_dependencies(fix_angle_increments ${catkin_EXPORTED_TARGETS})
target_link_libraries(fix_angle_increments ${catkin_LIBRARIES})
add_executable(fix_scan_times src/halo_radar/fix_scan_times.cpp)
add_dependencies(fix_scan_times ${catkin_EXPORTED_TARGETS})
target_link_libraries(fix_scan_times ${catkin_LIBRARIES})