23 lines
662 B
CMake
23 lines
662 B
CMake
|
cmake_minimum_required(VERSION 3.5)
|
||
|
project(plc_bringup)
|
||
|
|
||
|
find_package(ament_cmake REQUIRED)
|
||
|
find_package(nav2_common REQUIRED)
|
||
|
find_package(navigation2 REQUIRED)
|
||
|
|
||
|
nav2_package()
|
||
|
|
||
|
install(DIRECTORY launch DESTINATION share/${PROJECT_NAME})
|
||
|
install(DIRECTORY maps DESTINATION share/${PROJECT_NAME})
|
||
|
install(DIRECTORY rviz DESTINATION share/${PROJECT_NAME})
|
||
|
install(DIRECTORY worlds DESTINATION share/${PROJECT_NAME})
|
||
|
install(DIRECTORY params DESTINATION share/${PROJECT_NAME})
|
||
|
install(DIRECTORY urdf DESTINATION share/${PROJECT_NAME})
|
||
|
|
||
|
if(BUILD_TESTING)
|
||
|
find_package(ament_lint_auto REQUIRED)
|
||
|
ament_lint_auto_find_test_dependencies()
|
||
|
endif()
|
||
|
|
||
|
ament_package()
|