cmake_minimum_required(VERSION 3.5) project(integration_launch_testing) # Default to C++17 if(NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-Wall -Wextra -Wpedantic) endif() # find dependencies find_package(ament_cmake REQUIRED) install( DIRECTORY test DESTINATION share/${PROJECT_NAME} ) if(BUILD_TESTING) find_package(ament_cmake_copyright REQUIRED) find_package(ament_cmake_flake8 REQUIRED) find_package(ament_cmake_lint_cmake REQUIRED) find_package(ament_cmake_pep257 REQUIRED) find_package(ament_cmake_xmllint REQUIRED) find_package(launch_testing_ament_cmake) ament_copyright(package.xml) ament_lint_cmake(CMakeLists.txt) ament_flake8() ament_pep257() ament_xmllint() endif() ament_export_libraries( ${PROJECT_NAME} ) ament_package()