Files
qt6-migration-pipeline/external/rti_connext_dds-7.7.0/resource/cmake/ConnextDdsArgumentChecks.cmake
T
torstenandCopilot 342ffd3e5c Update submodule to latest BUILD_RTI fixes
- HandlerMinelayerData: BUILD_RTI Guards für RTI-Abhängigkeiten
- svcTabCommon: Export-Header-Fix via Fallback-Target
- TrainingAreaBase: Stub-Header für BUILD_RTI=OFF
- ddsfts: Include-Pfad und Dependency-Fixes
- BUILD_RTI=OFF Compilation vollständig unterstützt

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Entire-Checkpoint: 01M0JNZA586SACX1PRZ2DJAE5S
2026-08-21 19:30:20 +02:00

33 lines
958 B
CMake

# (c) 2017 Copyright, Real-Time Innovations, Inc. All rights reserved.
# No duplications, whole or partial, manual or electronic, may be made
# without express written permission. Any such copies, or revisions thereof,
# must display this notice unaltered.
# This code contains trade secrets of Real-Time Innovations, Inc.
#[[.rst:
.. _connextdds_argument_checks:
ConnextDdsArgumentChecks
------------------------
Function helpers to check function arguments
``connextdds_check_required_arguments``
Checks that all of the arguments are present and defined
#]]
function(connextdds_check_required_arguments)
foreach(arg ${ARGN})
if(NOT ${arg})
connextdds_log_message(FATAL_ERROR "Argument ${arg} is missing")
endif()
endforeach()
endfunction()
macro(connextdds_check_no_extra_arguments)
if(ARGN)
connextdds_log_message(FATAL_ERROR "Function has more arguments than expected")
endif()
endmacro()