-
Notifications
You must be signed in to change notification settings - Fork 5
/
CMakeLists.txt
29 lines (22 loc) · 900 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
cmake_minimum_required(VERSION 3.14)
project(ground_filter_shared)
set(CMAKE_CXX_STANDARD 11)
#find_package(catkin REQUIRED COMPONENTS
# pcl_ros
## roscpp
## sensor_msgs
## geometry_msgs
# )
find_package(PCL 1.7 REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
include_directories(
${catkin_INCLUDE_DIRS}
)
link_directories(${PCL_LIBRARY_DIRS})
add_executable(ground_filter ray_ground_filter.cpp config.h config.cpp ground_filter_core.h ground_filter_core.cpp ray_ground_filter.h common.h common.cpp)
#add_library(ground_filter SHARED library.cpp library.h config.h config.cpp ground_filter_core.h ground_filter_core.cpp)
#add_library(ground_filter SHARED ray_ground_filter.cpp config.h config.cpp ground_filter_core.h ground_filter_core.cpp)
#add_library(test SHARED test.cpp)
target_link_libraries(ground_filter
${PCL_LIBRARIES}
)