This commit is contained in:
2025-08-28 16:24:24 +08:00
parent d7d6c00443
commit dff540e2bb
495 changed files with 66690 additions and 319 deletions

View File

@@ -0,0 +1,27 @@
# generated from ament_cmake_export_targets/cmake/ament_cmake_export_targets-extras.cmake.in
set(_exported_targets "export_drone_interfaces__rosidl_generator_c;export_drone_interfaces__rosidl_typesupport_fastrtps_c;drone_interfaces__rosidl_typesupport_introspection_c;drone_interfaces__rosidl_typesupport_c;export_drone_interfaces__rosidl_generator_cpp;export_drone_interfaces__rosidl_typesupport_fastrtps_cpp;drone_interfaces__rosidl_typesupport_introspection_cpp;drone_interfaces__rosidl_typesupport_cpp;export_drone_interfaces__rosidl_generator_py")
# include all exported targets
if(NOT _exported_targets STREQUAL "")
foreach(_target ${_exported_targets})
set(_export_file "${drone_interfaces_DIR}/${_target}Export.cmake")
include("${_export_file}")
# extract the target names associated with the export
set(_regex "foreach\\((_cmake)?_expected_?[Tt]arget (IN ITEMS )?(.+)\\)")
file(
STRINGS "${_export_file}" _foreach_targets
REGEX "${_regex}")
list(LENGTH _foreach_targets _matches)
if(NOT _matches EQUAL 1)
message(FATAL_ERROR
"Failed to find exported target names in '${_export_file}'")
endif()
string(REGEX REPLACE "${_regex}" "\\3" _targets "${_foreach_targets}")
string(REPLACE " " ";" _targets "${_targets}")
list(LENGTH _targets _length)
list(APPEND drone_interfaces_TARGETS ${_targets})
endforeach()
endif()