turtlebot3/turtlebot3_bringup/CMakeLists.txt
Will Son d99335b8fe update version info
Signed-off-by: Will Son <willson@robotis.com>
2022-05-26 15:34:10 +09:00

32 lines
1.2 KiB
CMake

################################################################################
# Set minimum required version of cmake, project name and compile options
################################################################################
cmake_minimum_required(VERSION 3.5)
project(turtlebot3_bringup)
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
################################################################################
# Find ament packages and libraries for ament and system dependencies
################################################################################
find_package(ament_cmake REQUIRED)
################################################################################
# Install
################################################################################
install(
DIRECTORY launch param script
DESTINATION share/${PROJECT_NAME}
)
################################################################################
# Macro for ament package
################################################################################
ament_package()