-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCMakeLists.txt
executable file
·48 lines (37 loc) · 1.3 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
cmake_minimum_required(VERSION 2.8.3)
project(apollo_kf_lidar_tracker)
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
pcl_ros
pcl_conversions
)
catkin_package(CATKIN_DEPENDS
sensor_msgs
)
find_package(PCL 1.7 REQUIRED)
###########
## Build ##
###########
include_directories(
nodes/apollo_kf_lidar_track/includes
${catkin_INCLUDE_DIRS}
include
)
SET(CMAKE_CXX_FLAGS "-std=c++11 -O2 -g -Wall ${CMAKE_CXX_FLAGS}")
link_directories(${PCL_LIBRARY_DIRS})
# Apollo KF Tracking Node
add_executable(apollo_kf_lidar_track
nodes/apollo_kf_lidar_track/apollo_kf_lidar_track.cpp
nodes/apollo_kf_lidar_track/ApolloTracker.cpp
nodes/apollo_kf_lidar_track/feature_descriptor.cpp
nodes/apollo_kf_lidar_track/hm_tracker.cpp
nodes/apollo_kf_lidar_track/hungarian_matcher.cpp
nodes/apollo_kf_lidar_track/kalman_filter.cpp
nodes/apollo_kf_lidar_track/object_track.cpp
nodes/apollo_kf_lidar_track/track_object_distance.cpp
nodes/apollo_kf_lidar_track/tracked_object.cpp
)
target_include_directories(apollo_kf_lidar_track PRIVATE nodes/apollo_kf_lidar_track/includes)
target_link_libraries(apollo_kf_lidar_track ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_dependencies(apollo_kf_lidar_track ${catkin_EXPORTED_TARGETS})