-
Notifications
You must be signed in to change notification settings - Fork 22
/
CMakeLists.txt
41 lines (32 loc) · 1.01 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
cmake_minimum_required(VERSION 3.10)
project(gps_imu_fusion)
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_CXX_STANDARD 11)
set(ALL_TARGET_LIBRARIES "")
include(cmake/eigen.cmake)
include(cmake/YAML.cmake)
include(cmake/global_defination.cmake)
include_directories(${PROJECT_SOURCE_DIR}/3rd/GeographicLib/include/)
include_directories(${PROJECT_SOURCE_DIR}/include)
add_library(DEPS SHARED
src/eskf.cpp
src/eskf_qk.cpp
src/ekf.cpp
src/gps_flow.cpp
src/imu_flow.cpp
src/filter_flow.cpp
src/observability_analysis.cpp
3rd/GeographicLib/src/LocalCartesian.cpp
3rd/GeographicLib/src/Geocentric.cpp
3rd/GeographicLib/src/Math.cpp
)
target_link_libraries(DEPS
${ALL_TARGET_LIBRARIES}
)
add_executable(gps_imu_fusion app/gps_imu_fusion.cpp)
target_link_libraries(gps_imu_fusion DEPS)
################# TEST #################
#add_executable(test_gps test/test_gps.cpp)
# target_link_libraries(test_gps DEPS)
# add_executable(test_imu test/test_imu.cpp)
#target_link_libraries(test_imu DEPS)