-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
37 lines (31 loc) · 1.08 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
cmake_minimum_required(VERSION 2.8.12)
project(dart-planning)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
#===============================================================================
# Dependencies
#===============================================================================
find_package(DART 6.3 REQUIRED COMPONENTS utils)
find_package(FLANN 1.8.4 REQUIRED)
#===============================================================================
# Library
#===============================================================================
set(headers
dart/planning/Path.hpp
dart/planning/PathFollowingTrajectory.hpp
dart/planning/PathPlanner.hpp
dart/planning/PathShortener.hpp
dart/planning/RRT.hpp
dart/planning/Trajectory.hpp
)
set(sources
dart/planning/Path.cpp
dart/planning/PathFollowingTrajectory.cpp
dart/planning/PathShortener.cpp
dart/planning/RRT.cpp
)
add_library(dart-planning ${headers} ${sources})
target_link_libraries(dart-planning PUBLIC
${DART_LIBRARIES}
${FLANN_LIBRARIES}
)