-
Notifications
You must be signed in to change notification settings - Fork 165
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
31 lines (23 loc) · 872 Bytes
/
CMakeLists.txt
File metadata and controls
31 lines (23 loc) · 872 Bytes
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
cmake_minimum_required(VERSION 3.16.3)
project(polygon_coverage_benchmark)
find_package(catkin REQUIRED COMPONENTS
rosconsole
roslib
polygon_coverage_msgs
polygon_coverage_geometry
polygon_coverage_planners
polygon_coverage_solvers
)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_BUILD_TYPE Release)
find_package(CGAL QUIET COMPONENTS Core)
include(${CGAL_USE_FILE})
find_package(yaml-cpp REQUIRED)
catkin_package()
include_directories(include ${CGAL_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
${YAML_INCLUDE_DIRS})
add_executable(test_benchmark test/benchmark-test.cpp)
target_link_libraries(test_benchmark ${CGAL_LIBRARIES} ${YAML_CPP_LIBRARIES} ${catkin_LIBRARIES})
catkin_python_setup()