-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
39 lines (28 loc) · 981 Bytes
/
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
cmake_minimum_required(VERSION 3.0.2)
project(dual_chaser)
add_compile_options(-std=c++14)
set(CMAKE_BUILD_TYPE release)
find_package(Eigen3 REQUIRED NO_MODULE)
find_package(catkin REQUIRED roscpp octomap_ros octomap_server pcl_ros tf
chasing_utils dual_chaser_msgs )
find_package(TrajGen REQUIRED)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
message( "cmake module path : ${CMAKE_MODULE_PATH}")
catkin_package(
INCLUDE_DIRS include
LIBRARIES dual_chaser
# CATKIN_DEPENDS chasing_utils
# DEPENDS system_lib
)
###########
## Build ##
###########
## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(
include
${catkin_INCLUDE_DIRS}
)
add_executable(preplanner_node exe/PreplannerNode.cpp src/Preplanner.cpp src/Wrapper.cpp
src/ScoreField.cpp src/GraphUtils.cpp)
target_link_libraries(preplanner_node ${catkin_LIBRARIES} traj_gen)