-
Notifications
You must be signed in to change notification settings - Fork 17
/
CMakeLists.txt
59 lines (47 loc) · 1.08 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
cmake_minimum_required(VERSION 2.8.3)
project(lsd_slam_to_pcl)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb -gdwarf-3")
find_package(catkin REQUIRED COMPONENTS
message_generation
message_runtime
pcl_ros
pluginlib
roscpp
std_msgs
)
add_message_files(
FILES
keyframeMsg.msg
)
generate_messages(
DEPENDENCIES
std_msgs
sensor_msgs
)
catkin_package(
INCLUDE_DIRS include
LIBRARIES lsd_slam_to_pcl_nodelet
CATKIN_DEPENDS message_generation message_runtime pcl_ros pluginlib roscpp std_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
include
)
add_library(lsd_slam_to_pcl_nodelet
src/lsd_slam_to_pcl.cpp
src/lsd_slam_to_pcl_nodelet.cpp
)
add_dependencies(lsd_slam_to_pcl_nodelet lsd_slam_to_pcl_gencpp)
target_link_libraries(lsd_slam_to_pcl_nodelet
${catkin_LIBRARIES}
)
install(TARGETS lsd_slam_to_pcl_nodelet
DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
)
install(DIRECTORY plugins
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(DIRECTORY launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)