-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
32 lines (27 loc) · 898 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
#====CMake=====#
cmake_minimum_required(VERSION 3.0)
project(lidar_localization_100fps)
#======C++=====#
set(CMAKE_CXX_STANDARD 14)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_definitions(-std=c++14 -g)
#====When multiple PCL exists=======#
#========pcl-1.12 is selected=======#
find_package(PCL 1.12 REQUIRED)
set(PCL_INCLUDE_DIRS /usr/local/include/pcl-1.12)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
#=====OpenCV=====#
find_package(OpenCV 4.2.0)
include_directories(${OpenCV_INCLUDE_DIRS})
link_directories(${OpenCV_LIBRARY_DIRS})
#======Tree lib=====#
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/lib)
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/lib)
#====Subdirectory===#
add_subdirectory(base)
add_subdirectory(extractor)
add_subdirectory(localizer)
add_subdirectory(run)
add_subdirectory(map_process)