-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathCMakeLists.txt
53 lines (47 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
43
44
45
46
47
48
49
50
51
cmake_minimum_required(VERSION 2.8.3)
project(ai_robot_lcsfl)
add_definitions(-DBOOST_NO_CXX11_VARIADIC_TEMPLATES)
find_package(catkin REQUIRED COMPONENTS
roscpp
geometry_msgs
sensor_fusion_comm
msf_core
msf_updates
cv_bridge
sensor_msgs
)
find_package(OpenCV REQUIRED)
find_package(Eigen3 REQUIRED)
include_directories("/usr/include/eigen3")
include_directories(
${catkin_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIR}
# src
include
# cfg
)
#message("$$$$$$$$$" ${include_directories})
generate_dynamic_reconfigure_options(
cfg/SinglePoseSensor.cfg
)
catkin_package(
CATKIN_DEPENDS
roscpp
geometry_msgs
sensor_fusion_comm
msf_core
msf_updates
sensor_msgs
LIBRARIES
pose_distorter
)
add_executable(read_node src/read_dataset/main.cpp)
add_executable(lcsfl_node src/position_pose_msf/main.cpp)
target_link_libraries(lcsfl_node
${catkin_LIBRARIES}
)
target_link_libraries(read_node
${catkin_LIBRARIES}
${OpenCV_LIBS}
)
add_dependencies(lcsfl_node ${${PROJECT_NAME}_EXPORTED_TARGETS})