common_msgs/CMakeLists.txt
2025-12-30 09:56:21 +07:00

28 lines
725 B
CMake

cmake_minimum_required(VERSION 3.10)
project(common_msgs)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_subdirectory(utils)
if (NOT TARGET robot_std_msgs)
add_subdirectory(robot_std_msgs)
endif()
if (NOT TARGET robot_geometry_msgs)
add_subdirectory(robot_geometry_msgs)
endif()
if (NOT TARGET robot_sensor_msgs)
add_subdirectory(robot_sensor_msgs)
endif()
if (NOT TARGET robot_nav_msgs)
add_subdirectory(robot_nav_msgs)
endif()
if(NOT TARGET robot_map_msgs)
add_subdirectory(robot_map_msgs)
endif()
if(NOT TARGET robot_visualization_msgs)
add_subdirectory(robot_visualization_msgs)
endif()
if(NOT TARGET robot_protocol_msgs)
add_subdirectory(robot_protocol_msgs)
endif()