Files
qt6-migration-pipeline/external/rti_connext_dds-7.7.0/resource/cmake/ConnextDdsArgumentChecks.cmake
T
torsten 77c67c12ca Execute the same instructions but now for tools in folders you are getti
Entire-Metadata: .entire/metadata/fb87247f-2a75-407e-b336-cbc8c20ba5a6
Entire-Session: fb87247f-2a75-407e-b336-cbc8c20ba5a6
Entire-Strategy: manual-commit
2026-09-24 16:24:51 +00: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()