Skip to content

Commit

Permalink
Remove messages for gui
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Jul 28, 2023
1 parent 4c8ffbf commit bee19a4
Show file tree
Hide file tree
Showing 54 changed files with 17 additions and 2,983 deletions.
16 changes: 12 additions & 4 deletions cmake/gz_msgs_generate.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,17 @@ function(gz_msgs_generate_messages_impl)
list(APPEND ARGS -I${generate_messages_PROTO_PATH})
list(APPEND ARGS --descriptor_set_out="${generate_messages_TARGET}.gz_desc")

foreach(dep ${generate_messages_DEPENDENCIES})
list(APPEND ARGS --descriptor_set_in="${msgs_desc_file}")
endforeach()
if (generate_messages_DEPENDENCIES)
foreach(dep ${generate_messages_DEPENDENCIES})
get_target_property(msgs_desc_file ${dep} GZ_MSGS_DESC_FILE)
if (desc_sets)
set(desc_sets ${desc_sets}:${msgs_desc_file})
else()
set(desc_sets ${msgs_desc_file})
endif()
endforeach()
list(APPEND ARGS --descriptor_set_in="${desc_sets}")
endif()

list(APPEND ARGS ${generate_messages_INPUT_PROTOS})

Expand All @@ -136,7 +144,7 @@ function(gz_msgs_generate_messages_impl)

target_link_libraries(${generate_messages_TARGET} PUBLIC protobuf::libprotobuf ${generate_messages_MSGS_LIB} ${generate_messages_DEPENDENCIES})
target_include_directories(${generate_messages_TARGET} PUBLIC
"$<INSTALL_INTERFACE:include>"
"$<INSTALL_INTERFACE:${GZ_INCLUDE_INSTALL_DIR_FULL}/>"
"$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/${gen_dir}_gen>")

set_property(TARGET ${generate_messages_TARGET} PROPERTY EXPORT_PROPERTIES "GZ_MSGS_DESC_FILE")
Expand Down
2 changes: 2 additions & 0 deletions proto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ set(proto_files
${PROJECT_SOURCE_DIR}/proto/gz/msgs/material.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/pointcloud_packed.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/pose.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/pose_v.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/quaternion.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/spherical_coordinates.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/statistic.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/stringmsg.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/time.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/twist.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/uint32.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/uint32_v.proto
${PROJECT_SOURCE_DIR}/proto/gz/msgs/uint64.proto
Expand Down
45 changes: 0 additions & 45 deletions proto/gz/msgs/air_pressure_sensor.proto

This file was deleted.

41 changes: 0 additions & 41 deletions proto/gz/msgs/altimeter_sensor.proto

This file was deleted.

80 changes: 0 additions & 80 deletions proto/gz/msgs/axis.proto

This file was deleted.

39 changes: 0 additions & 39 deletions proto/gz/msgs/battery.proto

This file was deleted.

36 changes: 0 additions & 36 deletions proto/gz/msgs/boxgeom.proto

This file was deleted.

Loading

0 comments on commit bee19a4

Please sign in to comment.