CMakeLists.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # Copyright 2016 The Cartographer Authors
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. cmake_minimum_required(VERSION 2.8.3)
  15. project(cartographer_ros_msgs)
  16. set(PACKAGE_DEPENDENCIES
  17. geometry_msgs
  18. std_msgs
  19. )
  20. find_package(catkin REQUIRED COMPONENTS message_generation ${PACKAGE_DEPENDENCIES})
  21. add_message_files(
  22. DIRECTORY msg
  23. FILES
  24. BagfileProgress.msg
  25. HistogramBucket.msg
  26. LandmarkEntry.msg
  27. LandmarkList.msg
  28. MetricFamily.msg
  29. MetricLabel.msg
  30. Metric.msg
  31. StatusCode.msg
  32. StatusResponse.msg
  33. SubmapEntry.msg
  34. SubmapList.msg
  35. SubmapTexture.msg
  36. TrajectoryStates.msg
  37. )
  38. add_service_files(
  39. DIRECTORY srv
  40. FILES
  41. FinishTrajectory.srv
  42. GetTrajectoryStates.srv
  43. ReadMetrics.srv
  44. StartTrajectory.srv
  45. SubmapQuery.srv
  46. TrajectoryQuery.srv
  47. WriteState.srv
  48. )
  49. generate_messages(
  50. DEPENDENCIES
  51. ${PACKAGE_DEPENDENCIES}
  52. )
  53. catkin_package(
  54. CATKIN_DEPENDS
  55. ${PACKAGE_DEPENDENCIES}
  56. message_runtime
  57. )