Files
rtabmap_ros/rtabmap_msgs/CMakeLists.txt
T
Lucas Walterandmatlabbe 49cbce4874 build rtabmap_viz with Qt5 on Ubuntu 22.10 (#905)
* build rtabmap_viz with Qt5

* eliminate circular dependency (nothing can depend on rtabmap_ros that rtabmap_ros depends on), and resolve 'Unknown CMake command catkin_package' with catkin build

* more dependency cleanup but can't get rid of rtabmap_demos circular dependency on rtabmap_legacy

* Update CMakeLists.txt

---------

Co-authored-by: matlabbe <[email protected]>
2023-03-05 19:00:19 -08:00

80 lines
1.5 KiB
CMake

cmake_minimum_required(VERSION 3.5)
project(rtabmap_msgs)
##################
## Dependencies ##
##################
find_package(catkin REQUIRED COMPONENTS
message_generation std_msgs std_srvs geometry_msgs sensor_msgs genmsg
)
#######################################
## Declare ROS messages and services ##
#######################################
## Generate messages in the 'msg' folder
add_message_files(
FILES
Info.msg
KeyPoint.msg
GlobalDescriptor.msg
ScanDescriptor.msg
MapData.msg
MapGraph.msg
NodeData.msg
Link.msg
OdomInfo.msg
Point2f.msg
Point3f.msg
Goal.msg
RGBDImage.msg
RGBDImages.msg
UserData.msg
GPS.msg
Path.msg
EnvSensor.msg
CameraModel.msg
CameraModels.msg
)
## Generate services in the 'srv' folder
add_service_files(
FILES
GetMap.srv
GetMap2.srv
ListLabels.srv
PublishMap.srv
ResetPose.srv
SetGoal.srv
SetLabel.srv
RemoveLabel.srv
GetPlan.srv
AddLink.srv
GetNodeData.srv
GetNodesInRadius.srv
LoadDatabase.srv
DetectMoreLoopClosures.srv
GlobalBundleAdjustment.srv
CleanupLocalGrids.srv
)
## Generate added messages and services with any dependencies listed here
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
sensor_msgs
)
###################################
## catkin specific configuration ##
###################################
catkin_package(
CATKIN_DEPENDS message_runtime std_msgs std_srvs geometry_msgs sensor_msgs
)
###########
## Build ##
###########