352 lines
23 KiB
CMake
352 lines
23 KiB
CMake
# Generated by CMake
|
|
|
|
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
|
message(FATAL_ERROR "CMake >= 2.8.0 required")
|
|
endif()
|
|
if(CMAKE_VERSION VERSION_LESS "3.0.0")
|
|
message(FATAL_ERROR "CMake >= 3.0.0 required")
|
|
endif()
|
|
cmake_policy(PUSH)
|
|
cmake_policy(VERSION 3.0.0...3.28)
|
|
#----------------------------------------------------------------
|
|
# Generated CMake target import file.
|
|
#----------------------------------------------------------------
|
|
|
|
# Commands may need to know the format version.
|
|
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
|
|
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
|
set(_cmake_targets_defined "")
|
|
set(_cmake_targets_not_defined "")
|
|
set(_cmake_expected_targets "")
|
|
foreach(_cmake_expected_target IN ITEMS aimrt::common::util aimrt::interface::aimrt_module_c_interface aimrt::interface::aimrt_module_cpp_interface aimrt::interface::aimrt_pkg_c_interface aimrt::interface::aimrt_type_support_pkg_c_interface aimrt::interface::aimrt_module_protobuf_interface aimrt::interface::aimrt_core_plugin_interface aimrt::runtime::core aimrt::runtime::main aimrt::tools::protoc_plugin_cpp_gen_aimrt_cpp_rpc aimrt::protocols::common_pb_gencode aimrt::protocols::sensor_pb_gencode)
|
|
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
|
if(TARGET "${_cmake_expected_target}")
|
|
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
|
else()
|
|
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
|
endif()
|
|
endforeach()
|
|
unset(_cmake_expected_target)
|
|
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
|
unset(_cmake_targets_defined)
|
|
unset(_cmake_targets_not_defined)
|
|
unset(_cmake_expected_targets)
|
|
unset(CMAKE_IMPORT_FILE_VERSION)
|
|
cmake_policy(POP)
|
|
return()
|
|
endif()
|
|
if(NOT _cmake_targets_defined STREQUAL "")
|
|
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
|
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
|
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
|
endif()
|
|
unset(_cmake_targets_defined)
|
|
unset(_cmake_targets_not_defined)
|
|
unset(_cmake_expected_targets)
|
|
|
|
|
|
# Compute the installation prefix relative to this file.
|
|
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
|
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
|
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
|
if(_IMPORT_PREFIX STREQUAL "/")
|
|
set(_IMPORT_PREFIX "")
|
|
endif()
|
|
|
|
# Create imported target aimrt::common::util
|
|
add_library(aimrt::common::util INTERFACE IMPORTED)
|
|
|
|
set_target_properties(aimrt::common::util PROPERTIES
|
|
INTERFACE_COMPILE_DEFINITIONS "AIMRT_USE_FMT_LIB"
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt"
|
|
INTERFACE_LINK_LIBRARIES "fmt::fmt-header-only"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::common::util
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt/util"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt/util/block_queue.h" "${_IMPORT_PREFIX}/include/aimrt/util/buffer_util.h" "${_IMPORT_PREFIX}/include/aimrt/util/deferred.h" "${_IMPORT_PREFIX}/include/aimrt/util/exception.h" "${_IMPORT_PREFIX}/include/aimrt/util/format.h" "${_IMPORT_PREFIX}/include/aimrt/util/light_signal.h" "${_IMPORT_PREFIX}/include/aimrt/util/log_util.h" "${_IMPORT_PREFIX}/include/aimrt/util/same_arg_trait.h" "${_IMPORT_PREFIX}/include/aimrt/util/stl_tool.h" "${_IMPORT_PREFIX}/include/aimrt/util/string_util.h" "${_IMPORT_PREFIX}/include/aimrt/util/time_util.h" "${_IMPORT_PREFIX}/include/aimrt/util/url_encode.h" "${_IMPORT_PREFIX}/include/aimrt/util/url_parser.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::common::util
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt/util"
|
|
)
|
|
endif()
|
|
|
|
# Create imported target aimrt::interface::aimrt_module_c_interface
|
|
add_library(aimrt::interface::aimrt_module_c_interface INTERFACE IMPORTED)
|
|
|
|
set_target_properties(aimrt::interface::aimrt_module_c_interface PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::interface::aimrt_module_c_interface
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/core_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/module_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/allocator/allocator_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/channel/channel_context_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/channel/channel_handle_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/configurator/configurator_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/executor/executor_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/executor/executor_manager_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/logger/logger_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/parameter/parameter_handle_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/rpc/rpc_context_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/rpc/rpc_handle_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/rpc/rpc_status_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/util/buffer_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/util/function_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/util/string.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface/util/type_support_base.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::interface::aimrt_module_c_interface
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt/aimrt_module_c_interface"
|
|
)
|
|
endif()
|
|
|
|
# Create imported target aimrt::interface::aimrt_module_cpp_interface
|
|
add_library(aimrt::interface::aimrt_module_cpp_interface INTERFACE IMPORTED)
|
|
|
|
set_target_properties(aimrt::interface::aimrt_module_cpp_interface PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt"
|
|
INTERFACE_LINK_LIBRARIES "aimrt::common::util;aimrt::interface::aimrt_module_c_interface;unifex::unifex"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::interface::aimrt_module_cpp_interface
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/core.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/module_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/allocator/allocator.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/channel/channel_context.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/channel/channel_handle.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/co/aimrt_context.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/co/async_scope.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/co/inline_scheduler.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/co/on.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/co/schedule.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/co/start_detached.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/co/sync_wait.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/co/task.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/co/then.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/configurator/configurator.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/executor/executor.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/executor/executor_manager.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/executor/timer.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/logger/logger.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/parameter/parameter_handle.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/rpc/rpc_co_filter.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/rpc/rpc_context.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/rpc/rpc_handle.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/rpc/rpc_status.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/util/buffer.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/util/function.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/util/simple_buffer_array_allocator.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/util/string.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface/util/type_support.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::interface::aimrt_module_cpp_interface
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt/aimrt_module_cpp_interface"
|
|
)
|
|
endif()
|
|
|
|
# Create imported target aimrt::interface::aimrt_pkg_c_interface
|
|
add_library(aimrt::interface::aimrt_pkg_c_interface INTERFACE IMPORTED)
|
|
|
|
set_target_properties(aimrt::interface::aimrt_pkg_c_interface PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt"
|
|
INTERFACE_LINK_LIBRARIES "aimrt::interface::aimrt_module_c_interface"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::interface::aimrt_pkg_c_interface
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt/aimrt_pkg_c_interface"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt/aimrt_pkg_c_interface/pkg_export.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_pkg_c_interface/pkg_macro.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_pkg_c_interface/pkg_main.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::interface::aimrt_pkg_c_interface
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt/aimrt_pkg_c_interface"
|
|
)
|
|
endif()
|
|
|
|
# Create imported target aimrt::interface::aimrt_type_support_pkg_c_interface
|
|
add_library(aimrt::interface::aimrt_type_support_pkg_c_interface INTERFACE IMPORTED)
|
|
|
|
set_target_properties(aimrt::interface::aimrt_type_support_pkg_c_interface PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt"
|
|
INTERFACE_LINK_LIBRARIES "aimrt::interface::aimrt_module_c_interface"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::interface::aimrt_type_support_pkg_c_interface
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt/aimrt_type_support_pkg_c_interface"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt/aimrt_type_support_pkg_c_interface/type_support_pkg_export.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_type_support_pkg_c_interface/type_support_pkg_main.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::interface::aimrt_type_support_pkg_c_interface
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt/aimrt_type_support_pkg_c_interface"
|
|
)
|
|
endif()
|
|
|
|
# Create imported target aimrt::interface::aimrt_module_protobuf_interface
|
|
add_library(aimrt::interface::aimrt_module_protobuf_interface INTERFACE IMPORTED)
|
|
|
|
set_target_properties(aimrt::interface::aimrt_module_protobuf_interface PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt"
|
|
INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf;aimrt::interface::aimrt_module_cpp_interface"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::interface::aimrt_module_protobuf_interface
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_protobuf_interface"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_protobuf_interface/channel/protobuf_channel.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_protobuf_interface/util/protobuf_tools.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_protobuf_interface/util/protobuf_type_support.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_module_protobuf_interface/util/protobuf_zero_copy_stream.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::interface::aimrt_module_protobuf_interface
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt/aimrt_module_protobuf_interface"
|
|
)
|
|
endif()
|
|
|
|
# Create imported target aimrt::interface::aimrt_core_plugin_interface
|
|
add_library(aimrt::interface::aimrt_core_plugin_interface INTERFACE IMPORTED)
|
|
|
|
set_target_properties(aimrt::interface::aimrt_core_plugin_interface PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::interface::aimrt_core_plugin_interface
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt/aimrt_core_plugin_interface"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt/aimrt_core_plugin_interface/aimrt_core_plugin_base.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_core_plugin_interface/aimrt_core_plugin_export.h" "${_IMPORT_PREFIX}/include/aimrt/aimrt_core_plugin_interface/aimrt_core_plugin_main.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::interface::aimrt_core_plugin_interface
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt/aimrt_core_plugin_interface"
|
|
)
|
|
endif()
|
|
|
|
# Create imported target aimrt::runtime::core
|
|
add_library(aimrt::runtime::core STATIC IMPORTED)
|
|
|
|
set_target_properties(aimrt::runtime::core PROPERTIES
|
|
INTERFACE_COMPILE_DEFINITIONS "AIMRT_VERSION=\"0.9.0\""
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt"
|
|
INTERFACE_LINK_LIBRARIES "asio::asio;yaml-cpp::yaml-cpp;TBB::tbb;aimrt::interface::aimrt_module_cpp_interface;aimrt::interface::aimrt_core_plugin_interface;aimrt::common::util"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::runtime::core
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt/core"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt/core/aimrt_core.h" "${_IMPORT_PREFIX}/include/aimrt/core/allocator/allocator_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/allocator/allocator_proxy.h" "${_IMPORT_PREFIX}/include/aimrt/core/channel/channel_backend_base.h" "${_IMPORT_PREFIX}/include/aimrt/core/channel/channel_backend_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/channel/channel_backend_tools.h" "${_IMPORT_PREFIX}/include/aimrt/core/channel/channel_framework_async_filter.h" "${_IMPORT_PREFIX}/include/aimrt/core/channel/channel_handle_proxy.h" "${_IMPORT_PREFIX}/include/aimrt/core/channel/channel_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/channel/channel_msg_wrapper.h" "${_IMPORT_PREFIX}/include/aimrt/core/channel/channel_registry.h" "${_IMPORT_PREFIX}/include/aimrt/core/channel/local_channel_backend.h" "${_IMPORT_PREFIX}/include/aimrt/core/configurator/configurator_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/configurator/configurator_proxy.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/asio_strand_executor.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/asio_thread_executor.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/executor_base.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/executor_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/executor_proxy.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/guard_thread_executor.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/main_thread_executor.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/simple_thread_executor.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/tbb_thread_executor.h" "${_IMPORT_PREFIX}/include/aimrt/core/executor/time_wheel_executor.h" "${_IMPORT_PREFIX}/include/aimrt/core/logger/console_logger_backend.h" "${_IMPORT_PREFIX}/include/aimrt/core/logger/formatter.h" "${_IMPORT_PREFIX}/include/aimrt/core/logger/log_data_wrapper.h" "${_IMPORT_PREFIX}/include/aimrt/core/logger/log_level_tool.h" "${_IMPORT_PREFIX}/include/aimrt/core/logger/logger_backend_base.h" "${_IMPORT_PREFIX}/include/aimrt/core/logger/logger_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/logger/logger_proxy.h" "${_IMPORT_PREFIX}/include/aimrt/core/logger/os.h" "${_IMPORT_PREFIX}/include/aimrt/core/logger/rotate_file_logger_backend.h" "${_IMPORT_PREFIX}/include/aimrt/core/module/core_proxy.h" "${_IMPORT_PREFIX}/include/aimrt/core/module/module_loader.h" "${_IMPORT_PREFIX}/include/aimrt/core/module/module_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/parameter/parameter_handle.h" "${_IMPORT_PREFIX}/include/aimrt/core/parameter/parameter_handle_proxy.h" "${_IMPORT_PREFIX}/include/aimrt/core/parameter/parameter_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/plugin/plugin_loader.h" "${_IMPORT_PREFIX}/include/aimrt/core/plugin/plugin_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/rpc/local_rpc_backend.h" "${_IMPORT_PREFIX}/include/aimrt/core/rpc/rpc_backend_base.h" "${_IMPORT_PREFIX}/include/aimrt/core/rpc/rpc_backend_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/rpc/rpc_backend_tools.h" "${_IMPORT_PREFIX}/include/aimrt/core/rpc/rpc_framework_async_filter.h" "${_IMPORT_PREFIX}/include/aimrt/core/rpc/rpc_handle_proxy.h" "${_IMPORT_PREFIX}/include/aimrt/core/rpc/rpc_invoke_wrapper.h" "${_IMPORT_PREFIX}/include/aimrt/core/rpc/rpc_manager.h" "${_IMPORT_PREFIX}/include/aimrt/core/rpc/rpc_registry.h" "${_IMPORT_PREFIX}/include/aimrt/core/util/dynamic_lib.h" "${_IMPORT_PREFIX}/include/aimrt/core/util/module_detail_info.h" "${_IMPORT_PREFIX}/include/aimrt/core/util/rpc_client_tool.h" "${_IMPORT_PREFIX}/include/aimrt/core/util/thread_tools.h" "${_IMPORT_PREFIX}/include/aimrt/core/util/topic_meta_key.h" "${_IMPORT_PREFIX}/include/aimrt/core/util/type_support_pkg_loader.h" "${_IMPORT_PREFIX}/include/aimrt/core/util/version.h" "${_IMPORT_PREFIX}/include/aimrt/core/util/yaml_tools.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::runtime::core
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt/core"
|
|
)
|
|
endif()
|
|
|
|
# Create imported target aimrt::runtime::main
|
|
add_executable(aimrt::runtime::main IMPORTED)
|
|
|
|
# Create imported target aimrt::tools::protoc_plugin_cpp_gen_aimrt_cpp_rpc
|
|
add_executable(aimrt::tools::protoc_plugin_cpp_gen_aimrt_cpp_rpc IMPORTED)
|
|
|
|
# Create imported target aimrt::protocols::common_pb_gencode
|
|
add_library(aimrt::protocols::common_pb_gencode STATIC IMPORTED)
|
|
|
|
set_target_properties(aimrt::protocols::common_pb_gencode PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt_protocols_common_pb_gencode"
|
|
INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::protocols::common_pb_gencode
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt_protocols_common_pb_gencode"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt_protocols_common_pb_gencode/error.pb.h" "${_IMPORT_PREFIX}/include/aimrt_protocols_common_pb_gencode/header.pb.h" "${_IMPORT_PREFIX}/include/aimrt_protocols_common_pb_gencode/module.pb.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::protocols::common_pb_gencode
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt_protocols_common_pb_gencode"
|
|
)
|
|
endif()
|
|
|
|
# Create imported target aimrt::protocols::sensor_pb_gencode
|
|
add_library(aimrt::protocols::sensor_pb_gencode STATIC IMPORTED)
|
|
|
|
set_target_properties(aimrt::protocols::sensor_pb_gencode PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/aimrt_protocols_sensor_pb_gencode"
|
|
INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf;aimrt::protocols::common_pb_gencode"
|
|
)
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
target_sources(aimrt::protocols::sensor_pb_gencode
|
|
INTERFACE
|
|
FILE_SET "HEADERS"
|
|
TYPE "HEADERS"
|
|
BASE_DIRS "${_IMPORT_PREFIX}/include/aimrt_protocols_sensor_pb_gencode"
|
|
FILES "${_IMPORT_PREFIX}/include/aimrt_protocols_sensor_pb_gencode/image.pb.h"
|
|
)
|
|
else()
|
|
set_property(TARGET aimrt::protocols::sensor_pb_gencode
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
"${_IMPORT_PREFIX}/include/aimrt_protocols_sensor_pb_gencode"
|
|
)
|
|
endif()
|
|
|
|
# Load information for each installed configuration.
|
|
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/aimrt-config-*.cmake")
|
|
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
|
include("${_cmake_config_file}")
|
|
endforeach()
|
|
unset(_cmake_config_file)
|
|
unset(_cmake_config_files)
|
|
|
|
# Cleanup temporary variables.
|
|
set(_IMPORT_PREFIX)
|
|
|
|
# Loop over all imported files and verify that they actually exist
|
|
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
|
if(CMAKE_VERSION VERSION_LESS "3.28"
|
|
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
|
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
|
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
|
if(NOT EXISTS "${_cmake_file}")
|
|
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
|
\"${_cmake_file}\"
|
|
but this file does not exist. Possible reasons include:
|
|
* The file was deleted, renamed, or moved to another location.
|
|
* An install or uninstall procedure did not complete successfully.
|
|
* The installation package was faulty and contained
|
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
|
but not all the files it references.
|
|
")
|
|
endif()
|
|
endforeach()
|
|
endif()
|
|
unset(_cmake_file)
|
|
unset("_cmake_import_check_files_for_${_cmake_target}")
|
|
endforeach()
|
|
unset(_cmake_target)
|
|
unset(_cmake_import_check_targets)
|
|
|
|
# Make sure the targets which have been exported in some other
|
|
# export set exist.
|
|
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
|
foreach(_target "fmt::fmt-header-only" "unifex::unifex" "protobuf::libprotobuf" "asio::asio" "yaml-cpp::yaml-cpp" "TBB::tbb" )
|
|
if(NOT TARGET "${_target}" )
|
|
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
|
|
endif()
|
|
endforeach()
|
|
|
|
if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
|
if(CMAKE_FIND_PACKAGE_NAME)
|
|
set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
|
set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
|
else()
|
|
message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
|
endif()
|
|
endif()
|
|
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
|
|
|
# Commands beyond this point should not need to know the version.
|
|
set(CMAKE_IMPORT_FILE_VERSION)
|
|
cmake_policy(POP)
|