Initial commit

This commit is contained in:
CaiXiang
2024-10-25 14:21:27 +08:00
commit 314bf9ad25
2041 changed files with 272126 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# generated from rosidl_cmake/cmake/rosidl_cmake-extras.cmake.in
set(tutorial_interfaces_IDL_FILES "msg/Num.idl;msg/Sphere.idl;srv/AddThreeInts.idl")
set(tutorial_interfaces_INTERFACE_FILES "msg/Num.msg;msg/Sphere.msg;srv/AddThreeInts.srv")

View File

@@ -0,0 +1,49 @@
# generated from
# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_libraries.cmake.in
set(_exported_typesupport_libraries
"__rosidl_typesupport_fastrtps_c:tutorial_interfaces__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_fastrtps_cpp:tutorial_interfaces__rosidl_typesupport_fastrtps_cpp")
# populate tutorial_interfaces_LIBRARIES_<suffix>
if(NOT _exported_typesupport_libraries STREQUAL "")
# loop over typesupport libraries
foreach(_tuple ${_exported_typesupport_libraries})
string(REPLACE ":" ";" _tuple "${_tuple}")
list(GET _tuple 0 _suffix)
list(GET _tuple 1 _library)
if(NOT IS_ABSOLUTE "${_library}")
# search for library target relative to this CMake file
set(_lib "NOTFOUND")
find_library(
_lib NAMES "${_library}"
PATHS "${tutorial_interfaces_DIR}/../../../lib"
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
)
if(NOT _lib)
# the library wasn't found
message(FATAL_ERROR
"Package 'tutorial_interfaces' exports the typesupport library '${_library}' which couldn't be found")
elseif(NOT IS_ABSOLUTE "${_lib}")
# the found library must be an absolute path
message(FATAL_ERROR
"Package 'tutorial_interfaces' found the typesupport library '${_library}' at '${_lib}' "
"which is not an absolute path")
elseif(NOT EXISTS "${_lib}")
# the found library must exist
message(FATAL_ERROR "Package 'tutorial_interfaces' found the typesupport library '${_lib}' which doesn't exist")
else()
list(APPEND tutorial_interfaces_LIBRARIES${_suffix} ${_cfg} "${_lib}")
endif()
else()
if(NOT EXISTS "${_library}")
# the found library must exist
message(WARNING "Package 'tutorial_interfaces' exports the typesupport library '${_library}' which doesn't exist")
else()
list(APPEND tutorial_interfaces_LIBRARIES${_suffix} "${_library}")
endif()
endif()
endforeach()
endif()

View File

@@ -0,0 +1,23 @@
# generated from
# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_targets.cmake.in
set(_exported_typesupport_targets
"__rosidl_generator_c:tutorial_interfaces__rosidl_generator_c;__rosidl_typesupport_fastrtps_c:tutorial_interfaces__rosidl_typesupport_fastrtps_c;__rosidl_generator_cpp:tutorial_interfaces__rosidl_generator_cpp;__rosidl_typesupport_fastrtps_cpp:tutorial_interfaces__rosidl_typesupport_fastrtps_cpp;__rosidl_typesupport_introspection_c:tutorial_interfaces__rosidl_typesupport_introspection_c;__rosidl_typesupport_c:tutorial_interfaces__rosidl_typesupport_c;__rosidl_typesupport_introspection_cpp:tutorial_interfaces__rosidl_typesupport_introspection_cpp;__rosidl_typesupport_cpp:tutorial_interfaces__rosidl_typesupport_cpp;:tutorial_interfaces__rosidl_generator_py")
# populate tutorial_interfaces_TARGETS_<suffix>
if(NOT _exported_typesupport_targets STREQUAL "")
# loop over typesupport targets
foreach(_tuple ${_exported_typesupport_targets})
string(REPLACE ":" ";" _tuple "${_tuple}")
list(GET _tuple 0 _suffix)
list(GET _tuple 1 _target)
set(_target "tutorial_interfaces::${_target}")
if(NOT TARGET "${_target}")
# the exported target must exist
message(WARNING "Package 'tutorial_interfaces' exports the typesupport target '${_target}' which doesn't exist")
else()
list(APPEND tutorial_interfaces_TARGETS${_suffix} "${_target}")
endif()
endforeach()
endif()