-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
executable file
·54 lines (41 loc) · 1.26 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
cmake_minimum_required (VERSION 3.12)
# --- Fetch FTXUI --------------------------------------------------------------
include(FetchContent)
FetchContent_Declare(ftxui
GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
GIT_TAG v2.0.0
)
set(FTXUI_BUILD_DOCS OFF)
set(FTXUI_BUILD_EXAMPLES OFF)
set(FTXUI_ENABLE_INSTALL OFF)
FetchContent_GetProperties(ftxui)
if(NOT ftxui_POPULATED)
FetchContent_Populate(ftxui)
add_subdirectory(${ftxui_SOURCE_DIR} ${ftxui_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()
# ------------------------------------------------------------------------------
project(calibration_kit
LANGUAGES CXX
VERSION 0.0.1
)
IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE release)
ENDIF()
add_subdirectory(calibration_algorithm/lidar_camera_calib)
add_subdirectory(calibration_algorithm/camera_calibration)
add_subdirectory(calibration_algorithm/lidar_align)
add_subdirectory(calibration_algorithm/lidar2lidar)
add_executable(calibration_kit
src/main.cpp
src/nonlinear_optimization_demo.cpp
)
target_compile_features(calibration_kit PRIVATE cxx_std_17)
target_link_libraries(calibration_kit PRIVATE
ftxui::screen
ftxui::dom
ftxui::component
lidar_camera_calib
camera_model
lidar_align
lidar2lidar
)