forked from ropod-project/ropod_tue_2_bringup
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
88 lines (70 loc) · 2.64 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
cmake_minimum_required(VERSION 2.8.3)
project(ropod_tue_2_bringup)
find_package(catkin REQUIRED COMPONENTS
message_generation
geometry_msgs
tf2_geometry_msgs
nav_msgs
roscpp
tf
)
# find_package(Boost REQUIRED COMPONENTS system program_options)
# find_package(PCL REQUIRED)
# find_package(OpenCV REQUIRED)
# ------------------------------------------------------------------------------------------------
# ROS MESSAGES AND SERVICES
# ------------------------------------------------------------------------------------------------
# Generate messages
# add_message_files(
# FILES
# message1.msg
# ...
# )
# Generate services
# add_service_files(
# FILES
# service1.srv
# ...
# )
# Generate added messages and services with any dependencies listed here
# generate_messages(
# DEPENDENCIES
# geometry_msgs
# ...
# )
# ------------------------------------------------------------------------------------------------
# CATKIN EXPORT
# ------------------------------------------------------------------------------------------------
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES ropod_bringup
# CATKIN_DEPENDS geometry_msgs roscpp tf
# DEPENDS system_lib
)
# ------------------------------------------------------------------------------------------------
# BUILD
# ------------------------------------------------------------------------------------------------
include_directories(
include
${catkin_INCLUDE_DIRS}
)
# add_library(library_name
# src/lib_source_file1.cpp
# ...
# )
# target_link_libraries(library_name ${catkin_LIBRARIES})
# add_executable(exec_name
# src/source_file1.cpp
# ...
# )
# target_link_libraries(exec_name ${catkin_LIBRARIES})
add_executable(ropod_tf_broadcaster_simulator src/ropod_tf_broadcaster_simulator.cpp)
target_link_libraries(ropod_tf_broadcaster_simulator ${catkin_LIBRARIES})
add_executable(ropod_mobidik_tf_broadcaster_simulator src/ropod_mobidik_tf_broadcaster_simulator.cpp)
target_link_libraries(ropod_mobidik_tf_broadcaster_simulator ${catkin_LIBRARIES})
add_executable(ropod_mobidik_tf_broadcaster src/ropod_mobidik_tf_broadcaster.cpp)
target_link_libraries(ropod_mobidik_tf_broadcaster ${catkin_LIBRARIES})
add_executable(ropod_mobidik_tf_broadcaster_only_ropod src/ropod_mobidik_tf_broadcaster_only_ropod.cpp)
target_link_libraries(ropod_mobidik_tf_broadcaster_only_ropod ${catkin_LIBRARIES})
add_executable(laserBack_NoiseReduction src/laserBack_NoiseReduction.cpp)
target_link_libraries(laserBack_NoiseReduction ${catkin_LIBRARIES})