You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. cmake_minimum_required(VERSION 3.5)
  2. project(aruco_interfaces)
  3. # Default to C99
  4. if(NOT CMAKE_C_STANDARD)
  5. set(CMAKE_C_STANDARD 99)
  6. endif()
  7. # Default to C++14
  8. if(NOT CMAKE_CXX_STANDARD)
  9. set(CMAKE_CXX_STANDARD 14)
  10. endif()
  11. if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  12. add_compile_options(-Wall -Wextra -Wpedantic)
  13. endif()
  14. # find dependencies
  15. find_package(ament_cmake REQUIRED)
  16. find_package(geometry_msgs REQUIRED)
  17. find_package(std_msgs REQUIRED)
  18. find_package(rosidl_default_generators REQUIRED)
  19. # uncomment the following section in order to fill in
  20. # further dependencies manually.
  21. # find_package(<dependency> REQUIRED)
  22. rosidl_generate_interfaces(${PROJECT_NAME}
  23. "msg/ArucoMarkerPose.msg"
  24. DEPENDENCIES geometry_msgs
  25. DEPENDENCIES std_msgs
  26. )
  27. if(BUILD_TESTING)
  28. find_package(ament_lint_auto REQUIRED)
  29. # the following line skips the linter which checks for copyrights
  30. # uncomment the line when a copyright and license is not present in all source files
  31. #set(ament_cmake_copyright_FOUND TRUE)
  32. # the following line skips cpplint (only works in a git repo)
  33. # uncomment the line when this package is not in a git repo
  34. #set(ament_cmake_cpplint_FOUND TRUE)
  35. ament_lint_auto_find_test_dependencies()
  36. endif()
  37. ament_package()