forked from iralabdisco/kitti_player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
39 lines (29 loc) · 919 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
cmake_minimum_required(VERSION 2.8.3)
project(kitti_player)
#SET (CMAKE_BUILD_TYPE Debug)
#SET (ROS_BUILD_TYPE Debug)
SET (CMAKE_BUILD_TYPE Release)
SET (ROS_BUILD_TYPE Release)
SET (CMAKE_CXX_FLAGS "-O3 -std=c++11")
find_package(catkin REQUIRED COMPONENTS
roscpp
tf
tf2
std_msgs
pcl_ros
geometry_msgs
cv_bridge
image_transport
)
find_package(PCL 1.7 REQUIRED)
generate_dynamic_reconfigure_options(cfg/kitti_player.cfg)
catkin_package(CATKIN_DEPENDS dynamic_reconfigure)
include_directories(
${}
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
)
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
add_executable(kitti_player src/kitti_player.cpp)
target_link_libraries(kitti_player ${catkin_LIBRARIES} ${PCL_LIBRARIES})