forked from prabinrath/dynamicslamtool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
44 lines (35 loc) · 1.09 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
cmake_minimum_required(VERSION 2.8.3)
project(dynamic_slam_tool)
add_definitions(-std=c++0x)
find_package(catkin REQUIRED COMPONENTS
pcl_conversions
pcl_ros
roscpp
sensor_msgs
nav_msgs
geometry_msgs
message_filters
visualization_msgs
tf
std_msgs
)
find_package( OpenCV REQUIRED )
include_directories( ${OpenCV_INCLUDE_DIRS} )
catkin_package()
###########
## Build ##
###########
include_directories(
include
${catkin_INCLUDE_DIRS}
${OpenCV_LIBRARIES}
${PCL_INCLUDE_DIRS}
)
add_library(dst_lib src/MovingObjectRemoval.cpp include/MOR/MovingObjectRemoval.h include/MOR/IncludeAll.h)
target_link_libraries(dst_lib ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
add_executable(mov_i src/internal_sync_test.cpp src/component_clustering.cpp src/DBSCAN_clustering.cpp)
target_link_libraries(mov_i dst_lib)
add_executable(mov_e src/external_sync_test.cpp src/component_clustering.cpp src/DBSCAN_clustering.cpp)
target_link_libraries(mov_e dst_lib)
add_executable(mov_e2 src/external_sync_test2.cpp src/component_clustering.cpp src/DBSCAN_clustering.cpp)
target_link_libraries(mov_e2 dst_lib)