-
Notifications
You must be signed in to change notification settings - Fork 26
/
CMakeLists.txt
43 lines (34 loc) · 1.03 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
project(ekf_gps_imu)
cmake_minimum_required(VERSION 2.8)
#set(GCC_COMPILATION_FLAGS "-DLINUX")
#set(CMAKE_CXX_FLAGS "${GCC_COMPILATION_FLAGS}")
set(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
${CMAKE_HOME_DIRECTORY}/bin
)
set(
CMAKE_LIBRARY_OUTPUT_DIRECTORY
${CMAKE_HOME_DIRECTORY}/lib
)
set(CMAKE_MODULE_PATH "${CMAKE_HOME_DIRECTORY}/modules")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
find_package(Eigen3 REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIR})
message("${CMAKE_MODULE_PATH}")
message("${EIGEN3_INCLUDE_DIR}")
find_package(Boost 1.40 COMPONENTS system REQUIRED)
link_directories(
/usr/local/lib
/usr/lib
/lib
${CMAKE_HOME_DIRECTORY}/lib
)
include_directories(
/usr/include/
${CMAKE_HOME_DIRECTORY}/ekf_nav_ins/inc
${CMAKE_HOME_DIRECTORY}/Ublox_Linux_Library/inc
${CMAKE_HOME_DIRECTORY}/Ublox_Linux_Library/SparkFun_u-blox_GNSS_Arduino_Library/src
)
add_subdirectory(Ublox_Linux_Library/linux_build)
add_subdirectory(ekf_nav_ins)
add_subdirectory(ekf_test)