CMakeLists.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. cmake_minimum_required(VERSION 3.8)
  2. project(interfaces)
  3. if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  4. add_compile_options(-Wall -Wextra -Wpedantic)
  5. endif()
  6. # find dependencies
  7. find_package(ament_cmake REQUIRED)
  8. # uncomment the following section in order to fill in
  9. # further dependencies manually.
  10. # find_package(<dependency> REQUIRED)
  11. find_package(rosidl_default_generators REQUIRED)
  12. rosidl_generate_interfaces(${PROJECT_NAME}
  13. "action/Rot.action"
  14. "srv/Qwen25.srv"
  15. "srv/Audio.srv"
  16. "srv/Vision.srv"
  17. "srv/LargeScaleModel.srv"
  18. "srv/Audio2.srv"
  19. )
  20. if(BUILD_TESTING)
  21. find_package(ament_lint_auto REQUIRED)
  22. # the following line skips the linter which checks for copyrights
  23. # comment the line when a copyright and license is added to all source files
  24. set(ament_cmake_copyright_FOUND TRUE)
  25. # the following line skips cpplint (only works in a git repo)
  26. # comment the line when this package is in a git repo and when
  27. # a copyright and license is added to all source files
  28. set(ament_cmake_cpplint_FOUND TRUE)
  29. ament_lint_auto_find_test_dependencies()
  30. endif()
  31. ament_package()