-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCMakeLists.txt
42 lines (25 loc) · 1.07 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
cmake_minimum_required (VERSION 2.8)
project (proto_app)
find_package(Eigen3 REQUIRED)
find_package(Ceres REQUIRED)
include_directories(
${CERES_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIRS}
)
set( CMAKE_CXX_FLAGS "-fpermissive -std=c++11" )
add_executable( helloDemo hello.cpp )
target_link_libraries( helloDemo )
add_executable( hello-ceres hello-ceres.cpp )
target_link_libraries( hello-ceres ${CERES_LIBRARIES} )
add_executable( line_fitting line_fitting.cpp )
target_link_libraries( line_fitting ${CERES_LIBRARIES} )
add_executable( quadratic_fit quadratic_fit.cpp )
target_link_libraries( quadratic_fit ${CERES_LIBRARIES} )
add_executable( align3d3d align3d3d.cpp )
target_link_libraries( align3d3d ${CERES_LIBRARIES} )
add_executable( align3d2d align3d2d.cpp )
target_link_libraries( align3d2d ${CERES_LIBRARIES} )
add_executable( align3d3d_with_cov align3d3d_with_covariance.cpp )
target_link_libraries( align3d3d_with_cov ${CERES_LIBRARIES} )
add_executable( align_with_mocap align_with_mocap.cpp )
target_link_libraries( align_with_mocap ${CERES_LIBRARIES} )