forked from ori-drs/vo_estimate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
39 lines (28 loc) · 1.29 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
cmake_minimum_required(VERSION 2.6.0)
# pull in the pods macros. See cmake/pods.cmake for documentation
set(POD_NAME motion_estimate)
include(cmake/pods.cmake)
# automatically build LCM types. This also defines a number of CMake
# variables, see cmake/lcmtypes.cmake for details
include(cmake/lcmtypes.cmake)
lcmtypes_build()
add_subdirectory(src/voconfig)
add_subdirectory(src/vofeatures)
add_subdirectory(src/voestimator)
add_subdirectory(src/fovision)
add_subdirectory(src/vis-loop-closure)
add_subdirectory(src/motion_estimate_ypr_only)
add_subdirectory(src/blacken_image)
add_subdirectory(src/tools)
add_subdirectory(src/vins_writer)
pods_install_python_script(spoof-driving-posture scripts/spoof_driving_posture.py)
# Unit Testing
include(CTest)
set(test_data_dir ${CMAKE_SOURCE_DIR}/../../../../drc-testing-data) # using ~/ probably won't work, instead define it relative to the project dir
add_test(NAME test_testSimpleVo
COMMAND se-simple-vo -L ${test_data_dir}/state_est/run1_field_camera_snippet.lcmlog -P atlas/robot.cfg -p)
# Unit Testing
#include(CTest)
#set(test_data_dir ${CMAKE_SOURCE_DIR}/../../../../drc-testing-data) # using ~/ probably won't work, instead define it relative to the project dir
add_test(NAME test_testSimpleIsamDemo
COMMAND se-simple-isam-demo)