-
Notifications
You must be signed in to change notification settings - Fork 22
/
CMakeLists.txt
63 lines (51 loc) · 1.2 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
cmake_minimum_required(VERSION 3.10)
project(efficient_online_segmentation)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_BUILD_TYPE "Release")
# set(CMAKE_BUILD_TYPE "Debug")
find_package(catkin REQUIRED COMPONENTS
tf
roscpp
rospy
cv_bridge
image_transport
pcl_ros
pcl_conversions
std_msgs
sensor_msgs
geometry_msgs
nav_msgs
)
find_package(PCL REQUIRED QUIET)
find_package(OpenCV REQUIRED QUIET)
catkin_package(
INCLUDE_DIRS ros_interface
DEPENDS PCL
)
include_directories(
${CMAKE_SOURCE_DIR}
${PROJECT_SOURCE_DIR}
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
)
link_directories(
${OpenCV_LIBRARY_DIRS}
${PCL_LIBRARY_DIRS}
)
##############################################
add_executable(efficient_online_segmentation_node
ros_interface/efficient_online_segmentation_node.cpp
core/efficient_online_segmentation.cpp
core/smart_sector.cpp
core/segmentation_utility.cpp
core/adaptive_ground_plane_estimator.cpp
)
target_link_libraries(efficient_online_segmentation_node
PUBLIC
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${OpenCV_LIBRARIES}
${EIGEN3_LIBRARIES}
${Boost_LIBRARIES}
)