-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
38 lines (31 loc) · 1.05 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
cmake_minimum_required(VERSION 2.8.3)
project(bamvo)
find_package(catkin REQUIRED COMPONENTS
cmake_modules
cv_bridge
eigen_conversions
geometry_msgs
image_transport
roscpp
std_msgs
tf
tf_conversions
)
find_package(Boost COMPONENTS system regex timer thread )
find_package(TBB REQUIRED)
find_package(OpenCV REQUIRED)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES bamvo
# CATKIN_DEPENDS cmake_modules cv_bridge eigen_conversions geometry_msgs image_transport roscpp std_msgs tf tf_conversions
# DEPENDS system_lib
)
include_directories(
${catkin_INCLUDE_DIRS}
${TBB_INCLUDE_DIRS}
${Boost_INCLUDE_DIR}
)
add_executable(bamvo_node src/bamvo_node.cpp)
set_target_properties(bamvo_node PROPERTIES COMPILE_FLAGS "${BUILD_FLAGS} -std=c++11 -Ofast -msse -msse2 -msse3 -mavx -march=native -ffast-math -m128bit-long-double")
add_dependencies(bamvo_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(bamvo_node ${catkin_LIBRARIES} ${TBB_LIBRARIES} ${OpenCV_LIBS} ${OpenCV_LIBRARIES} ${Boost_LIBRARIES})