From 6de3bd6333fd48f992d74dc41f2e09c654d1db9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20R=C3=B6hling?= Date: Sun, 2 Jul 2023 19:51:09 +0200 Subject: [PATCH] New upstream version 3.27.0~rc4 --- .clang-tidy | 1 + Auxiliary/cmake-mode.el | 4 +- Auxiliary/vim/syntax/cmake.vim | 13 + CMakeLists.txt | 27 +- CompileFlags.cmake | 15 +- Help/command/FIND_XXX.txt | 58 +- Help/command/UNSET_NOTE.txt | 9 + Help/command/add_compile_options.rst | 15 + Help/command/add_custom_command.rst | 32 +- Help/command/add_link_options.rst | 4 + Help/command/add_test.rst | 65 +- Help/command/cmake_file_api.rst | 78 + Help/command/cmake_language.rst | 319 +- Help/command/configure_file.rst | 8 +- Help/command/enable_language.rst | 4 - Help/command/file.rst | 1862 +++++----- Help/command/find_file.rst | 7 + Help/command/find_library.rst | 6 + Help/command/find_package.rst | 46 +- Help/command/find_path.rst | 6 + Help/command/find_program.rst | 5 + Help/command/get_filename_component.rst | 6 +- Help/command/if.rst | 392 +- Help/command/include_directories.rst | 2 +- Help/command/install.rst | 18 + Help/command/list.rst | 380 +- Help/command/math.rst | 3 +- Help/command/project.rst | 3 + Help/command/separate_arguments.rst | 2 +- Help/command/set.rst | 172 +- Help/command/set_property.rst | 8 +- Help/command/set_target_properties.rst | 2 + Help/command/string.rst | 591 ++- Help/command/target_compile_options.rst | 13 + Help/command/target_link_options.rst | 4 + Help/command/target_precompile_headers.rst | 2 +- Help/command/target_sources.rst | 32 +- Help/command/unset.rst | 11 +- Help/cpack_gen/innosetup.rst | 420 +++ Help/cpack_gen/nuget.rst | 4 +- Help/cpack_gen/wix.rst | 4 +- Help/dev/documentation.rst | 215 +- Help/dev/experimental.rst | 9 +- Help/envvar/CMAKE_APPBUNDLE_PATH.rst | 14 + Help/envvar/CMAKE_FRAMEWORK_PATH.rst | 15 + Help/envvar/CMAKE_INCLUDE_PATH.rst | 13 + ...LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.rst | 13 + Help/envvar/CMAKE_LIBRARY_PATH.rst | 13 + Help/envvar/CMAKE_MAXIMUM_RECURSION_DEPTH.rst | 10 + Help/envvar/CMAKE_PROGRAM_PATH.rst | 13 + Help/envvar/PackageName_ROOT.rst | 14 + Help/generator/CodeBlocks.rst | 6 + Help/generator/CodeLite.rst | 6 + Help/generator/Eclipse CDT4.rst | 6 + Help/generator/Kate.rst | 9 + Help/generator/Sublime Text 2.rst | 6 + Help/generator/Visual Studio 9 2008.rst | 10 +- Help/guide/ide-integration/index.rst | 2 +- Help/guide/importing-exporting/index.rst | 9 +- .../guide/tutorial/A Basic Starting Point.rst | 9 +- .../tutorial/Adding Generator Expressions.rst | 174 +- .../tutorial/Adding System Introspection.rst | 7 +- ...dding Usage Requirements for a Library.rst | 186 +- ...ng a Custom Command and Generated File.rst | 50 +- Help/guide/tutorial/Adding a Library.rst | 242 +- .../Complete/MathFunctions/CMakeLists.txt | 11 +- .../Complete/MathFunctions/MakeTable.cmake | 10 + .../Complete/MathFunctions/MathFunctions.cxx | 1 + .../Selecting Static or Shared Libraries.rst | 45 +- Help/guide/tutorial/Step10/CMakeLists.txt | 13 +- .../Step10/MathFunctions/CMakeLists.txt | 52 +- .../Step10/MathFunctions/MakeTable.cmake | 10 + .../Step10/MathFunctions/MathFunctions.cxx | 1 + .../Step10/MathFunctions/MathFunctions.h | 4 +- .../tutorial/Step10/MathFunctions/mysqrt.cxx | 4 + .../guide/tutorial/Step10/TutorialConfig.h.in | 1 - Help/guide/tutorial/Step10/tutorial.cxx | 15 +- .../Step11/MathFunctions/CMakeLists.txt | 11 +- .../Step11/MathFunctions/MakeTable.cmake | 10 + .../Step11/MathFunctions/MathFunctions.cxx | 1 + .../Step12/MathFunctions/CMakeLists.txt | 11 +- .../Step12/MathFunctions/MakeTable.cmake | 10 + .../Step12/MathFunctions/MathFunctions.cxx | 1 + Help/guide/tutorial/Step2/CMakeLists.txt | 16 - .../Step2/MathFunctions/CMakeLists.txt | 15 +- .../Step2/MathFunctions/MathFunctions.cxx | 15 + .../Step2/MathFunctions/MathFunctions.h | 6 +- .../tutorial/Step2/MathFunctions/mysqrt.cxx | 6 + .../tutorial/Step2/MathFunctions/mysqrt.h | 7 + Help/guide/tutorial/Step2/TutorialConfig.h.in | 2 - Help/guide/tutorial/Step2/tutorial.cxx | 9 +- Help/guide/tutorial/Step3/CMakeLists.txt | 20 +- .../Step3/MathFunctions/CMakeLists.txt | 19 +- .../Step3/MathFunctions/MathFunctions.cxx | 19 + .../Step3/MathFunctions/MathFunctions.h | 6 +- .../tutorial/Step3/MathFunctions/mysqrt.cxx | 8 +- .../tutorial/Step3/MathFunctions/mysqrt.h | 7 + Help/guide/tutorial/Step3/TutorialConfig.h.in | 1 - Help/guide/tutorial/Step3/tutorial.cxx | 13 +- Help/guide/tutorial/Step4/CMakeLists.txt | 30 +- .../Step4/MathFunctions/CMakeLists.txt | 25 +- .../Step4/MathFunctions/MathFunctions.cxx | 19 + .../Step4/MathFunctions/MathFunctions.h | 6 +- .../tutorial/Step4/MathFunctions/mysqrt.cxx | 8 +- .../tutorial/Step4/MathFunctions/mysqrt.h | 7 + Help/guide/tutorial/Step4/TutorialConfig.h.in | 1 - Help/guide/tutorial/Step4/tutorial.cxx | 13 +- Help/guide/tutorial/Step5/CMakeLists.txt | 11 +- .../Step5/MathFunctions/CMakeLists.txt | 23 +- .../Step5/MathFunctions/MathFunctions.cxx | 19 + .../Step5/MathFunctions/MathFunctions.h | 6 +- .../tutorial/Step5/MathFunctions/mysqrt.cxx | 8 +- .../tutorial/Step5/MathFunctions/mysqrt.h | 7 + Help/guide/tutorial/Step5/TutorialConfig.h.in | 1 - Help/guide/tutorial/Step5/tutorial.cxx | 13 +- Help/guide/tutorial/Step6/CMakeLists.txt | 11 +- .../Step6/MathFunctions/CMakeLists.txt | 25 +- .../Step6/MathFunctions/MathFunctions.cxx | 19 + .../Step6/MathFunctions/MathFunctions.h | 6 +- .../tutorial/Step6/MathFunctions/mysqrt.cxx | 8 +- .../tutorial/Step6/MathFunctions/mysqrt.h | 7 + Help/guide/tutorial/Step6/TutorialConfig.h.in | 1 - Help/guide/tutorial/Step6/tutorial.cxx | 13 +- Help/guide/tutorial/Step7/CMakeLists.txt | 11 +- .../Step7/MathFunctions/CMakeLists.txt | 58 +- .../Step7/MathFunctions/MathFunctions.cxx | 19 + .../Step7/MathFunctions/MathFunctions.h | 6 +- .../tutorial/Step7/MathFunctions/mysqrt.cxx | 9 +- .../tutorial/Step7/MathFunctions/mysqrt.h | 7 + Help/guide/tutorial/Step7/TutorialConfig.h.in | 1 - Help/guide/tutorial/Step7/tutorial.cxx | 13 +- Help/guide/tutorial/Step8/CMakeLists.txt | 12 +- .../Step8/MathFunctions/CMakeLists.txt | 73 +- .../Step8/MathFunctions/MathFunctions.cxx | 19 + .../Step8/MathFunctions/MathFunctions.h | 6 +- .../tutorial/Step8/MathFunctions/mysqrt.cxx | 8 +- .../tutorial/Step8/MathFunctions/mysqrt.h | 7 + Help/guide/tutorial/Step8/TutorialConfig.h.in | 1 - Help/guide/tutorial/Step8/tutorial.cxx | 13 +- Help/guide/tutorial/Step9/CMakeLists.txt | 11 +- .../Step9/MathFunctions/CMakeLists.txt | 53 +- .../Step9/MathFunctions/MakeTable.cmake | 10 + .../Step9/MathFunctions/MathFunctions.cxx | 19 + .../Step9/MathFunctions/MathFunctions.h | 6 +- .../tutorial/Step9/MathFunctions/mysqrt.cxx | 8 +- .../tutorial/Step9/MathFunctions/mysqrt.h | 7 + Help/guide/tutorial/Step9/TutorialConfig.h.in | 1 - Help/guide/tutorial/Step9/tutorial.cxx | 13 +- Help/manual/ccmake.1.rst | 1 + Help/manual/cmake-buildsystem.7.rst | 6 + Help/manual/cmake-commands.7.rst | 1 + Help/manual/cmake-env-variables.7.rst | 7 + Help/manual/cmake-file-api.7.rst | 30 +- Help/manual/cmake-generator-expressions.7.rst | 605 +++- Help/manual/cmake-generators.7.rst | 6 + Help/manual/cmake-gui.1.rst | 10 +- Help/manual/cmake-policies.7.rst | 15 + Help/manual/cmake-presets.7.rst | 58 + Help/manual/cmake-properties.7.rst | 15 +- Help/manual/cmake-toolchains.7.rst | 11 +- Help/manual/cmake-variables.7.rst | 16 + Help/manual/cmake.1.rst | 104 +- Help/manual/cpack-generators.7.rst | 1 + Help/manual/ctest.1.rst | 5 +- Help/manual/presets/schema.json | 107 + Help/module/CMAKE_REQUIRED_DEFINITIONS.txt | 4 + Help/module/CMAKE_REQUIRED_FLAGS.txt | 6 + Help/module/CMAKE_REQUIRED_INCLUDES.txt | 4 + Help/module/CMAKE_REQUIRED_LIBRARIES.txt | 5 + Help/module/CMAKE_REQUIRED_LINK_OPTIONS.txt | 5 + Help/module/CMAKE_REQUIRED_QUIET.txt | 5 + Help/policy/CMP0144.rst | 26 + Help/policy/CMP0145.rst | 30 + Help/policy/CMP0146.rst | 29 + Help/policy/CMP0147.rst | 24 + Help/policy/CMP0148.rst | 29 + Help/policy/CMP0149.rst | 47 + Help/policy/CMP0150.rst | 39 + Help/policy/CMP0151.rst | 28 + Help/prop_sf/CXX_SCAN_FOR_MODULES.rst | 3 +- Help/prop_sf/GENERATED.rst | 2 +- Help/prop_sf/SKIP_LINTING.rst | 42 + Help/prop_test/TIMEOUT.rst | 6 + Help/prop_test/TIMEOUT_AFTER_MATCH.rst | 2 + .../prop_test/TIMEOUT_SIGNAL_GRACE_PERIOD.rst | 14 + Help/prop_test/TIMEOUT_SIGNAL_NAME.rst | 41 + Help/prop_test/WILL_FAIL.rst | 5 +- Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst | 3 + Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst | 3 + Help/prop_tgt/AUTOGEN_USE_SYSTEM_INCLUDE.rst | 19 + Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst | 8 +- Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst | 36 + Help/prop_tgt/COMPILE_OPTIONS.rst | 4 + Help/prop_tgt/CUDA_CUBIN_COMPILATION.rst | 14 + Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst | 14 + Help/prop_tgt/CUDA_OPTIX_COMPILATION.rst | 14 + Help/prop_tgt/CXX_MODULE_HEADER_UNIT_DIRS.rst | 19 - .../CXX_MODULE_HEADER_UNIT_DIRS_NAME.rst | 21 - Help/prop_tgt/CXX_MODULE_HEADER_UNIT_SET.rst | 20 - Help/prop_tgt/CXX_MODULE_HEADER_UNIT_SETS.rst | 20 - .../CXX_MODULE_HEADER_UNIT_SET_NAME.rst | 21 - Help/prop_tgt/CXX_SCAN_FOR_MODULES.rst | 2 +- Help/prop_tgt/DLL_NAME_WITH_SOVERSION.rst | 17 + Help/prop_tgt/ENABLE_EXPORTS.rst | 29 +- Help/prop_tgt/IMPORTED_CONFIGURATIONS.rst | 27 +- Help/prop_tgt/IMPORTED_IMPLIB.rst | 23 +- Help/prop_tgt/IMPORTED_LOCATION.rst | 2 +- Help/prop_tgt/IMPORTED_NO_SYSTEM.rst | 2 + .../INTERFACE_AUTOMOC_MACRO_NAMES.rst | 89 + .../INTERFACE_CXX_MODULE_HEADER_UNIT_SETS.rst | 18 - Help/prop_tgt/LANG_CLANG_TIDY.rst | 14 + Help/prop_tgt/LANG_CPPCHECK.rst | 14 + Help/prop_tgt/LANG_CPPLINT.rst | 14 + Help/prop_tgt/LANG_INCLUDE_WHAT_YOU_USE.rst | 14 + Help/prop_tgt/LANG_LINKER_LAUNCHER.rst | 5 + Help/prop_tgt/MACOS_IMPORT_FILES.txt | 12 + Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst | 15 +- Help/prop_tgt/SYSTEM.rst | 14 +- .../prop_tgt/VERIFY_INTERFACE_HEADER_SETS.rst | 3 + Help/prop_tgt/VS_DEBUGGER_COMMAND.rst | 4 +- .../VS_DEBUGGER_COMMAND_ARGUMENTS.rst | 4 +- Help/prop_tgt/VS_DEBUGGER_ENVIRONMENT.rst | 4 +- .../VS_DEBUGGER_WORKING_DIRECTORY.rst | 4 +- ...VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.rst | 11 +- Help/release/3.11.rst | 2 +- Help/release/3.27.rst | 252 ++ Help/release/index.rst | 1 + ...D_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY.rst | 11 + Help/variable/CMAKE_APPBUNDLE_PATH.rst | 3 + .../CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE.rst | 10 + Help/variable/CMAKE_AUTOMOC_EXECUTABLE.rst | 10 + Help/variable/CMAKE_AUTORCC_EXECUTABLE.rst | 10 + Help/variable/CMAKE_AUTOUIC_EXECUTABLE.rst | 10 + Help/variable/CMAKE_CROSSCOMPILING.rst | 10 +- .../CMAKE_DLL_NAME_WITH_SOVERSION.rst | 14 + Help/variable/CMAKE_EDIT_COMMAND.rst | 3 +- Help/variable/CMAKE_ENABLE_EXPORTS.rst | 4 + .../CMAKE_EXECUTABLE_ENABLE_EXPORTS.rst | 12 + Help/variable/CMAKE_EXTRA_GENERATOR.rst | 6 + Help/variable/CMAKE_FRAMEWORK_PATH.rst | 3 + Help/variable/CMAKE_GENERATOR_PLATFORM.rst | 42 +- Help/variable/CMAKE_INCLUDE_PATH.rst | 9 +- Help/variable/CMAKE_KATE_FILES_MODE.rst | 20 + Help/variable/CMAKE_KATE_MAKE_ARGUMENTS.rst | 11 + Help/variable/CMAKE_LANG_COMPILER_ID.rst | 3 +- Help/variable/CMAKE_LANG_FLAGS.rst | 18 +- Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst | 17 +- .../CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst | 7 +- Help/variable/CMAKE_LIBRARY_PATH.rst | 8 +- .../CMAKE_LINK_DEPENDS_USE_LINKER.rst | 20 + .../CMAKE_MAXIMUM_RECURSION_DEPTH.rst | 2 + .../CMAKE_NINJA_OUTPUT_PATH_PREFIX.rst | 37 +- Help/variable/CMAKE_PREFIX_PATH.rst | 3 + Help/variable/CMAKE_PROGRAM_PATH.rst | 8 +- .../CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS.rst | 10 + Help/variable/CMAKE_VS_DEBUGGER_COMMAND.rst | 8 + .../CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS.rst | 8 + .../CMAKE_VS_DEBUGGER_ENVIRONMENT.rst | 8 + .../CMAKE_VS_DEBUGGER_WORKING_DIRECTORY.rst | 8 + ...VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.rst | 12 + ...AKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.rst | 29 +- ...INDOWS_TARGET_PLATFORM_VERSION_MAXIMUM.rst | 4 +- Help/variable/MINGW.rst | 5 +- Help/variable/PackageName_ROOT.rst | 8 + Modules/CMakeASMCompiler.cmake.in | 2 + Modules/CMakeCCompiler.cmake.in | 2 + Modules/CMakeCUDACompiler.cmake.in | 1 + Modules/CMakeCUDAInformation.cmake | 1 - Modules/CMakeCXXCompiler.cmake.in | 4 +- Modules/CMakeDetermineASMCompiler.cmake | 8 +- Modules/CMakeDetermineCCompiler.cmake | 2 +- Modules/CMakeDetermineCXXCompiler.cmake | 8 +- Modules/CMakeDetermineCompilerABI.cmake | 6 +- Modules/CMakeDetermineCompilerId.cmake | 9 +- Modules/CMakeDetermineHIPCompiler.cmake | 50 +- Modules/CMakeDetermineSystem.cmake | 7 + Modules/CMakeFindBinUtils.cmake | 48 +- Modules/CMakeFindKate.cmake | 8 +- Modules/CMakeFortranCompiler.cmake.in | 4 +- Modules/CMakeHIPCompiler.cmake.in | 3 + Modules/CMakeHIPInformation.cmake | 2 +- Modules/CMakeOBJCCompiler.cmake.in | 2 + Modules/CMakeOBJCXXCompiler.cmake.in | 2 + Modules/CMakePackageConfigHelpers.cmake | 2 +- Modules/CMakeSwiftInformation.cmake | 4 +- Modules/CMakeSystemSpecificInformation.cmake | 13 - Modules/CMakeSystemSpecificInitialize.cmake | 13 + Modules/CPack.cmake | 24 +- Modules/CPackComponent.cmake | 2 +- Modules/CPackIFW.cmake | 2 +- Modules/CTestTargets.cmake | 2 +- Modules/CheckCCompilerFlag.cmake | 39 +- Modules/CheckCSourceCompiles.cmake | 62 +- Modules/CheckCSourceRuns.cmake | 62 +- Modules/CheckCXXCompilerFlag.cmake | 10 +- Modules/CheckCXXSourceCompiles.cmake | 62 +- Modules/CheckCXXSourceRuns.cmake | 62 +- Modules/CheckCXXSymbolExists.cmake | 27 +- Modules/CheckCompilerFlag.cmake | 34 +- Modules/CheckFortranCompilerFlag.cmake | 39 +- Modules/CheckFortranSourceCompiles.cmake | 60 +- Modules/CheckFortranSourceRuns.cmake | 58 +- Modules/CheckFunctionExists.cmake | 27 +- Modules/CheckIncludeFile.cmake | 27 +- Modules/CheckIncludeFileCXX.cmake | 27 +- Modules/CheckIncludeFiles.cmake | 27 +- Modules/CheckLanguage.cmake | 4 +- Modules/CheckLibraryExists.cmake | 22 +- Modules/CheckOBJCCompilerFlag.cmake | 39 +- Modules/CheckOBJCSourceCompiles.cmake | 58 +- Modules/CheckOBJCSourceRuns.cmake | 58 +- Modules/CheckOBJCXXCompilerFlag.cmake | 39 +- Modules/CheckOBJCXXSourceCompiles.cmake | 58 +- Modules/CheckOBJCXXSourceRuns.cmake | 58 +- Modules/CheckPrototypeDefinition.cmake | 26 +- Modules/CheckSourceCompiles.cmake | 50 +- Modules/CheckSourceRuns.cmake | 58 +- Modules/CheckStructHasMember.cmake | 37 +- Modules/CheckSymbolExists.cmake | 31 +- Modules/CheckTypeSize.cmake | 30 +- Modules/CheckVariableExists.cmake | 22 +- Modules/Compiler/Clang-FindBinUtils.cmake | 3 + Modules/Compiler/Clang-HIP.cmake | 1 + Modules/Compiler/Clang.cmake | 7 +- Modules/Compiler/GNU-FindBinUtils.cmake | 2 + Modules/Compiler/GNU.cmake | 46 + Modules/Compiler/IAR-ASM.cmake | 88 +- Modules/Compiler/IAR-C.cmake | 2 +- Modules/Compiler/IAR-CXX.cmake | 7 +- Modules/Compiler/IAR.cmake | 19 +- Modules/Compiler/IBMClang.cmake | 5 +- Modules/Compiler/LCC-Fortran.cmake | 7 +- Modules/Compiler/NVHPC-Fortran.cmake | 4 + Modules/Compiler/NVHPC.cmake | 2 +- Modules/Compiler/NVIDIA-CUDA.cmake | 5 + Modules/CompilerId/VS-10.vcxproj.in | 3 +- Modules/Dart.cmake | 19 + Modules/ExternalProject.cmake | 203 +- Modules/ExternalProject/PatchInfo.txt.in | 6 + Modules/ExternalProject/UpdateInfo.txt.in | 7 + Modules/ExternalProject/download.cmake.in | 2 +- Modules/ExternalProject/gitclone.cmake.in | 6 +- Modules/ExternalProject/gitupdate.cmake.in | 63 +- .../shared_internal_commands.cmake | 182 + Modules/FetchContent.cmake | 62 +- Modules/FetchContent/CMakeLists.cmake.in | 18 +- Modules/FindBLAS.cmake | 45 +- Modules/FindBoost.cmake | 5 +- Modules/FindCUDA.cmake | 27 +- Modules/FindCUDAToolkit.cmake | 68 +- Modules/FindCxxTest.cmake | 175 +- Modules/FindDart.cmake | 8 + Modules/FindDoxygen.cmake | 20 +- Modules/FindEXPAT.cmake | 100 +- Modules/FindHDF5.cmake | 70 +- Modules/FindLAPACK.cmake | 33 +- Modules/FindMPI.cmake | 2 +- Modules/FindMatlab.cmake | 149 +- Modules/FindOpenACC.cmake | 4 +- Modules/FindOpenAL.cmake | 22 +- Modules/FindOpenCL.cmake | 14 + Modules/FindOpenGL.cmake | 191 +- Modules/FindOpenMP.cmake | 6 +- Modules/FindOpenSSL.cmake | 28 +- Modules/FindPNG.cmake | 26 +- Modules/FindPostgreSQL.cmake | 4 +- Modules/FindProtobuf.cmake | 6 +- Modules/FindPython.cmake | 28 +- Modules/FindPython/Support.cmake | 122 +- Modules/FindPython2.cmake | 24 +- Modules/FindPython3.cmake | 28 +- Modules/FindPythonInterp.cmake | 13 + Modules/FindPythonLibs.cmake | 13 + Modules/FindVulkan.cmake | 17 +- Modules/FindX11.cmake | 609 +++- Modules/FindXCTest.cmake | 2 +- Modules/FindwxWidgets.cmake | 21 + Modules/FindwxWindows.cmake | 2 +- Modules/FortranCInterface.cmake | 1 + Modules/FortranCInterface/CMakeLists.txt | 10 +- Modules/GenerateExportHeader.cmake | 25 +- Modules/GetPrerequisites.cmake | 2 +- Modules/Internal/CPack/CPackRPM.cmake | 2 +- Modules/Internal/CPack/ISComponents.pas | 88 + Modules/Internal/CPack/ISScript.template.in | 34 + Modules/Internal/CheckFlagCommonConfig.cmake | 5 +- Modules/Internal/CheckLinkerFlag.cmake | 4 +- Modules/Internal/CheckSourceCompiles.cmake | 4 +- Modules/Internal/CheckSourceRuns.cmake | 4 +- Modules/Internal/HeaderpadWorkaround.cmake | 4 +- Modules/MatlabTestsRedirect.cmake | 4 +- Modules/Platform/AIX-Initialize.cmake | 1 + Modules/Platform/Android-Determine.cmake | 34 +- Modules/Platform/Android-Initialize.cmake | 5 + Modules/Platform/Android.cmake | 5 - .../Android/VCXProjInspect.vcxproj.in | 3 +- Modules/Platform/Apple-AppleClang-ASM.cmake | 1 + Modules/Platform/BSDOS-Initialize.cmake | 1 + Modules/Platform/BeOS-Initialize.cmake | 2 + Modules/Platform/BeOS.cmake | 2 - Modules/Platform/BlueGeneL-Initialize.cmake | 1 + Modules/Platform/BlueGeneP-base.cmake | 5 - .../BlueGeneP-dynamic-Initialize.cmake | 1 + .../BlueGeneP-static-Initialize.cmake | 1 + Modules/Platform/BlueGeneQ-base.cmake | 5 - .../BlueGeneQ-dynamic-Initialize.cmake | 1 + .../BlueGeneQ-static-Initialize.cmake | 1 + Modules/Platform/CYGWIN-Initialize.cmake | 2 + Modules/Platform/CYGWIN.cmake | 2 - Modules/Platform/Catamount-Initialize.cmake | 1 + .../CrayLinuxEnvironment-Initialize.cmake | 4 + Modules/Platform/CrayLinuxEnvironment.cmake | 2 - Modules/Platform/DOS-Initialize.cmake | 1 + Modules/Platform/DOS.cmake | 2 - Modules/Platform/Darwin-Initialize.cmake | 3 + Modules/Platform/Darwin.cmake | 7 +- Modules/Platform/DragonFly-Initialize.cmake | 2 + Modules/Platform/DragonFly.cmake | 1 - Modules/Platform/FreeBSD-Initialize.cmake | 2 + Modules/Platform/FreeBSD.cmake | 1 - Modules/Platform/Fuchsia-Initialize.cmake | 1 + Modules/Platform/Fuchsia.cmake | 2 - Modules/Platform/GNU-Initialize.cmake | 3 + Modules/Platform/GNU.cmake | 2 - Modules/Platform/HP-UX-Initialize.cmake | 1 + Modules/Platform/Haiku-Initialize.cmake | 2 + Modules/Platform/Haiku.cmake | 3 - Modules/Platform/Linux-Initialize.cmake | 5 + Modules/Platform/Linux-LCC-Fortran.cmake | 6 +- Modules/Platform/Linux.cmake | 4 - Modules/Platform/MP-RAS-Initialize.cmake | 1 + Modules/Platform/MSYS-Initialize.cmake | 2 + Modules/Platform/MSYS.cmake | 1 - Modules/Platform/Midipix-Initialize.cmake | 1 + Modules/Platform/NetBSD-Initialize.cmake | 2 + Modules/Platform/NetBSD.cmake | 1 - Modules/Platform/OSF1-Initialize.cmake | 1 + Modules/Platform/OpenBSD-Initialize.cmake | 2 + Modules/Platform/OpenBSD.cmake | 1 - Modules/Platform/OpenVMS-Initialize.cmake | 1 + Modules/Platform/QNX-Initialize.cmake | 3 + Modules/Platform/QNX.cmake | 3 - Modules/Platform/RISCos-Initialize.cmake | 1 + Modules/Platform/SCO_SV-Initialize.cmake | 1 + Modules/Platform/SINIX-Initialize.cmake | 1 + Modules/Platform/SerenityOS-Initialize.cmake | 2 + Modules/Platform/SerenityOS.cmake | 3 - Modules/Platform/SunOS-Initialize.cmake | 1 + Modules/Platform/Tru64-Initialize.cmake | 1 + Modules/Platform/ULTRIX-Initialize.cmake | 1 + Modules/Platform/UNIX_SV-Initialize.cmake | 1 + Modules/Platform/UnixPaths.cmake | 3 + Modules/Platform/UnixWare-Initialize.cmake | 1 + Modules/Platform/Windows-Apple-Swift.cmake | 2 + Modules/Platform/Windows-Initialize.cmake | 1 + Modules/Platform/Windows-IntelLLVM.cmake | 1 + Modules/Platform/Windows.cmake | 10 - Modules/Platform/WindowsCE-Initialize.cmake | 2 + .../Platform/WindowsPhone-Initialize.cmake | 2 + .../Platform/WindowsStore-Initialize.cmake | 2 + Modules/Platform/Xenix-Initialize.cmake | 1 + Modules/Platform/eCos-Initialize.cmake | 1 + Modules/Platform/kFreeBSD-Initialize.cmake | 5 + Modules/Platform/kFreeBSD.cmake | 5 +- Modules/Platform/syllable-Initialize.cmake | 1 + Modules/UseJava.cmake | 2 +- Source/CMakeLists.txt | 54 +- Source/CMakeVersion.cmake | 8 +- Source/CPack/IFW/cmCPackIFWCommon.cxx | 15 +- Source/CPack/IFW/cmCPackIFWGenerator.cxx | 5 +- Source/CPack/IFW/cmCPackIFWInstaller.cxx | 1 + Source/CPack/IFW/cmCPackIFWPackage.cxx | 11 +- Source/CPack/WiX/cmCPackWIXGenerator.cxx | 20 +- Source/CPack/WiX/cmWIXAccessControlList.cxx | 5 +- Source/CPack/WiX/cmWIXShortcut.cxx | 5 +- Source/CPack/cmCPackBundleGenerator.cxx | 3 +- Source/CPack/cmCPackDebGenerator.cxx | 4 +- Source/CPack/cmCPackDragNDropGenerator.cxx | 10 +- Source/CPack/cmCPackExternalGenerator.cxx | 4 +- Source/CPack/cmCPackFreeBSDGenerator.cxx | 31 +- Source/CPack/cmCPackGenerator.cxx | 80 +- Source/CPack/cmCPackGeneratorFactory.cxx | 5 + Source/CPack/cmCPackInnoSetupGenerator.cxx | 1159 ++++++ Source/CPack/cmCPackInnoSetupGenerator.h | 116 + Source/CPack/cmCPackNSISGenerator.cxx | 36 +- Source/CPack/cpack.cxx | 12 +- Source/CTest/cmCTestBuildAndTestHandler.cxx | 14 +- Source/CTest/cmCTestBuildCommand.cxx | 4 - Source/CTest/cmCTestBuildHandler.cxx | 1 + Source/CTest/cmCTestConfigureCommand.cxx | 6 +- Source/CTest/cmCTestCurl.cxx | 2 +- Source/CTest/cmCTestGIT.cxx | 3 +- Source/CTest/cmCTestMultiProcessHandler.cxx | 12 +- Source/CTest/cmCTestP4.cxx | 4 +- Source/CTest/cmCTestResourceSpec.cxx | 148 +- Source/CTest/cmCTestResourceSpec.h | 59 +- Source/CTest/cmCTestRunTest.cxx | 164 +- Source/CTest/cmCTestRunTest.h | 17 +- Source/CTest/cmCTestScriptHandler.cxx | 7 +- Source/CTest/cmCTestSubmitCommand.cxx | 6 +- Source/CTest/cmCTestSubmitHandler.cxx | 5 +- Source/CTest/cmCTestTestHandler.cxx | 114 +- Source/CTest/cmCTestTestHandler.h | 50 +- Source/CTest/cmProcess.cxx | 31 +- Source/CTest/cmProcess.h | 22 +- Source/Checks/cm_cxx_features.cmake | 2 + .../cmCursesCacheEntryComposite.cxx | 5 +- Source/CursesDialog/form/frm_def.c | 4 + Source/LexerParser/cmFortranLexer.cxx | 142 +- Source/LexerParser/cmFortranLexer.in.l | 1 + Source/Modules/CMakeBuildUtilities.cmake | 19 +- Source/QtDialog/AddCacheEntry.cxx | 3 +- Source/QtDialog/CMakeLists.txt | 1 + Source/QtDialog/CMakeSetup.cxx | 11 +- Source/QtDialog/CMakeSetupDialog.cxx | 19 +- Source/QtDialog/CMakeSetupDialog.h | 3 +- Source/QtDialog/FirstConfigure.cxx | 7 +- Source/QtDialog/QCMake.cxx | 20 +- Source/QtDialog/QCMake.h | 7 +- Source/QtDialog/QCMakeCacheView.cxx | 17 +- Source/QtDialog/QCMakePresetItemModel.cxx | 17 +- Source/QtDialog/QCMakeSizeType.h | 12 + Source/bindexplib.cxx | 9 +- Source/cmAddCustomCommandCommand.cxx | 9 +- Source/cmAlgorithms.h | 2 +- Source/cmBinUtilsWindowsPELinker.cxx | 58 +- .../cmCMakeHostSystemInformationCommand.cxx | 16 +- Source/cmCMakeLanguageCommand.cxx | 2 +- Source/cmCMakePathCommand.cxx | 7 +- Source/cmCMakePresetErrors.h | 245 ++ Source/cmCMakePresetsGraph.cxx | 408 +-- Source/cmCMakePresetsGraph.h | 105 +- Source/cmCMakePresetsGraphInternal.h | 79 +- Source/cmCMakePresetsGraphReadJSON.cxx | 473 +-- ...mCMakePresetsGraphReadJSONBuildPresets.cxx | 45 +- ...kePresetsGraphReadJSONConfigurePresets.cxx | 161 +- ...MakePresetsGraphReadJSONPackagePresets.cxx | 37 +- ...cmCMakePresetsGraphReadJSONTestPresets.cxx | 161 +- ...akePresetsGraphReadJSONWorkflowPresets.cxx | 53 +- Source/cmCPluginAPI.cxx | 31 +- Source/cmCPluginAPI.h | 2 +- Source/cmCTest.cxx | 19 +- Source/cmCacheManager.cxx | 48 +- Source/cmCacheManager.h | 24 +- Source/cmCommandArgumentParserHelper.cxx | 3 +- Source/cmCommands.cxx | 3 + Source/cmCommonTargetGenerator.cxx | 188 +- Source/cmCommonTargetGenerator.h | 10 + Source/cmComputeLinkDepends.cxx | 3 +- Source/cmComputeLinkInformation.cxx | 202 +- Source/cmConditionEvaluator.cxx | 9 +- Source/cmConfigure.cmake.h.in | 3 +- Source/cmCoreTryCompile.cxx | 13 +- Source/cmCoreTryCompile.h | 3 +- Source/cmCurl.cxx | 6 +- Source/cmCustomCommand.cxx | 29 +- Source/cmCustomCommand.h | 26 +- Source/cmCustomCommandGenerator.cxx | 11 +- Source/cmCxxModuleMapper.cxx | 109 +- Source/cmCxxModuleMapper.h | 22 +- Source/cmDebuggerAdapter.cxx | 468 +++ Source/cmDebuggerAdapter.h | 93 + Source/cmDebuggerBreakpointManager.cxx | 200 ++ Source/cmDebuggerBreakpointManager.h | 61 + Source/cmDebuggerExceptionManager.cxx | 129 + Source/cmDebuggerExceptionManager.h | 70 + Source/cmDebuggerPipeConnection.cxx | 293 ++ Source/cmDebuggerPipeConnection.h | 139 + Source/cmDebuggerProtocol.cxx | 80 + Source/cmDebuggerProtocol.h | 191 + Source/cmDebuggerSourceBreakpoint.cxx | 14 + Source/cmDebuggerSourceBreakpoint.h | 26 + Source/cmDebuggerStackFrame.cxx | 28 + Source/cmDebuggerStackFrame.h | 33 + Source/cmDebuggerThread.cxx | 150 + Source/cmDebuggerThread.h | 59 + Source/cmDebuggerThreadManager.cxx | 47 + Source/cmDebuggerThreadManager.h | 38 + Source/cmDebuggerVariables.cxx | 133 + Source/cmDebuggerVariables.h | 124 + Source/cmDebuggerVariablesHelper.cxx | 638 ++++ Source/cmDebuggerVariablesHelper.h | 106 + Source/cmDebuggerVariablesManager.cxx | 38 + Source/cmDebuggerVariablesManager.h | 40 + Source/cmDepends.cxx | 5 +- Source/cmDependsC.cxx | 7 +- Source/cmDependsCompiler.cxx | 24 +- Source/cmDependsFortran.cxx | 12 +- Source/cmDependsJavaParserHelper.cxx | 2 +- Source/cmDyndepCollation.cxx | 21 + Source/cmDyndepCollation.h | 2 + Source/cmEvaluatedTargetProperty.cxx | 111 + Source/cmEvaluatedTargetProperty.h | 80 + Source/cmExperimental.cxx | 2 +- Source/cmExportBuildAndroidMKGenerator.cxx | 8 +- Source/cmExportBuildFileGenerator.cxx | 17 +- Source/cmExportFileGenerator.cxx | 45 +- Source/cmExportInstallFileGenerator.cxx | 30 +- Source/cmExportTryCompileFileGenerator.cxx | 5 +- Source/cmExternalMakefileProjectGenerator.cxx | 13 +- Source/cmExtraCodeBlocksGenerator.cxx | 7 +- Source/cmExtraCodeLiteGenerator.cxx | 2 +- Source/cmExtraEclipseCDT4Generator.cxx | 21 +- Source/cmExtraKateGenerator.cxx | 132 +- Source/cmExtraKateGenerator.h | 2 + Source/cmExtraSublimeTextGenerator.cxx | 6 +- Source/cmFileAPI.cxx | 44 +- Source/cmFileAPI.h | 33 +- Source/cmFileAPICodemodel.cxx | 52 +- Source/cmFileAPICommand.cxx | 170 + Source/cmFileAPICommand.h | 13 + Source/cmFileAPIToolchains.cxx | 8 +- Source/cmFileCommand.cxx | 7 +- Source/cmFileCopier.cxx | 4 +- Source/cmFileLockResult.cxx | 4 +- Source/cmFileLockWin32.cxx | 4 +- Source/cmFileSet.cxx | 9 +- Source/cmFindBase.cxx | 13 +- Source/cmFindCommon.cxx | 17 +- Source/cmFindLibraryCommand.cxx | 16 +- Source/cmFindPackageCommand.cxx | 239 +- Source/cmFindPackageCommand.h | 8 + Source/cmForEachCommand.cxx | 9 +- Source/cmGccDepfileLexerHelper.cxx | 6 + Source/cmGeneratorExpression.cxx | 1 + Source/cmGeneratorExpressionDAGChecker.cxx | 17 + Source/cmGeneratorExpressionDAGChecker.h | 5 + Source/cmGeneratorExpressionNode.cxx | 1462 +++++++- Source/cmGeneratorTarget.cxx | 800 ++--- Source/cmGeneratorTarget.h | 52 +- Source/cmGetTestPropertyCommand.cxx | 2 +- Source/cmGhsMultiTargetGenerator.cxx | 3 +- Source/cmGlobalCommonGenerator.cxx | 6 +- Source/cmGlobalGenerator.cxx | 241 +- Source/cmGlobalGenerator.h | 56 +- Source/cmGlobalGhsMultiGenerator.cxx | 16 +- Source/cmGlobalNinjaGenerator.cxx | 194 +- Source/cmGlobalNinjaGenerator.h | 15 +- Source/cmGlobalUnixMakefileGenerator3.h | 6 + Source/cmGlobalVisualStudio10Generator.cxx | 24 + Source/cmGlobalVisualStudio10Generator.h | 7 + Source/cmGlobalVisualStudio14Generator.cxx | 125 +- Source/cmGlobalVisualStudio14Generator.h | 15 +- Source/cmGlobalVisualStudio71Generator.cxx | 5 +- Source/cmGlobalVisualStudio7Generator.cxx | 25 +- Source/cmGlobalVisualStudio8Generator.cxx | 133 +- Source/cmGlobalVisualStudio8Generator.h | 6 + Source/cmGlobalVisualStudio9Generator.cxx | 2 +- Source/cmGlobalVisualStudioGenerator.cxx | 27 +- Source/cmGlobalVisualStudioGenerator.h | 2 + ...cmGlobalVisualStudioVersionedGenerator.cxx | 26 +- .../cmGlobalVisualStudioVersionedGenerator.h | 6 +- Source/cmGlobalXCodeGenerator.cxx | 84 +- Source/cmGraphVizWriter.cxx | 6 +- Source/cmIDEOptions.cxx | 1 + Source/cmIncludeCommand.cxx | 5 + Source/cmInstallCommand.cxx | 100 +- Source/cmInstallDirectoryGenerator.cxx | 10 +- Source/cmInstallFilesGenerator.cxx | 14 +- ...cmInstallRuntimeDependencySetGenerator.cxx | 3 +- Source/cmInstallScriptGenerator.cxx | 10 +- Source/cmInstallTargetGenerator.cxx | 218 +- Source/cmInstallTargetGenerator.h | 8 +- Source/cmInstalledFile.cxx | 9 +- Source/cmInstalledFile.h | 3 +- Source/cmJSONHelpers.h | 352 +- Source/cmJSONState.cxx | 163 + Source/cmJSONState.h | 73 + Source/cmLDConfigLDConfigTool.cxx | 4 +- Source/cmLinkLineComputer.cxx | 20 +- Source/cmLinkLineComputer.h | 4 +- Source/cmList.cxx | 1003 ++++++ Source/cmList.h | 1352 +++++++ Source/cmListCommand.cxx | 1152 ++---- Source/cmListFileCache.cxx | 7 +- Source/cmListFileCache.h | 3 +- Source/cmLocalCommonGenerator.cxx | 16 +- Source/cmLocalCommonGenerator.h | 15 +- Source/cmLocalGenerator.cxx | 202 +- Source/cmLocalGenerator.h | 15 +- Source/cmLocalNinjaGenerator.cxx | 108 +- Source/cmLocalNinjaGenerator.h | 11 +- Source/cmLocalUnixMakefileGenerator3.cxx | 64 +- Source/cmLocalUnixMakefileGenerator3.h | 3 + Source/cmLocalVisualStudio7Generator.cxx | 20 +- Source/cmMakefile.cxx | 315 +- Source/cmMakefile.h | 49 +- .../cmMakefileExecutableTargetGenerator.cxx | 47 +- Source/cmMakefileLibraryTargetGenerator.cxx | 160 +- Source/cmMakefileTargetGenerator.cxx | 353 +- Source/cmMakefileTargetGenerator.h | 12 +- Source/cmMarkAsAdvancedCommand.cxx | 3 +- Source/cmMessageCommand.cxx | 18 +- Source/cmMessenger.cxx | 63 +- Source/cmMessenger.h | 17 + Source/cmNinjaNormalTargetGenerator.cxx | 208 +- Source/cmNinjaNormalTargetGenerator.h | 3 +- Source/cmNinjaTargetGenerator.cxx | 361 +- Source/cmNinjaTargetGenerator.h | 19 +- Source/cmNinjaTypes.h | 3 +- Source/cmOSXBundleGenerator.cxx | 14 +- Source/cmOSXBundleGenerator.h | 11 +- Source/cmOptionCommand.cxx | 2 +- Source/cmOutputConverter.cxx | 27 +- Source/cmOutputConverter.h | 11 + Source/cmOutputRequiredFilesCommand.cxx | 5 +- Source/cmParseArgumentsCommand.cxx | 11 +- Source/cmPolicies.cxx | 5 +- Source/cmPolicies.h | 31 +- Source/cmProcessOutput.cxx | 10 +- Source/cmPropertyMap.cxx | 9 +- Source/cmPropertyMap.h | 3 +- Source/cmQtAutoGenGlobalInitializer.cxx | 7 - Source/cmQtAutoGenGlobalInitializer.h | 6 +- Source/cmQtAutoGenInitializer.cxx | 195 +- Source/cmQtAutoMocUic.cxx | 7 +- Source/cmRST.cxx | 66 +- Source/cmRST.h | 36 +- Source/cmRemoveCommand.cxx | 7 +- Source/cmRuntimeDependencyArchive.cxx | 18 +- Source/cmSearchPath.cxx | 5 +- Source/cmSetCommand.cxx | 10 +- Source/cmSourceFile.cxx | 20 +- Source/cmSourceFile.h | 10 +- Source/cmStandardLevelResolver.cxx | 5 +- Source/cmState.cxx | 25 +- Source/cmState.h | 16 +- Source/cmStateDirectory.cxx | 16 +- Source/cmStateDirectory.h | 8 +- Source/cmStateTypes.h | 11 + Source/cmString.cxx | 1 - Source/cmStringAlgorithms.cxx | 71 - Source/cmStringAlgorithms.h | 57 - Source/cmSystemTools.cxx | 104 +- Source/cmSystemTools.h | 3 + Source/cmTarget.cxx | 1033 +++--- Source/cmTarget.h | 26 +- Source/cmTargetLinkLibrariesCommand.cxx | 1 + Source/cmTargetSourcesCommand.cxx | 14 +- Source/cmTest.cxx | 4 - Source/cmTest.h | 6 +- Source/cmTestGenerator.cxx | 23 +- Source/cmTryRunCommand.cxx | 30 +- Source/cmUVProcessChain.cxx | 322 +- Source/cmUVProcessChain.h | 18 + Source/cmVisualStudio10TargetGenerator.cxx | 210 +- Source/cmVisualStudio10TargetGenerator.h | 6 + Source/cmXCodeScheme.cxx | 5 +- Source/cm_codecvt.cxx | 4 +- Source/cmake.cxx | 342 +- Source/cmake.h | 68 +- Source/cmakemain.cxx | 9 +- Source/cmcldeps.cxx | 46 +- Source/cmcmd.cxx | 96 +- Source/kwsys/CMakeLists.txt | 24 +- Source/kwsys/CommandLineArguments.cxx | 13 +- Source/kwsys/RegularExpression.cxx | 4 + Source/kwsys/SharedForward.h.in | 873 ----- Source/kwsys/String.hxx.in | 57 - Source/kwsys/SystemInformation.cxx | 4 + Source/kwsys/SystemTools.cxx | 29 +- Source/kwsys/SystemTools.hxx.in | 5 +- Source/kwsys/kwsysPlatformTests.cmake | 63 +- Source/kwsys/testDynamicLoader.cxx | 4 +- Source/kwsys/testSharedForward.c.in | 31 - Templates/TestDriver.cxx.in | 18 +- Tests/Architecture/CMakeLists.txt | 2 +- Tests/ArgumentExpansion/CMakeLists.txt | 2 +- Tests/Assembler/CMakeLists.txt | 2 +- Tests/BundleGeneratorTest/CMakeLists.txt | 2 +- Tests/BundleUtilities/CMakeLists.txt | 2 +- Tests/CFBundleTest/CMakeLists.txt | 2 +- .../add_compile_options/CMakeLists.txt | 2 +- .../target_compile_definitions/CMakeLists.txt | 2 +- .../target_compile_options/CMakeLists.txt | 2 +- .../target_include_directories/CMakeLists.txt | 2 +- .../target_link_libraries/CMakeLists.txt | 18 +- .../target_link_libraries/compile_only.cpp | 8 + Tests/CMakeLib/CMakeLists.txt | 27 + Tests/CMakeLib/DebuggerSample/CMakeLists.txt | 9 + Tests/CMakeLib/DebuggerSample/script.cmake | 1 + Tests/CMakeLib/testCTestResourceAllocator.cxx | 16 +- Tests/CMakeLib/testCTestResourceSpec.cxx | 115 +- Tests/CMakeLib/testCommon.h | 30 + Tests/CMakeLib/testDebugger.h | 99 + Tests/CMakeLib/testDebuggerAdapter.cxx | 201 ++ Tests/CMakeLib/testDebuggerAdapterPipe.cxx | 184 + .../testDebuggerBreakpointManager.cxx | 172 + Tests/CMakeLib/testDebuggerNamedPipe.cxx | 218 ++ Tests/CMakeLib/testDebuggerVariables.cxx | 185 + .../CMakeLib/testDebuggerVariablesHelper.cxx | 587 +++ .../CMakeLib/testDebuggerVariablesManager.cxx | 50 + .../testGccDepfileReader_data/deps1.txt | 30 +- .../testGccDepfileReader_data/deps3.txt | 8 +- Tests/CMakeLib/testJSONHelpers.cxx | 203 +- Tests/CMakeLib/testList.cxx | 995 ++++++ Tests/CMakeLib/testRST.expect | 28 +- Tests/CMakeLib/testRST.rst | 28 +- Tests/CMakeLib/testStringAlgorithms.cxx | 3 +- Tests/CMakeLib/testSystemTools.cxx | 47 + Tests/CMakeLib/testUVProcessChain.cxx | 204 +- Tests/CMakeLib/testUVProcessChainHelper.cxx | 16 +- Tests/CMakeLib/testVisualStudioSlnParser.cxx | 1 - .../valid.sln-file | 16 - Tests/CMakeLists.txt | 115 +- .../CheckCXXCompilerFlag/CMakeLists.txt | 2 +- .../CheckCXXSymbolExists/CMakeLists.txt | 2 +- Tests/CMakeOnly/CheckLanguage/CMakeLists.txt | 2 +- .../CheckStructHasMember/CMakeLists.txt | 2 +- .../CheckSymbolExists/CMakeLists.txt | 2 +- Tests/CMakeOnly/CompilerIdOBJC/CMakeLists.txt | 2 +- .../CMakeOnly/CompilerIdOBJCXX/CMakeLists.txt | 2 +- .../LinkInterfaceLoop/CMakeLists.txt | 2 +- .../MajorVersionSelection/CMakeLists.txt | 2 +- Tests/CMakeOnly/TargetScope/CMakeLists.txt | 2 +- Tests/CMakeOnly/find_library/CMakeLists.txt | 2 +- Tests/CMakeOnly/find_path/CMakeLists.txt | 2 +- Tests/CMakeTests/EndStuffTestScript.cmake | 2 +- Tests/COnly/CMakeLists.txt | 8 +- Tests/CPackComponents/CMakeLists.txt | 2 +- Tests/CPackInnoSetupGenerator/CMakeLists.txt | 55 + Tests/CPackInnoSetupGenerator/Code.pas | 4 + .../RunCPackVerifyResult.cmake | 136 + Tests/CPackInnoSetupGenerator/main.c | 7 + Tests/CPackInnoSetupGenerator/my_bitmap.bmp | Bin 0 -> 9294 bytes Tests/CPackInnoSetupGenerator/my_file.txt | 1 + Tests/CPackTestAllGenerators/CMakeLists.txt | 2 +- Tests/CPackWiXGenerator/CMakeLists.txt | 2 +- .../TestProject/CMakeLists.txt | 2 +- Tests/CTestCoverageCollectGCOV/test.cmake.in | 2 +- Tests/CTestLimitDashJ/CMakeLists.txt | 2 +- Tests/CTestTest/SmallAndFast/CMakeLists.txt | 2 +- Tests/CTestTest2/test.cmake.in | 2 +- Tests/CTestTestBadExe/test.cmake.in | 2 +- Tests/CTestTestBadGenerator/test.cmake.in | 2 +- Tests/CTestTestChecksum/test.cmake.in | 2 +- Tests/CTestTestCostSerial/test.cmake.in | 2 +- Tests/CTestTestCrash/CMakeLists.txt | 2 +- Tests/CTestTestCrash/test.cmake.in | 2 +- Tests/CTestTestCycle/CMakeLists.txt | 2 +- Tests/CTestTestCycle/test.cmake.in | 2 +- Tests/CTestTestDepends/CMakeLists.txt | 2 +- Tests/CTestTestDepends/test.cmake.in | 2 +- .../test.cmake.in | 2 +- Tests/CTestTestFailure/CMakeLists.txt | 2 +- Tests/CTestTestFailure/testNoBuild.cmake.in | 2 +- Tests/CTestTestFailure/testNoExe.cmake.in | 2 +- Tests/CTestTestFdSetSize/test.cmake.in | 2 +- .../CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- Tests/CTestTestLaunchers/test.cmake.in | 2 +- .../CTestTestMissingDependsExe/CMakeLists.txt | 2 +- Tests/CTestTestParallel/CMakeLists.txt | 2 +- Tests/CTestTestParallel/test.cmake.in | 2 +- Tests/CTestTestResourceLock/CMakeLists.txt | 2 +- Tests/CTestTestResourceLock/test.cmake.in | 2 +- Tests/CTestTestScheduler/CMakeLists.txt | 2 +- Tests/CTestTestScheduler/test.cmake.in | 2 +- Tests/CTestTestSerialInDepends/CMakeLists.txt | 2 +- Tests/CTestTestSerialOrder/CMakeLists.txt | 2 +- Tests/CTestTestSkipReturnCode/CMakeLists.txt | 2 +- Tests/CTestTestSkipReturnCode/test.cmake.in | 2 +- Tests/CTestTestStopTime/CMakeLists.txt | 2 +- Tests/CTestTestStopTime/GetDate.cmake | 2 +- Tests/CTestTestStopTime/test.cmake.in | 2 +- Tests/CTestTestSubdir/CMakeLists.txt | 2 +- Tests/CTestTestSubdir/test.cmake.in | 2 +- Tests/CTestTestTimeout/test.cmake.in | 2 +- Tests/CTestTestUpload/CMakeLists.txt | 2 +- Tests/CTestTestUpload/test.cmake.in | 2 +- Tests/CTestTestVerboseOutput/CMakeLists.txt | 2 +- Tests/CTestTestVerboseOutput/test.cmake.in | 2 +- Tests/CTestTestZeroTimeout/CMakeLists.txt | 8 - Tests/CTestTestZeroTimeout/CTestConfig.cmake | 4 - Tests/CTestTestZeroTimeout/sleep.c | 16 - Tests/CTestTestZeroTimeout/test.cmake.in | 22 - .../CMakeLists.txt | 2 +- Tests/CheckFortran.cmake | 2 +- Tests/CompileDefinitions/CMakeLists.txt | 2 +- Tests/CompileFeatures/default_dialect.c | 3 +- Tests/Contracts/Trilinos/CMakeLists.txt | 2 +- Tests/Contracts/VTK/CMakeLists.txt | 2 +- Tests/Cuda/Complex/CMakeLists.txt | 3 +- Tests/CudaOnly/CMakeLists.txt | 3 + Tests/CudaOnly/CUBIN/CMakeLists.txt | 29 + Tests/CudaOnly/CUBIN/kernelA.cu | 7 + Tests/CudaOnly/CUBIN/kernelB.cu | 7 + Tests/CudaOnly/CUBIN/kernelC.cu | 7 + Tests/CudaOnly/CUBIN/main.cu | 58 + Tests/CudaOnly/CUBIN/main_no_native_archs.cu | 4 + Tests/CudaOnly/DeviceLTO/CMakeLists.txt | 11 +- Tests/CudaOnly/Fatbin/CMakeLists.txt | 25 + Tests/CudaOnly/Fatbin/main.cu | 58 + Tests/CudaOnly/OptixIR/CMakeLists.txt | 33 + Tests/CudaOnly/OptixIR/main.cu | 53 + .../RuntimeControls/verify_runtime.cmake | 2 +- .../SharedRuntimePlusToolkit/CMakeLists.txt | 3 +- .../SharedRuntimeViaCUDAFlags/CMakeLists.txt | 3 +- .../StaticRuntimePlusToolkit/CMakeLists.txt | 3 +- Tests/CustomCommand/CMakeLists.txt | 2 +- .../External/CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- Tests/CxxDialect/CMakeLists.txt | 3 +- Tests/CxxOnly/CMakeLists.txt | 2 +- Tests/Dependency/CMakeLists.txt | 2 +- Tests/EmptyDepends/CMakeLists.txt | 2 +- Tests/EnforceConfig.cmake.in | 5 +- Tests/ExportImport/Export/CMakeLists.txt | 10 + Tests/ExportImport/Export/testLib2.c | 4 + .../Import/try_compile/CMakeLists.txt | 2 +- Tests/ExternalProject/CMakeLists.txt | 2 +- Tests/ExternalProject/Example/CMakeLists.txt | 2 +- Tests/ExternalProjectLocal/CMakeLists.txt | 2 +- Tests/ExternalProjectUpdate/CMakeLists.txt | 7 +- .../ExternalProjectUpdateTest.cmake | 42 +- Tests/FindBLAS/Test/CMakeLists.txt | 2 +- Tests/FindBZip2/Test/CMakeLists.txt | 2 +- Tests/FindBoost/Test/CMakeLists.txt | 2 +- Tests/FindBoost/TestFail/CMakeLists.txt | 2 +- Tests/FindBoost/TestHeaders/CMakeLists.txt | 2 +- Tests/FindDevIL/Test/CMakeLists.txt | 2 +- Tests/FindGIF/Test/CMakeLists.txt | 2 +- Tests/FindGLEW/Test/CMakeLists.txt | 2 +- Tests/FindGSL/rng/CMakeLists.txt | 2 +- Tests/FindGTK2/atk/CMakeLists.txt | 2 +- Tests/FindGTK2/atkmm/CMakeLists.txt | 2 +- Tests/FindGTK2/cairo/CMakeLists.txt | 2 +- Tests/FindGTK2/cairomm/CMakeLists.txt | 2 +- Tests/FindGTK2/gdk/CMakeLists.txt | 2 +- Tests/FindGTK2/gdk_pixbuf/CMakeLists.txt | 2 +- Tests/FindGTK2/gdkmm/CMakeLists.txt | 2 +- Tests/FindGTK2/gio/CMakeLists.txt | 2 +- Tests/FindGTK2/giomm/CMakeLists.txt | 2 +- Tests/FindGTK2/glib/CMakeLists.txt | 2 +- Tests/FindGTK2/glibmm/CMakeLists.txt | 2 +- Tests/FindGTK2/gmodule/CMakeLists.txt | 2 +- Tests/FindGTK2/gobject/CMakeLists.txt | 2 +- Tests/FindGTK2/gthread/CMakeLists.txt | 2 +- Tests/FindGTK2/gtk/CMakeLists.txt | 2 +- Tests/FindGTK2/gtkmm/CMakeLists.txt | 2 +- Tests/FindGTK2/pango/CMakeLists.txt | 2 +- Tests/FindGTK2/pangocairo/CMakeLists.txt | 2 +- Tests/FindGTK2/pangoft2/CMakeLists.txt | 2 +- Tests/FindGTK2/pangomm/CMakeLists.txt | 2 +- Tests/FindGTK2/pangoxft/CMakeLists.txt | 2 +- Tests/FindGTK2/sigc++/CMakeLists.txt | 2 +- Tests/FindGTest/Test/CMakeLists.txt | 2 +- Tests/FindGnuTLS/Test/CMakeLists.txt | 2 +- Tests/FindHDF5/CMakeLists.txt | 87 + Tests/FindHDF5/Test/CMakeLists.txt | 106 + Tests/FindHDF5/Test/test_C.c | 12 + Tests/FindHDF5/Test/test_CXX.cxx | 14 + Tests/FindHDF5/Test/test_Fortran.f90 | 6 + Tests/FindICU/Test/CMakeLists.txt | 2 +- Tests/FindImageMagick/Test/CMakeLists.txt | 2 +- Tests/FindJPEG/Test/CMakeLists.txt | 2 +- Tests/FindJsonCpp/Test/CMakeLists.txt | 2 +- Tests/FindLAPACK/Test/CMakeLists.txt | 2 +- Tests/FindLibLZMA/Test/CMakeLists.txt | 2 +- Tests/FindLibXml2/Test/CMakeLists.txt | 2 +- Tests/FindLibXslt/Test/CMakeLists.txt | 2 +- Tests/FindMPI/CMakeLists.txt | 3 + Tests/FindMatlab/basic_checks/CMakeLists.txt | 2 +- .../components_checks/CMakeLists.txt | 2 +- .../FindMatlab/failure_reports/CMakeLists.txt | 2 +- .../no_implicit_link_checks/CMakeLists.txt | 2 +- Tests/FindMatlab/r2018a_check/CMakeLists.txt | 2 +- .../FindMatlab/targets_checks/CMakeLists.txt | 2 +- .../FindMatlab/versions_checks/CMakeLists.txt | 2 +- Tests/FindODBC/Test/CMakeLists.txt | 2 +- Tests/FindOpenAL/Test/CMakeLists.txt | 6 + Tests/FindOpenAL/Test/main.cxx | 14 +- Tests/FindOpenCL/Test/CMakeLists.txt | 2 +- Tests/FindOpenGL/Test/CMakeLists.txt | 129 +- Tests/FindOpenGL/Test/main_gles2.c | 17 + Tests/FindOpenGL/Test/main_gles3.c | 17 + Tests/FindOpenSP/Test/CMakeLists.txt | 2 +- Tests/FindOpenSSL/rand/CMakeLists.txt | 2 +- Tests/FindPNG/Test/CMakeLists.txt | 2 +- Tests/FindPatch/CMakeLists.txt | 1 + .../ArtifactsInteractive/CMakeLists.txt | 2 +- .../CustomFailureMessage/CMakeLists.txt | 2 +- .../CustomFailureMessage/Check/CMakeLists.txt | 2 +- .../DifferentComponents/CMakeLists.txt | 2 +- Tests/FindPython/ExactVersion/CMakeLists.txt | 2 +- .../FindPython/Implementation/CMakeLists.txt | 2 +- Tests/FindPython/IronPython/CMakeLists.txt | 2 +- Tests/FindPython/IronPython2/CMakeLists.txt | 2 +- .../MultiplePackages/CMakeLists.txt | 2 +- Tests/FindPython/NumPy/CMakeLists.txt | 2 +- Tests/FindPython/NumPyOnly/CMakeLists.txt | 2 +- Tests/FindPython/PyPy/CMakeLists.txt | 2 +- Tests/FindPython/PyPy2/CMakeLists.txt | 2 +- Tests/FindPython/PyPy3/CMakeLists.txt | 2 +- Tests/FindPython/Python/CMakeLists.txt | 2 +- Tests/FindPython/Python2/CMakeLists.txt | 2 +- .../FindPython/Python2Embedded/CMakeLists.txt | 2 +- Tests/FindPython/Python2Fail/CMakeLists.txt | 2 +- Tests/FindPython/Python2Module/CMakeLists.txt | 2 +- .../Python2SABIModule/CMakeLists.txt | 2 +- Tests/FindPython/Python3/CMakeLists.txt | 2 +- .../FindPython/Python3Embedded/CMakeLists.txt | 2 +- Tests/FindPython/Python3Fail/CMakeLists.txt | 2 +- Tests/FindPython/Python3Module/CMakeLists.txt | 2 +- .../RequiredArtifacts/CMakeLists.txt | 2 +- .../RequiredArtifacts/Check/CMakeLists.txt | 2 +- Tests/FindPython/SOABI/CMakeLists.txt | 2 +- Tests/FindPython/VirtualEnv/CMakeLists.txt | 2 +- .../FindPython/VirtualEnvConda/CMakeLists.txt | 2 +- Tests/FindSDL/Test/CMakeLists.txt | 2 +- Tests/FindSQLite3/Test/CMakeLists.txt | 2 +- Tests/FindTIFF/Test/CMakeLists.txt | 2 +- Tests/FindThreads/C-only/CMakeLists.txt | 2 +- Tests/FindThreads/CXX-only/CMakeLists.txt | 2 +- Tests/FindVulkan/Test/CMakeLists.txt | 2 +- Tests/FindX11/Test/CMakeLists.txt | 57 +- Tests/FindX11/Test/main.c | 552 ++- Tests/FindXalanC/Test/CMakeLists.txt | 2 +- Tests/FindXercesC/Test/CMakeLists.txt | 2 +- Tests/FindwxWidgets/CMakeLists.txt | 10 + Tests/FindwxWidgets/Test/CMakeLists.txt | 17 + Tests/FindwxWidgets/Test/main.cpp | 7 + Tests/Fortran/CMakeLists.txt | 2 +- Tests/FortranC/CMakeLists.txt | 2 +- Tests/FortranOnly/CMakeLists.txt | 19 +- Tests/Framework/CMakeLists.txt | 2 +- Tests/FunctionTest/CMakeLists.txt | 2 +- Tests/GeneratorExpression/CMakeLists.txt | 16 + Tests/GeneratorExpression/check-part3.cmake | 1 + .../ChainedStaticLibraries/CMakeLists.txt | 11 +- Tests/ISPC/CustomHeaderSuffix/CMakeLists.txt | 6 +- Tests/ISPC/Defines/CMakeLists.txt | 7 +- Tests/ISPC/DynamicLibrary/CMakeLists.txt | 9 +- Tests/ISPC/ObjectGenex/CMakeLists.txt | 11 +- Tests/ISPC/ObjectLibrary/CMakeLists.txt | 6 +- Tests/ISPC/ResponseAndDefine/CMakeLists.txt | 12 +- Tests/ISPC/StaticLibrary/CMakeLists.txt | 10 +- Tests/ISPC/SystemIncludes/CMakeLists.txt | 11 +- .../SystemIncludeDirectories/CMakeLists.txt | 2 +- .../TargetIncludeDirectories/CMakeLists.txt | 2 +- Tests/InterfaceLibrary/CMakeLists.txt | 2 +- Tests/JCTest/CMakeLists.txt | 2 +- Tests/Java/CMakeLists.txt | 2 +- Tests/JavaJavah/CMakeLists.txt | 2 +- Tests/JavaNativeHeaders/CMakeLists.txt | 2 +- Tests/LinkDirectory/CMakeLists.txt | 2 +- Tests/LinkDirectory/External/CMakeLists.txt | 2 +- Tests/LinkFlags/CMakeLists.txt | 7 +- .../LoadCommand/CMakeCommands/CMakeLists.txt | 2 +- Tests/LoadCommand/CMakeLists.txt | 3 +- .../CMakeCommands/CMakeLists.txt | 2 +- Tests/LoadCommandOneConfig/CMakeLists.txt | 3 +- Tests/MFC/CMakeLists.txt | 2 +- Tests/MFC/CMakeLists.txt.in | 2 +- Tests/MFC/try_compile/CMakeLists.txt | 2 +- Tests/MSManifest/Subdir/CMakeLists.txt | 5 + Tests/MSManifest/Subdir2/CMakeLists.txt | 10 + Tests/MacRuntimePath/A/CMakeLists.txt | 2 +- Tests/MacRuntimePath/B/CMakeLists.txt | 2 +- Tests/MakeClean/CMakeLists.txt | 2 +- Tests/MissingSourceFile/CMakeLists.txt | 2 +- Tests/Module/ExternalData/Data1Check.cmake | 26 +- .../ExternalData/Data2/Data2Check.cmake | 4 +- .../ExternalData/Data3/Data3Check.cmake | 4 +- .../ExternalData/Data4/Data4Check.cmake | 4 +- .../ExternalData/Data5/Data5Check.cmake | 2 +- .../DataNoSymlinks/DataNoSymlinksCheck.cmake | 2 +- Tests/ModuleDefinition/CMakeLists.txt | 2 +- Tests/NewlineArgs/CMakeLists.txt | 2 +- Tests/ObjectLibrary/CMakeLists.txt | 2 +- .../ExportLanguages/CMakeLists.txt | 2 +- .../ExportLanguagesTest/CMakeLists.txt | 2 +- Tests/OutDir/CMakeLists.txt | 2 +- Tests/PDBDirectoryAndName/CMakeLists.txt | 3 +- Tests/Plugin/CMakeLists.txt | 3 +- Tests/Plugin/PluginTest/CMakeLists.txt | 2 +- .../PositionIndependentTargets/CMakeLists.txt | 2 +- Tests/Preprocess/CMakeLists.txt | 4 +- Tests/Qt4And5Automoc/CMakeLists.txt | 2 +- Tests/Qt4Targets/CMakeLists.txt | 2 +- .../Qt4Targets/IncrementalMoc/CMakeLists.txt | 2 +- .../AutoMocGeneratedFile/CMakeLists.txt | 23 + Tests/QtAutogen/AutoMocGeneratedFile/main.cpp | 7 + .../GlobalAutogenExecutable/CMakeLists.txt | 30 + .../GlobalAutogenExecutable/main.cpp | 4 + .../CMakeLists.txt | 28 + .../GlobalAutogenSystemUseInclude/main.cpp | 4 + .../MocInterfaceMacroNames/CMakeLists.txt | 61 + .../CheckAutogenJson.cmake | 27 + .../CheckExportTargets.cmake | 45 + .../MocInterfaceMacroNames/dummy.cpp | 4 + .../MocInterfaceMacroNames/shared_lib.cpp | 6 + .../MocInterfaceMacroNames/static_lib.cpp | 3 + Tests/QtAutogen/MocOptions2/CMakeLists.txt | 10 + Tests/QtAutogen/MocOptions2/main.cpp | 7 + Tests/QtAutogen/MocOptions2/object.cpp | 5 + Tests/QtAutogen/MocOptions2/object.hpp | 15 + .../RccAutogenBuildDir/CMakeLists.txt | 33 + Tests/QtAutogen/RccAutogenBuildDir/lib.cpp | 6 + Tests/QtAutogen/RccAutogenBuildDir/lib.h | 6 + Tests/QtAutogen/RccAutogenBuildDir/main.cpp | 7 + .../QtAutogen/RccAutogenBuildDir/resource.qrc | 2 + Tests/QtAutogen/Tests.cmake | 10 +- Tests/QtAutomocNoQt/CMakeLists.txt | 2 +- Tests/ReturnTest/CMakeLists.txt | 2 +- Tests/RunCMake/AddRunCMakeTest.cmake | 10 + .../RunCMake/AppleSilicon/RunCMakeTest.cmake | 8 +- .../default-target-arm64-build-check.cmake | 5 + .../AppleSilicon/default-target-arm64.cmake | 5 + .../default-target-x86_64-build-check.cmake | 5 + .../AppleSilicon/default-target-x86_64.cmake | 5 + Tests/RunCMake/AppleTextStubs/CMakeLists.txt | 3 + .../AppleTextStubs/Framework-export.cmake | 12 + .../AppleTextStubs/Framework-import.cmake | 62 + .../Framework-install-check.cmake | 1 + Tests/RunCMake/AppleTextStubs/Framework.cmake | 59 + .../AppleTextStubs/Library-export.cmake | 12 + .../AppleTextStubs/Library-import.cmake | 54 + .../LibraryWithOutputs-install-check.cmake | 1 + .../AppleTextStubs/LibraryWithOutputs.cmake | 55 + .../LibraryWithVersions-install-check.cmake | 1 + .../AppleTextStubs/LibraryWithVersions.cmake | 96 + .../AppleTextStubs/RunCMakeTest.cmake | 63 + .../AppleTextStubs/Simple-install-check.cmake | 1 + Tests/RunCMake/AppleTextStubs/Simple.cmake | 41 + .../AppleTextStubs/foo-config.cmake.in | 1 + Tests/RunCMake/AppleTextStubs/foo.c | 5 + Tests/RunCMake/AppleTextStubs/main.c | 7 + Tests/RunCMake/AutoExportDll/CMakeLists.txt | 2 +- Tests/RunCMake/AutoExportDll/hello.cxx | 9 + Tests/RunCMake/AutoExportDll/hello.h | 17 + Tests/RunCMake/AutoExportDll/say.cxx | 3 + .../AutogenSkipLinting-build-stderr.txt | 1 + .../RunCMake/Autogen/AutogenSkipLinting.cmake | 16 + .../AutogenUseSystemIncludeCommon.cmake | 10 + .../Autogen/AutogenUseSystemIncludeOff.cmake | 3 + .../Autogen/AutogenUseSystemIncludeOn.cmake | 3 + Tests/RunCMake/Autogen/CMP0151-common.cmake | 10 + Tests/RunCMake/Autogen/CMP0151-new.cmake | 1 + Tests/RunCMake/Autogen/CMP0151-old.cmake | 1 + Tests/RunCMake/Autogen/Inspect.cmake | 13 + Tests/RunCMake/Autogen/MocGeneratedFile.cmake | 15 + .../Autogen/MocPredefs-build-stderr.txt | 1 + Tests/RunCMake/Autogen/MocPredefs-check.cxx | 60 + .../RunCMake/Autogen/MocPredefs-prefix.cmake | 3 + Tests/RunCMake/Autogen/MocPredefs.cmake | 39 + Tests/RunCMake/Autogen/MocPredefs.cxx | 3 + Tests/RunCMake/Autogen/RunCMakeTest.cmake | 107 + Tests/RunCMake/Autogen/SkipLinting.cxx | 6 + Tests/RunCMake/Autogen/SkipLinting.h | 11 + Tests/RunCMake/BuildDepends/CMakeLists.txt | 2 +- .../FortranInclude-build1-stderr.txt | 1 + .../FortranInclude-build2-stderr.txt | 1 + .../BuildDepends/FortranInclude.cmake | 20 + .../BuildDepends/FortranInclude.step1.cmake | 2 + .../BuildDepends/FortranInclude.step2.cmake | 2 + .../BuildDepends/FortranIncludeNoPreprocess.f | 3 + .../BuildDepends/FortranIncludePreprocess.F | 3 + Tests/RunCMake/BuildDepends/LinkDepends.cmake | 22 + .../BuildDepends/LinkDepends.step1.cmake | 23 + .../BuildDepends/LinkDepends.step2.cmake | 4 + .../BuildDepends/LinkDependsCheck.cmake | 12 + .../LinkDependsExternalLibrary.cmake | 13 + .../LinkDependsExternalLibrary.step1.cmake | 11 + .../RunCMake/BuildDepends/RunCMakeTest.cmake | 16 + Tests/RunCMake/BundleUtilities/CMakeLists.txt | 2 +- .../BundleUtilities/RunCMakeTest.cmake | 1 - .../RunCMake/Byproducts/CleanByproducts.cmake | 4 +- Tests/RunCMake/CMP0004/CMP0004-NEW.cmake | 3 - Tests/RunCMake/CMP0004/CMP0004-OLD.cmake | 3 - .../CMP0004/CMP0004-policy-genex.cmake | 3 - Tests/RunCMake/CMP0004/CMakeLists.txt | 2 +- Tests/RunCMake/CMP0019/CMP0019-NEW-stderr.txt | 6 - Tests/RunCMake/CMP0019/CMP0019-OLD-stderr.txt | 11 +- .../RunCMake/CMP0019/CMP0019-WARN-stderr.txt | 9 +- Tests/RunCMake/CMP0019/RunCMakeTest.cmake | 1 + .../CMP0022/CMP0022-NOWARN-exe-stderr.txt | 6 - .../CMP0022/CMP0022-NOWARN-shared-stderr.txt | 6 - .../CMP0022-NOWARN-static-NEW-stderr.txt | 6 - ...22-NOWARN-static-link_libraries-stderr.txt | 6 - .../CMP0022/CMP0022-NOWARN-static-stderr.txt | 6 - .../CMP0022/CMP0022-WARN-empty-old-stderr.txt | 9 +- .../RunCMake/CMP0022/CMP0022-WARN-stderr.txt | 9 +- .../CMP0022/CMP0022-export-exe-stderr.txt | 6 - Tests/RunCMake/CMP0022/RunCMakeTest.cmake | 1 + .../CMP0026/CMP0026-IMPORTED-stderr.txt | 10 + Tests/RunCMake/CMP0026/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0037/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0038/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0039/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0040/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0041/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0042/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0043/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0045/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0046/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0049/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0050/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0051/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0053/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0054/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0055/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0057/RunCMakeTest.cmake | 1 + .../CMP0060/CMP0060-WARN-ON-stderr.txt | 2 +- Tests/RunCMake/CMP0060/CMakeLists.txt | 3 +- Tests/RunCMake/CMP0060/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0064/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0065/RunCMakeTest.cmake | 1 + Tests/RunCMake/CMP0081/CMakeLists.txt | 2 +- Tests/RunCMake/CMP0102/CMakeLists.txt | 2 +- Tests/RunCMake/CMP0106/CMakeLists.txt | 2 +- Tests/RunCMake/CMP0111/CMP0111-OLD-stderr.txt | 10 + Tests/RunCMake/CMP0115/CMP0115-OLD-stderr.txt | 8 +- .../RunCMake/CMP0115/CMP0115-WARN-stderr.txt | 8 +- .../CMP0118/CMP0118-NEW-Test1-stderr.txt | 2 +- .../CMP0118/CMP0118-NEW-Test3-stderr.txt | 8 +- .../CMP0118/CMP0118-NEW-Test3b-stderr.txt | 8 +- .../CMP0118/CMP0118-NEW-Test4-stderr.txt | 10 +- .../CMP0118/CMP0118-NEW-Test4b-stderr.txt | 10 +- .../CMP0118/CMP0118-NEW-Test5-stderr.txt | 14 +- .../CMP0118/CMP0118-NEW-Test7-stderr.txt | 6 +- .../CMP0118/CMP0118-NEW-Test9-stderr.txt | 6 +- .../CMP0118/CMP0118-OLD-Test1-stderr.txt | 2 +- .../CMP0118/CMP0118-OLD-Test10-stderr.txt | 2 +- .../CMP0118/CMP0118-OLD-Test11-stderr.txt | 6 +- .../CMP0118/CMP0118-OLD-Test14-stderr.txt | 2 +- .../CMP0118/CMP0118-OLD-Test15-stderr.txt | 6 +- .../CMP0118/CMP0118-OLD-Test3-stderr.txt | 8 +- .../CMP0118/CMP0118-OLD-Test3b-stderr.txt | 8 +- .../CMP0118/CMP0118-OLD-Test4-stderr.txt | 10 +- .../CMP0118/CMP0118-OLD-Test4b-stderr.txt | 10 +- .../CMP0118/CMP0118-OLD-Test5-stderr.txt | 14 +- .../CMP0118/CMP0118-OLD-Test6-stderr.txt | 2 +- .../CMP0118/CMP0118-OLD-Test7-stderr.txt | 10 +- .../CMP0118/CMP0118-OLD-Test8-stderr.txt | 2 +- .../CMP0118/CMP0118-OLD-Test9-stderr.txt | 6 +- .../CMP0118/CMP0118-WARN-Test1-stderr.txt | 2 +- .../CMP0118/CMP0118-WARN-Test10-stderr.txt | 2 +- .../CMP0118/CMP0118-WARN-Test11-stderr.txt | 6 +- .../CMP0118/CMP0118-WARN-Test14-stderr.txt | 2 +- .../CMP0118/CMP0118-WARN-Test15-stderr.txt | 6 +- .../CMP0118/CMP0118-WARN-Test3-stderr.txt | 8 +- .../CMP0118/CMP0118-WARN-Test3b-stderr.txt | 8 +- .../CMP0118/CMP0118-WARN-Test4-stderr.txt | 10 +- .../CMP0118/CMP0118-WARN-Test4b-stderr.txt | 10 +- .../CMP0118/CMP0118-WARN-Test5-stderr.txt | 14 +- .../CMP0118/CMP0118-WARN-Test6-stderr.txt | 2 +- .../CMP0118/CMP0118-WARN-Test7-stderr.txt | 10 +- .../CMP0118/CMP0118-WARN-Test8-stderr.txt | 2 +- .../CMP0118/CMP0118-WARN-Test9-stderr.txt | 6 +- .../CMP0118/GenInSubdir-OLD-stderr.txt | 5 +- .../CMP0118/GenInSubdir-WARN-stderr.txt | 5 +- .../CMP0121/CMP0121-ERANGE-OLD-stderr.txt | 2 +- .../CMP0121/CMP0121-ERANGE-WARN-stderr.txt | 4 +- Tests/RunCMake/CMP0139/CMakeLists.txt | 2 +- .../CMP0150/CMP0150-NEW-build-stdout.txt | 7 + .../CMP0150/CMP0150-NEW-resolve.cmake | 107 + Tests/RunCMake/CMP0150/CMP0150-NEW-stdout.txt | 4 + Tests/RunCMake/CMP0150/CMP0150-NEW.cmake | 45 + .../CMP0150/CMP0150-OLD-build-stdout.txt | 3 + .../RunCMake/CMP0150/CMP0150-OLD-common.cmake | 21 + Tests/RunCMake/CMP0150/CMP0150-OLD-stdout.txt | 3 + Tests/RunCMake/CMP0150/CMP0150-OLD.cmake | 2 + .../CMP0150/CMP0150-WARN-build-stdout.txt | 3 + .../RunCMake/CMP0150/CMP0150-WARN-stderr.txt | 25 + .../RunCMake/CMP0150/CMP0150-WARN-stdout.txt | 3 + Tests/RunCMake/CMP0150/CMP0150-WARN.cmake | 2 + Tests/RunCMake/CMP0150/CMakeLists.txt | 27 + Tests/RunCMake/CMP0150/CMakeLists.txt.in | 23 + Tests/RunCMake/CMP0150/RunCMakeTest.cmake | 17 + Tests/RunCMake/CMakeLists.txt | 53 +- .../RunCMake/CMakePresets/Comment-stderr.txt | 5 +- .../CMakePresets/ConditionFuture-stderr.txt | 3 +- .../CyclicInheritance0-stderr.txt | 3 +- .../CyclicInheritance1-stderr.txt | 3 +- .../CyclicInheritance2-stderr.txt | 3 +- .../CMakePresets/DuplicatePresets-stderr.txt | 3 +- .../CMakePresets/EmptyCacheKey-stderr.txt | 3 +- .../RunCMake/CMakePresets/EmptyEnv-stderr.txt | 3 +- .../CMakePresets/EmptyEnvKey-stderr.txt | 3 +- .../CMakePresets/EmptyPenv-stderr.txt | 3 +- .../EmptyPenvInInclude-result.txt} | 0 .../EmptyPenvInInclude-stderr.txt | 5 + .../CMakePresets/EmptyPenvInInclude.json.in | 11 + .../CMakePresets/EmptyPresetName-stderr.txt | 8 +- .../RunCMake/CMakePresets/EnvCycle-stderr.txt | 4 +- .../ErrorNoWarningDeprecated-stderr.txt | 3 +- .../CMakePresets/ErrorNoWarningDev-stderr.txt | 3 +- .../ExplicitNoTrace.cmake} | 0 .../CMakePresets/ExtraPresetField-stderr.txt | 5 +- .../CMakePresets/ExtraRootField-stderr.txt | 5 +- .../ExtraVariableField-stderr.txt | 5 +- .../CMakePresets/FileDirFuture-stderr.txt | 3 +- .../FuturePresetInstallDirField-stderr.txt | 3 +- .../FuturePresetToolchainField-stderr.txt | 3 +- .../CMakePresets/HighVersion-stderr.txt | 5 +- .../HostSystemNameFuture-stderr.txt | 3 +- .../CMakePresets/IncludeCycle-stderr.txt | 4 +- .../IncludeCycle3Files-stderr.txt | 6 +- .../CMakePresets/IncludeExpansion-stdout.txt | 5 + .../CMakePresets/IncludeExpansion.json.in | 10 + .../CMakePresets/IncludeNotFound-stderr.txt | 7 +- .../CMakePresets/IncludeV3-stderr.txt | 3 +- .../CMakePresets/IncludeV4V3-stderr.txt | 3 +- .../InvalidArchitectureStrategy-stderr.txt | 5 +- .../InvalidInheritance-stderr.txt | 3 +- .../InvalidPresetBinaryDir-stderr.txt | 5 +- .../InvalidPresetGenerator-stderr.txt | 5 +- .../CMakePresets/InvalidPresetName-stderr.txt | 5 +- .../InvalidPresetVendor-stderr.txt | 5 +- .../CMakePresets/InvalidPresets-stderr.txt | 5 +- .../CMakePresets/InvalidRegex-stderr.txt | 4 +- .../CMakePresets/InvalidRoot-stderr.txt | 5 +- .../InvalidToolsetStrategy-stderr.txt | 5 +- .../InvalidVariableValue-stderr.txt | 5 +- .../CMakePresets/InvalidVariables-stderr.txt | 5 +- .../CMakePresets/InvalidVendor-stderr.txt | 5 +- .../CMakePresets/InvalidVersion-stderr.txt | 5 +- .../CMakePresets/JSONParseError-stderr.txt | 10 +- .../CMakePresets/LowVersion-stderr.txt | 5 +- .../MinimumRequiredInvalid-stderr.txt | 5 +- .../MinimumRequiredMajor-stderr.txt | 5 +- .../MinimumRequiredMinor-stderr.txt | 5 +- .../MinimumRequiredPatch-stderr.txt | 5 +- .../CMakePresets/NoCMakePresets-stderr.txt | 4 +- .../CMakePresets/NoPresetBinaryDir-stderr.txt | 4 +- .../CMakePresets/NoPresetGenerator-stderr.txt | 4 +- .../CMakePresets/NoPresetName-stderr.txt | 5 +- .../CMakePresets/NoSuchMacro-stderr.txt | 3 +- Tests/RunCMake/CMakePresets/NoTrace.cmake | 0 .../CMakePresets/NoVariableValue-stderr.txt | 5 +- .../CMakePresets/NoVersion-stderr.txt | 3 +- .../CMakePresets/PathListSepFuture-stderr.txt | 3 +- .../CMakePresets/PresetNotObject-stderr.txt | 5 +- .../RunCMake/CMakePresets/RunCMakeTest.cmake | 20 + .../CMakePresets/SubConditionNull-stderr.txt | 3 +- Tests/RunCMake/CMakePresets/Trace-stderr.txt | 4 + Tests/RunCMake/CMakePresets/Trace.cmake | 0 Tests/RunCMake/CMakePresets/Trace.json.in | 69 + Tests/RunCMake/CMakePresets/TraceAll.cmake | 4 + .../CMakePresets/TraceExpand-stderr.txt | 4 + Tests/RunCMake/CMakePresets/TraceExpand.cmake | 0 .../CMakePresets/TraceFormatHuman-stderr.txt | 4 + .../CMakePresets/TraceFormatHuman.cmake | 0 .../CMakePresets/TraceFormatJSON-stderr.txt | 3 + .../CMakePresets/TraceFormatJSON.cmake | 0 .../TraceNotSupported-result.txt} | 0 .../CMakePresets/TraceNotSupported-stderr.txt | 3 + .../CMakePresets/TraceNotSupported.json.in | 13 + .../RunCMake/CMakePresets/TraceRedirect.cmake | 0 Tests/RunCMake/CMakePresets/TraceSource.cmake | 0 .../CMakePresets/UnclosedMacro-stderr.txt | 3 +- .../UnknownArchitectureStrategy-stderr.txt | 5 +- .../UnknownToolsetStrategy-stderr.txt | 5 +- .../UserDuplicateCross-stderr.txt | 3 +- .../UserDuplicateInUser-stderr.txt | 3 +- .../CMakePresets/UserInheritance-stderr.txt | 3 +- .../CMakePresets/VariableNotObject-stderr.txt | 5 +- .../RunCMake/CMakePresets/validate_schema.py | 6 +- ...ionFuture-build-conditionFuture-stderr.txt | 3 +- ...figurePresetUnreachable-build-x-stderr.txt | 3 +- ...Preset-build-badConfigurePreset-stderr.txt | 3 +- ...nfigurePreset-configure-default-stderr.txt | 3 +- ...ePreset-build-noConfigurePreset-stderr.txt | 3 +- .../PresetsUnsupported-build-x-stderr.txt | 3 +- .../UnsupportedVersion-configure-x-stderr.txt | 3 +- .../ConditionFuture-test-x-stderr.txt | 3 +- ...nfigurePresetUnreachable-test-x-stderr.txt | 3 +- ...nfigurePreset-configure-default-stderr.txt | 3 +- ...ePreset-test-badConfigurePreset-stderr.txt | 3 +- ...rePreset-test-noConfigurePreset-stderr.txt | 3 +- .../OutputJUnitUnsupported-test-x-stderr.txt | 3 +- .../PresetsUnsupported-test-x-stderr.txt | 3 +- ...putTruncationUnsupported-test-x-stderr.txt | 3 +- .../ConfigureStepMismatch-stderr.txt | 3 +- .../FirstStepNotConfigure-stderr.txt | 3 +- .../NoWorkflowSteps-stderr.txt | 3 +- .../NonexistentStep-stderr.txt | 3 +- .../SecondStepConfigure-stderr.txt | 3 +- .../UnreachableStep-stderr.txt | 3 +- .../UnsupportedVersion-stderr.txt | 3 +- Tests/RunCMake/CPack/CMakeLists.txt | 6 +- Tests/RunCMake/CPack/RunCMakeTest.cmake | 2 +- Tests/RunCMake/CPackConfig/CMakeLists.txt | 2 +- .../CPackInstallProperties/CMakeLists.txt | 2 +- Tests/RunCMake/CPackSymlinks/testcpacksym.tar | Bin 20480 -> 10240 bytes .../CSharpCustomCommand/CMakeLists.txt | 2 +- .../CSharpReferenceImport/CMakeLists.txt | 2 +- .../CTest/CMP0145-Dart-NEW-result.txt | 1 + .../CTest/CMP0145-Dart-NEW-stderr.txt | 6 + Tests/RunCMake/CTest/CMP0145-Dart-NEW.cmake | 2 + Tests/RunCMake/CTest/CMP0145-Dart-OLD.cmake | 7 + .../CTest/CMP0145-Dart-WARN-stderr.txt | 18 + Tests/RunCMake/CTest/CMP0145-Dart-WARN.cmake | 7 + .../CTest/CMP0145-FindDart-NEW-result.txt | 1 + .../CTest/CMP0145-FindDart-NEW-stderr.txt | 6 + .../RunCMake/CTest/CMP0145-FindDart-NEW.cmake | 2 + .../RunCMake/CTest/CMP0145-FindDart-OLD.cmake | 7 + .../CTest/CMP0145-FindDart-WARN-stderr.txt | 8 + .../CTest/CMP0145-FindDart-WARN.cmake | 7 + Tests/RunCMake/CTest/CMakeLists.txt | 2 +- Tests/RunCMake/CTest/RunCMakeTest.cmake | 7 + .../RunCMake/CTestCommandLine/CMakeLists.txt | 2 +- .../CTestCommandLine/RunCMakeTest.cmake | 29 + .../TimeoutSignalBad-result.txt | 1 + .../TimeoutSignalBad-stderr.txt | 1 + .../TimeoutSignalBad-stdout.txt | 5 + .../TimeoutSignalWindows-result.txt | 1 + .../TimeoutSignalWindows-stderr.txt | 1 + .../TimeoutSignalWindows-stdout.txt | 4 + Tests/RunCMake/CTestCommandLine/test.cmake.in | 2 +- .../CTestResourceAllocation/ctresalloc.cxx | 6 +- Tests/RunCMake/CTestTimeout/CMakeLists.txt.in | 6 +- .../RunCMake/CTestTimeout/RunCMakeTest.cmake | 73 +- .../RunCMake/CTestTimeout/Signal-check.cmake | 11 + Tests/RunCMake/CTestTimeout/Signal-stdout.txt | 6 + .../CTestTimeout/SignalGraceHigh-check.cmake | 11 + .../CTestTimeout/SignalGraceHigh-stdout.txt | 3 + .../CTestTimeout/SignalGraceLow-check.cmake | 11 + .../CTestTimeout/SignalGraceLow-stdout.txt | 3 + .../CTestTimeout/SignalIgnore-check.cmake | 11 + .../CTestTimeout/SignalIgnore-stdout.txt | 6 + .../CTestTimeout/SignalUnknown-check.cmake | 11 + .../CTestTimeout/SignalUnknown-stdout.txt | 3 + .../CTestTimeout/SignalWindows-check.cmake | 11 + .../CTestTimeout/SignalWindows-stdout.txt | 4 + Tests/RunCMake/CTestTimeout/TestTimeout.c | 47 + .../CTestTimeout/ZeroOverridesFlag-stdout.txt | 6 + .../CTestTimeout/ZeroOverridesVar-stdout.txt | 6 + .../CTestTimeoutAfterMatch/CMakeLists.txt.in | 2 +- .../CTestTimeoutAfterMatch/test.cmake.in | 2 +- Tests/RunCMake/CXXModules/CMakeLists.txt | 2 +- .../ExportBuildCxxModules-stderr.txt | 7 +- .../CXXModules/ExportBuildCxxModules.cmake | 1 - .../ExportInstallCxxModules-stderr.txt | 7 +- .../CXXModules/ExportInstallCxxModules.cmake | 1 - ...leSetModuleHeaderUnitsInterface-stderr.txt | 12 - .../FileSetModuleHeaderUnitsInterface.cmake | 8 - ...etModuleHeaderUnitsInterfaceImported.cmake | 8 - ...FileSetModuleHeaderUnitsPrivate-stderr.txt | 11 - .../FileSetModuleHeaderUnitsPrivate.cmake | 13 - .../FileSetModuleHeaderUnitsPublic-stderr.txt | 11 - .../FileSetModuleHeaderUnitsPublic.cmake | 13 - .../FileSetModulesInterface-stderr.txt | 4 +- .../FileSetModulesPrivate-stderr.txt | 7 +- .../CXXModules/FileSetModulesPrivate.cmake | 1 - .../FileSetModulesPublic-stderr.txt | 7 +- .../CXXModules/FileSetModulesPublic.cmake | 1 - .../NinjaDependInfoBMIInstall-stderr.txt | 7 +- .../NinjaDependInfoBMIInstall.cmake | 1 - .../NinjaDependInfoExport-stderr.txt | 7 +- .../CXXModules/NinjaDependInfoExport.cmake | 1 - .../NinjaDependInfoFileSet-stderr.txt | 7 +- .../CXXModules/NinjaDependInfoFileSet.cmake | 1 - .../CXXModules/NoCXX20ModuleFlag.cmake | 4 +- .../CXXModules/NoDyndepSupport-stderr.txt | 14 +- .../RunCMake/CXXModules/NoDyndepSupport.cmake | 1 - .../NotCXXSourceModuleHeaderUnits-stderr.txt | 22 - .../NotCXXSourceModuleHeaderUnits.cmake | 15 - .../CXXModules/NotCXXSourceModules-stderr.txt | 2 +- .../CXXModules/NotCXXSourceModules.cmake | 1 - Tests/RunCMake/CXXModules/RunCMakeTest.cmake | 7 +- .../CXXModules/examples/circular-stderr.txt | 5 - .../examples/cxx-modules-rules.cmake | 2 +- .../CXXModules/examples/deep-chain-stderr.txt | 5 - .../CXXModules/examples/duplicate-stderr.txt | 5 - .../export-bmi-and-interface-build-stderr.txt | 7 +- .../CMakeLists.txt | 8 +- .../no_modules.cxx | 3 + .../subdir/importable.cxx | 6 + .../test/CMakeLists.txt | 24 +- ...xport-bmi-and-interface-install-stderr.txt | 7 +- .../CMakeLists.txt | 8 +- .../no_modules.cxx | 3 + .../subdir/importable.cxx | 6 + .../test/CMakeLists.txt | 24 +- .../export-interface-build-stderr.txt | 7 +- .../export-interface-build/CMakeLists.txt | 8 +- .../export-interface-build/no_modules.cxx | 3 + .../subdir/importable.cxx | 6 + .../test/CMakeLists.txt | 24 +- .../export-interface-install-stderr.txt | 7 +- .../export-interface-install/CMakeLists.txt | 8 +- .../export-interface-install/no_modules.cxx | 3 + .../subdir/importable.cxx | 6 + .../test/CMakeLists.txt | 24 +- ...t-interface-no-properties-build-stderr.txt | 7 +- .../CMakeLists.txt | 8 +- .../no_modules.cxx | 3 + .../subdir/importable.cxx | 6 + .../test/CMakeLists.txt | 12 +- ...interface-no-properties-install-stderr.txt | 7 +- .../CMakeLists.txt | 8 +- .../no_modules.cxx | 3 + .../subdir/importable.cxx | 6 + .../test/CMakeLists.txt | 12 +- .../CXXModules/examples/generated-stderr.txt | 5 - .../install-bmi-and-interfaces-stderr.txt | 5 - .../examples/install-bmi-stderr.txt | 5 - .../examples/internal-partitions-stderr.txt | 5 - .../examples/library-shared-stderr.txt | 5 - .../examples/library-static-stderr.txt | 5 - .../CXXModules/examples/partitions-stderr.txt | 5 - .../examples/public-req-private-stderr.txt | 5 - .../req-private-other-target-build-result.txt | 1 + .../req-private-other-target-build-stdout.txt | 1 + .../req-private-other-target-stderr.txt} | 4 +- .../req-private-other-target/CMakeLists.txt | 16 + .../examples/req-private-other-target/lib.cxx | 1 + .../req-private-other-target/main.cxx | 7 + .../req-private-other-target/priv.cxx | 1 + .../examples/same-src-name-stderr.txt | 4 + .../examples/same-src-name/CMakeLists.txt | 20 + .../examples/same-src-name/a/same.cxx | 5 + .../examples/same-src-name/b/same.cxx | 5 + .../examples/same-src-name/main.cxx | 7 + .../examples/scan_properties-stderr.txt | 5 - .../CXXModules/examples/simple-stderr.txt | 5 - .../RunCMake/CacheNewline/CacheNewline.cmake | 4 - .../RunCMake/CheckCompilerFlag/CMakeLists.txt | 6 - .../RunCMake/CheckIPOSupported/CMakeLists.txt | 4 +- Tests/RunCMake/CheckModules/CMakeLists.txt | 3 +- .../CheckStructHasMemberWrongKey-stderr.txt | 2 +- .../CheckStructHasMemberWrongKey.cmake | 2 +- .../CheckTypeSizeUnknownArgument-stderr.txt | 2 +- .../CheckTypeSizeUnknownArgument.cmake | 2 +- Tests/RunCMake/ClangTidy/CXX.cmake | 2 +- Tests/RunCMake/Color/DiagColorInEnv.cmake | 9 + Tests/RunCMake/Color/RunCMakeTest.cmake | 6 + Tests/RunCMake/CommandLine/CMakeLists.txt | 2 +- .../DebuggerArgMissingDapLog-result.txt | 1 + .../DebuggerArgMissingDapLog-stderr.txt | 2 + .../DebuggerArgMissingDapLog.cmake | 1 + .../DebuggerArgMissingPipe-result.txt | 1 + .../DebuggerArgMissingPipe-stderr.txt | 2 + .../CommandLine/DebuggerArgMissingPipe.cmake | 1 + .../DebuggerCapabilityInspect-check.cmake | 5 + .../DebuggerNotSupported-result.txt | 1 + .../DebuggerNotSupported-stderr.txt | 2 + .../CommandLine/DebuggerNotSupported.cmake | 1 + .../DebuggerNotSupportedDapLog-result.txt | 1 + .../DebuggerNotSupportedDapLog-stderr.txt | 2 + .../DebuggerNotSupportedDapLog.cmake | 1 + .../DebuggerNotSupportedPipe-result.txt | 1 + .../DebuggerNotSupportedPipe-stderr.txt | 2 + .../DebuggerNotSupportedPipe.cmake | 1 + .../CommandLine/DeprecateVS9-WARN-OFF.cmake | 0 .../DeprecateVS9-WARN-ON-stderr.txt | 5 + .../CommandLine/DeprecateVS9-WARN-ON.cmake | 0 .../CommandLine/E_capabilities-stdout.txt | 2 +- Tests/RunCMake/CommandLine/E_time-stdout.txt | 2 +- Tests/RunCMake/CommandLine/RunCMakeTest.cmake | 20 +- .../CommandLine/trace-expand-stderr.txt | 2 +- ...trace-expand-warn-uninitialized-stderr.txt | 2 +- Tests/RunCMake/CommandLine/trace-stderr.txt | 2 +- .../trace-try_compile-redirect.cmake | 4 +- .../CommandLine/trace-try_compile.cmake | 4 +- Tests/RunCMake/CommandLineTar/CMakeLists.txt | 2 +- .../CompatibleInterface/CMakeLists.txt | 2 +- .../CompatibleInterface/DebugProperties.cmake | 5 +- .../CompileDefinitions/CMakeLists.txt | 2 +- Tests/RunCMake/CompileFeatures/CMakeLists.txt | 2 +- .../CompileFeatures/RunCMakeTest.cmake | 2 +- .../CompileWarningAsError/RunCMakeTest.cmake | 4 + Tests/RunCMake/CompilerArgs/CMakeLists.txt | 2 +- Tests/RunCMake/CompilerChange/CMakeLists.txt | 2 +- .../CompilerLauncher/C-env-Build-stdout.txt | 2 +- .../C-launch-env-Build-stdout.txt | 2 +- .../RunCMake/CompilerLauncher/CMakeLists.txt | 2 +- .../CUDA-env-Build-stdout.txt | 2 +- .../CUDA-launch-env-Build-stdout.txt | 2 +- .../CompilerLauncher/CXX-env-Build-stdout.txt | 2 +- .../CXX-launch-env-Build-stdout.txt | 2 +- .../Fortran-env-Build-stdout.txt | 2 +- .../Fortran-launch-env-Build-stdout.txt | 2 +- .../CompilerLauncher/HIP-env-Build-stdout.txt | 2 +- .../HIP-env-launch-Build-stdout.txt | 1 - .../HIP-launch-env-Build-stdout.txt | 1 + .../ISPC-env-Build-stdout.txt | 2 +- .../ISPC-launch-env-Build-stdout.txt | 2 +- .../OBJC-env-Build-stdout.txt | 2 +- .../OBJC-env-launch-Build-stdout.txt | 1 - .../OBJC-launch-env-Build-stdout.txt | 1 + .../OBJCXX-env-Build-stdout.txt | 2 +- .../OBJCXX-env-launch-Build-stdout.txt | 1 - .../OBJCXX-launch-env-Build-stdout.txt | 1 + .../CompilerLauncher/RunCMakeTest.cmake | 2 +- Tests/RunCMake/Configure/CMakeLists.txt | 2 +- Tests/RunCMake/Cppcheck/CXX.cmake | 2 +- Tests/RunCMake/Cpplint/CXX.cmake | 2 +- .../CrosscompilingEmulator/CMakeLists.txt | 2 +- .../FetchContentSerial-stdout.txt | 2 +- .../PassThroughProvider-stdout.txt | 2 +- .../DependencyProviders/Recurse-stdout.txt | 2 +- .../RedirectFetchContentSerial-stdout.txt | 2 +- .../DisallowedCommands/RunCMakeTest.cmake | 1 + Tests/RunCMake/ExcludeFromAll/CMakeLists.txt | 2 +- Tests/RunCMake/ExternalData/CMakeLists.txt | 2 +- .../Add_StepDependencies-stderr.txt | 10 + .../Add_StepDependencies.cmake | 2 +- .../Add_StepDependencies_no_target-stderr.txt | 10 + .../Add_StepDependencies_no_target.cmake | 2 +- .../NO_DEPENDS-CMP0114-OLD-stderr.txt | 13 +- .../Steps-CMP0114-OLD-stderr.txt | 10 + .../ExternalProject/UsesTerminal-check.cmake | 2 - Tests/RunCMake/ExtraGenerators/CMakeLists.txt | 3 + .../ExtraGenerators/RunCMakeTest.cmake | 19 + .../ExtraGenerators/Simple-stderr.txt | 8 + Tests/RunCMake/ExtraGenerators/Simple.cmake | 4 + Tests/RunCMake/FPHSA/CMakeLists.txt | 2 +- Tests/RunCMake/FeatureSummary/CMakeLists.txt | 2 +- .../FetchContent/IgnoreToolchainFile.cmake | 2 + .../RunCMake/FetchContent/RunCMakeTest.cmake | 1 + .../FileAPI/ProjectQueryBad-result.txt | 1 + .../FileAPI/ProjectQueryBad-stderr.txt | 36 + Tests/RunCMake/FileAPI/ProjectQueryBad.cmake | 42 + .../FileAPI/ProjectQueryGood-check.cmake | 11 + Tests/RunCMake/FileAPI/ProjectQueryGood.cmake | 8 + Tests/RunCMake/FileAPI/RunCMakeTest.cmake | 2 + Tests/RunCMake/FileAPI/codemodel-v2-check.py | 279 +- .../directories/framework.json | 17 + .../codemodel-v2-data/directories/top.json | 29 +- .../projects/codemodel-v2.json | 3 +- .../codemodel-v2-data/projects/framework.json | 15 + .../targets/all_build_framework.json | 90 + .../targets/all_build_top.json | 12 + .../targets/apple_exe_framework.json | 79 + .../targets/apple_shared_framework.json | 9 + .../targets/apple_static_framework.json | 9 + .../targets/c_alias_exe.json | 1 + .../codemodel-v2-data/targets/c_exe.json | 1 + .../targets/c_headers_1.json | 1 + .../targets/c_headers_2.json | 1 + .../codemodel-v2-data/targets/c_lib.json | 1 + .../targets/c_object_exe.json | 1 + .../targets/c_object_lib.json | 1 + .../targets/c_shared_exe.json | 1 + .../targets/c_shared_lib.json | 7 +- .../targets/c_static_exe.json | 1 + .../targets/c_static_lib.json | 1 + .../codemodel-v2-data/targets/c_subdir.json | 1 + .../codemodel-v2-data/targets/custom_exe.json | 1 + .../targets/cxx_alias_exe.json | 1 + .../codemodel-v2-data/targets/cxx_exe.json | 3 +- .../targets/cxx_exe_precompileheader.json | 2 + .../cxx_exe_precompileheader_2arch.json | 3 + .../cxx_exe_precompileheader_multigen.json | 2 + .../codemodel-v2-data/targets/cxx_lib.json | 1 + .../targets/cxx_object_exe.json | 1 + .../targets/cxx_object_lib.json | 1 + .../targets/cxx_shared_exe.json | 1 + .../targets/cxx_shared_lib.json | 7 +- .../cxx_standard_compile_feature_exe.json | 1 + .../targets/cxx_standard_exe.json | 1 + .../targets/cxx_static_exe.json | 1 + .../targets/cxx_static_lib.json | 1 + .../targets/exe_framework.json | 164 + .../targets/generated_exe.json | 2 + .../targets/interface_exe.json | 1 + .../targets/link_imported_exe.json | 1 + .../targets/link_imported_interface_exe.json | 1 + .../targets/link_imported_object_exe.json | 1 + .../targets/link_imported_shared_exe.json | 1 + .../targets/link_imported_static_exe.json | 1 + .../targets/shared_framework.json | 102 + .../targets/static_framework.json | 87 + .../targets/zero_check_framework.json | 73 + Tests/RunCMake/FileAPI/codemodel-v2.cmake | 1 + .../RunCMake/FileAPI/framework/CMakeLists.txt | 17 + Tests/RunCMake/File_Archive/CMakeLists.txt | 2 +- .../File_Generate/CMP0070-NEW-check.cmake | 2 +- .../File_Generate/CMP0070-OLD-check.cmake | 2 +- .../File_Generate/CMP0070-WARN-check.cmake | 2 +- Tests/RunCMake/File_Generate/CMakeLists.txt | 2 +- .../SourceProperty-CMP0070-NEW-stderr.txt | 10 +- .../SourceProperty-CMP0070-NEW.cmake | 2 +- .../SourceProperty-CMP0070-OLD-stderr.txt | 13 +- .../SourceProperty-CMP0070-OLD.cmake | 2 +- .../RunCMake/FindGTK2/FindGTK2RunTwice.cmake | 3 +- Tests/RunCMake/FindLua/CMakeLists.txt | 2 +- Tests/RunCMake/FindMatlab/CMakeLists.txt | 4 +- Tests/RunCMake/FindMatlab/MatlabTest1.cmake | 5 +- Tests/RunCMake/FindMatlab/MatlabTest2.cmake | 4 +- Tests/RunCMake/FindMatlab/RunCMakeTest.cmake | 2 - .../RunCMake/FindOpenSSL/version-exact.cmake | 2 - .../RunCMake/FindOpenSSL/version-range.cmake | 2 - Tests/RunCMake/FindOpenSSL/version.cmake | 2 - Tests/RunCMake/FindPkgConfig/CMakeLists.txt | 2 +- .../FindPkgConfig_IMPORTED_TARGET.cmake | 4 +- .../FindPkgConfig_VERSION_OPERATORS.cmake | 4 +- .../FindPkgConfig_cache_variables.cmake | 2 - Tests/RunCMake/FindSWIG/version-exact.cmake | 2 - Tests/RunCMake/FindSWIG/version-range.cmake | 2 - Tests/RunCMake/FindSWIG/version.cmake | 2 - Tests/RunCMake/Framework/CMakeLists.txt | 2 +- .../Framework/FrameworkConsumption.cmake | 12 +- .../RunCMake/Framework/FrameworkLayout.cmake | 1 - .../FrameworkSystemIncludeTest.cmake | 12 + Tests/RunCMake/Framework/consumer.c | 9 + Tests/RunCMake/GNUInstallDirs/CMakeLists.txt | 2 +- .../GenEx-COMPILE_LANGUAGE/CMakeLists.txt | 2 +- .../GenEx-LINK_LIBRARY/RunCMakeTest.cmake | 2 +- Tests/RunCMake/GenEx-LIST/APPEND.cmake.in | 34 + Tests/RunCMake/GenEx-LIST/CMakeLists.txt | 5 + .../FILTER-wrong-operator-result.txt | 1 + .../FILTER-wrong-operator-stderr.txt | 9 + .../GenEx-LIST/FILTER-wrong-operator.cmake | 2 + .../GenEx-LIST/FILTER-wrong-regex-result.txt | 1 + .../GenEx-LIST/FILTER-wrong-regex-stderr.txt | 8 + .../GenEx-LIST/FILTER-wrong-regex.cmake | 2 + Tests/RunCMake/GenEx-LIST/FIND.cmake.in | 20 + .../GenEx-LIST/GET-wrong-index1-result.txt | 1 + .../GenEx-LIST/GET-wrong-index1-stderr.txt | 8 + .../GenEx-LIST/GET-wrong-index1.cmake | 2 + .../GenEx-LIST/GET-wrong-index2-result.txt | 1 + .../GenEx-LIST/GET-wrong-index2-stderr.txt | 8 + .../GenEx-LIST/GET-wrong-index2.cmake | 2 + .../GenEx-LIST/GET-wrong-index3-result.txt | 1 + .../GenEx-LIST/GET-wrong-index3-stderr.txt | 8 + .../GenEx-LIST/GET-wrong-index3.cmake | 2 + Tests/RunCMake/GenEx-LIST/GET.cmake.in | 20 + .../GenEx-LIST/INSERT-wrong-index1-result.txt | 1 + .../GenEx-LIST/INSERT-wrong-index1-stderr.txt | 8 + .../GenEx-LIST/INSERT-wrong-index1.cmake | 2 + .../GenEx-LIST/INSERT-wrong-index2-result.txt | 1 + .../GenEx-LIST/INSERT-wrong-index2-stderr.txt | 8 + .../GenEx-LIST/INSERT-wrong-index2.cmake | 2 + Tests/RunCMake/GenEx-LIST/INSERT.cmake.in | 50 + Tests/RunCMake/GenEx-LIST/JOIN.cmake.in | 35 + Tests/RunCMake/GenEx-LIST/LENGTH.cmake.in | 30 + Tests/RunCMake/GenEx-LIST/POP_BACK.cmake.in | 18 + Tests/RunCMake/GenEx-LIST/POP_FRONT.cmake.in | 18 + Tests/RunCMake/GenEx-LIST/PREPEND.cmake.in | 34 + .../REMOVE_AT-wrong-index1-result.txt | 1 + .../REMOVE_AT-wrong-index1-stderr.txt | 8 + .../GenEx-LIST/REMOVE_AT-wrong-index1.cmake | 2 + .../REMOVE_AT-wrong-index2-result.txt | 1 + .../REMOVE_AT-wrong-index2-stderr.txt | 8 + .../GenEx-LIST/REMOVE_AT-wrong-index2.cmake | 2 + .../REMOVE_AT-wrong-index3-result.txt | 1 + .../REMOVE_AT-wrong-index3-stderr.txt | 8 + .../GenEx-LIST/REMOVE_AT-wrong-index3.cmake | 2 + Tests/RunCMake/GenEx-LIST/REMOVE_AT.cmake.in | 25 + .../GenEx-LIST/REMOVE_DUPLICATES.cmake.in | 20 + .../RunCMake/GenEx-LIST/REMOVE_ITEM.cmake.in | 32 + Tests/RunCMake/GenEx-LIST/REVERSE.cmake.in | 19 + Tests/RunCMake/GenEx-LIST/RunCMakeTest.cmake | 130 + .../SORT-duplicate-CASE-option-result.txt | 1 + .../SORT-duplicate-CASE-option-stderr.txt | 8 + .../SORT-duplicate-CASE-option.cmake | 2 + .../SORT-duplicate-COMPARE-option-result.txt | 1 + .../SORT-duplicate-COMPARE-option-stderr.txt | 8 + .../SORT-duplicate-COMPARE-option.cmake | 2 + .../SORT-duplicate-ORDER-option-result.txt | 1 + .../SORT-duplicate-ORDER-option-stderr.txt | 8 + .../SORT-duplicate-ORDER-option.cmake | 2 + .../SORT-wrong-CASE-option-result.txt | 1 + .../SORT-wrong-CASE-option-stderr.txt | 9 + .../GenEx-LIST/SORT-wrong-CASE-option.cmake | 2 + .../SORT-wrong-COMPARE-option-result.txt | 1 + .../SORT-wrong-COMPARE-option-stderr.txt | 9 + .../SORT-wrong-COMPARE-option.cmake | 2 + .../SORT-wrong-ORDER-option-result.txt | 1 + .../SORT-wrong-ORDER-option-stderr.txt | 9 + .../GenEx-LIST/SORT-wrong-ORDER-option.cmake | 2 + .../GenEx-LIST/SORT-wrong-option-result.txt | 1 + .../GenEx-LIST/SORT-wrong-option-stderr.txt | 8 + .../GenEx-LIST/SORT-wrong-option.cmake | 2 + Tests/RunCMake/GenEx-LIST/SORT.cmake.in | 92 + .../SUBLIST-wrong-argument1-result.txt | 1 + .../SUBLIST-wrong-argument1-stderr.txt | 8 + .../GenEx-LIST/SUBLIST-wrong-argument1.cmake | 2 + .../SUBLIST-wrong-argument2-result.txt | 1 + .../SUBLIST-wrong-argument2-stderr.txt | 8 + .../GenEx-LIST/SUBLIST-wrong-argument2.cmake | 2 + Tests/RunCMake/GenEx-LIST/SUBLIST.cmake.in | 32 + .../GenEx-LIST/TRANSFORM-APPEND.cmake.in | 50 + .../GenEx-LIST/TRANSFORM-PREPEND.cmake.in | 50 + ...NSFORM-REPLACE-invalid-replace1-result.txt | 1 + ...NSFORM-REPLACE-invalid-replace1-stderr.txt | 9 + .../TRANSFORM-REPLACE-invalid-replace1.cmake | 2 + ...NSFORM-REPLACE-invalid-replace2-result.txt | 1 + ...NSFORM-REPLACE-invalid-replace2-stderr.txt | 9 + .../TRANSFORM-REPLACE-invalid-replace2.cmake | 2 + .../TRANSFORM-REPLACE-wrong-regex-result.txt | 1 + .../TRANSFORM-REPLACE-wrong-regex-stderr.txt | 8 + .../TRANSFORM-REPLACE-wrong-regex.cmake | 2 + .../GenEx-LIST/TRANSFORM-REPLACE.cmake.in | 50 + .../GenEx-LIST/TRANSFORM-STRIP.cmake.in | 50 + .../GenEx-LIST/TRANSFORM-TOLOWER.cmake.in | 50 + .../GenEx-LIST/TRANSFORM-TOUPPER.cmake.in | 50 + .../TRANSFORM-missing-arg-stderr.txt | 8 + ...NSFORM-selector-AT-no-arguments-result.txt | 1 + ...NSFORM-selector-AT-no-arguments-stderr.txt | 8 + .../TRANSFORM-selector-AT-no-arguments.cmake | 2 + ...FORM-selector-AT-wrong-argument-result.txt | 1 + ...FORM-selector-AT-wrong-argument-stderr.txt | 8 + ...TRANSFORM-selector-AT-wrong-argument.cmake | 2 + ...ANSFORM-selector-AT-wrong-index-result.txt | 1 + ...ANSFORM-selector-AT-wrong-index-stderr.txt | 8 + .../TRANSFORM-selector-AT-wrong-index.cmake | 2 + ...RM-selector-FOR-backwards-range-result.txt | 1 + ...RM-selector-FOR-backwards-range-stderr.txt | 9 + ...ANSFORM-selector-FOR-backwards-range.cmake | 2 + ...-selector-FOR-missing-arguments-result.txt | 1 + ...-selector-FOR-missing-arguments-stderr.txt | 8 + ...SFORM-selector-FOR-missing-arguments.cmake | 2 + ...FORM-selector-FOR-negative-step-result.txt | 1 + ...FORM-selector-FOR-negative-step-stderr.txt | 9 + ...TRANSFORM-selector-FOR-negative-step.cmake | 2 + ...SFORM-selector-FOR-no-arguments-result.txt | 1 + ...SFORM-selector-FOR-no-arguments-stderr.txt | 8 + .../TRANSFORM-selector-FOR-no-arguments.cmake | 2 + ...ORM-selector-FOR-wrong-argument-result.txt | 1 + ...ORM-selector-FOR-wrong-argument-stderr.txt | 8 + ...RANSFORM-selector-FOR-wrong-argument.cmake | 2 + ...NSFORM-selector-FOR-wrong-index-result.txt | 1 + ...NSFORM-selector-FOR-wrong-index-stderr.txt | 8 + .../TRANSFORM-selector-FOR-wrong-index.cmake | 2 + ...RANSFORM-selector-FOR-zero-step-result.txt | 1 + ...RANSFORM-selector-FOR-zero-step-stderr.txt | 9 + .../TRANSFORM-selector-FOR-zero-step.cmake | 2 + ...ORM-selector-REGEX-no-arguments-result.txt | 1 + ...ORM-selector-REGEX-no-arguments-stderr.txt | 9 + ...RANSFORM-selector-REGEX-no-arguments.cmake | 2 + ...FORM-selector-REGEX-wrong-regex-result.txt | 1 + ...FORM-selector-REGEX-wrong-regex-stderr.txt | 8 + ...TRANSFORM-selector-REGEX-wrong-regex.cmake | 2 + .../TRANSFORM-unexpected-arg-stderr.txt | 8 + .../TRANSFORM-wrong-action-result.txt | 1 + .../TRANSFORM-wrong-action-stderr.txt | 7 + .../GenEx-LIST/TRANSFORM-wrong-action.cmake | 2 + .../RunCMake/GenEx-LIST/bad-option-result.txt | 1 + .../RunCMake/GenEx-LIST/bad-option-stderr.txt | 8 + Tests/RunCMake/GenEx-LIST/bad-option.cmake | 2 + Tests/RunCMake/GenEx-LIST/check_errors.cmake | 13 + Tests/RunCMake/GenEx-LIST/generate.cmake | 2 + .../GenEx-LIST/missing-arg-result.txt | 1 + .../GenEx-LIST/missing-arg-stderr.txt | 8 + Tests/RunCMake/GenEx-LIST/missing-arg.cmake | 2 + .../GenEx-LIST/no-arguments-result.txt | 1 + .../GenEx-LIST/no-arguments-stderr.txt | 8 + Tests/RunCMake/GenEx-LIST/no-arguments.cmake | 2 + .../GenEx-LIST/unexpected-arg-result.txt | 1 + .../GenEx-LIST/unexpected-arg-stderr.txt | 8 + .../RunCMake/GenEx-LIST/unexpected-arg.cmake | 2 + .../GenEx-PATH/ABSOLUTE_PATH.cmake.in | 24 + Tests/RunCMake/GenEx-PATH/APPEND.cmake.in | 35 + Tests/RunCMake/GenEx-PATH/CMAKE_PATH.cmake.in | 42 + Tests/RunCMake/GenEx-PATH/CMakeLists.txt | 2 +- Tests/RunCMake/GenEx-PATH/GET_ITEM.cmake.in | 123 + .../RunCMake/GenEx-PATH/NORMAL_PATH.cmake.in | 14 + .../GenEx-PATH/RELATIVE_PATH.cmake.in | 14 + .../RunCMake/GenEx-PATH/REMOVE_ITEM.cmake.in | 36 + .../RunCMake/GenEx-PATH/REPLACE_ITEM.cmake.in | 36 + .../RunCMake/GenEx-TARGET_FILE/CMakeLists.txt | 2 +- ...ARGET_FILE_BASE_NAME-imported-target.cmake | 3 - .../TARGET_FILE_BASE_NAME.cmake | 3 - .../TARGET_FILE_PREFIX-imported-target.cmake | 3 - .../TARGET_FILE_PREFIX.cmake | 3 - .../TARGET_FILE_SUFFIX-imported-target.cmake | 3 - .../TARGET_FILE_SUFFIX.cmake | 3 - .../GenEx-TARGET_IMPORT_FILE/CMakeLists.txt | 3 + .../RunCMakeTest.cmake | 21 + .../TARGET_IMPORT_FILE-check.cmake | 1 + .../TARGET_IMPORT_FILE.cmake | 47 + .../TARGET_IMPORT_FILE_SUFFIX-check.cmake | 1 + .../TARGET_IMPORT_FILE_SUFFIX.cmake | 44 + ...ER_IMPORT_FILE-non-valid-target-result.txt | 1 + ...ER_IMPORT_FILE-non-valid-target-stderr.txt | 9 + ..._LINKER_IMPORT_FILE-non-valid-target.cmake | 9 + ...R_LIBRARY_FILE-non-valid-target-result.txt | 1 + ...R_LIBRARY_FILE-non-valid-target-stderr.txt | 9 + ...LINKER_LIBRARY_FILE-non-valid-target.cmake | 9 + .../TARGET_SONAME_IMPORT_FILE-check.cmake | 1 + ...ME_IMPORT_FILE-non-valid-target-result.txt | 1 + ...ME_IMPORT_FILE-non-valid-target-stderr.txt | 8 + ..._SONAME_IMPORT_FILE-non-valid-target.cmake | 8 + .../TARGET_SONAME_IMPORT_FILE.cmake | 32 + .../RunCMake/GenEx-TARGET_IMPORT_FILE/empty.c | 0 .../GenEx-TARGET_PROPERTY/ALIAS_GLOBAL.cmake | 3 - .../GenEx-TARGET_PROPERTY/CMakeLists.txt | 2 +- .../INCLUDE_DIRECTORIES.cmake | 1 - .../GenEx-TARGET_PROPERTY/LOCATION-stderr.txt | 7 + .../GenEx-TARGET_RUNTIME_DLLS/check.cmake | 15 - .../shared-check.cmake | 15 + .../GenEx-TARGET_RUNTIME_DLLS/shared.cmake | 13 +- Tests/RunCMake/GenerateExportHeader/GEH.cmake | 4 +- .../reference/Cygwin/libshared_export.h | 42 + .../reference/Cygwin/libstatic_export.h | 42 + .../reference/MinGW/libshared_export.h | 2 +- .../reference/MinGW/libstatic_export.h | 2 +- .../reference/Win32-Clang/libshared_export.h | 2 +- .../reference/Win32-Clang/libstatic_export.h | 2 +- .../COMPILE_ONLY-not-compiling-result.txt | 1 + .../COMPILE_ONLY-not-compiling-stderr.txt | 8 + .../COMPILE_ONLY-not-compiling.cmake | 1 + .../GeneratorExpression/RunCMakeTest.cmake | 2 + .../BadFieldNoComma-result.txt | 1 + .../BadFieldNoComma-stderr.txt | 11 + .../GeneratorPlatform/BadFieldNoComma.cmake | 1 + .../BadFieldUnknown-result.txt | 1 + .../BadFieldUnknown-stderr.txt | 11 + .../GeneratorPlatform/BadFieldUnknown.cmake | 1 + .../BadVersionEmpty-result.txt | 1 + .../BadVersionEmpty-stderr.txt | 11 + .../GeneratorPlatform/BadVersionEmpty.cmake | 1 + .../BadVersionMissing-result.txt | 1 + .../BadVersionMissing-stderr.txt | 11 + .../GeneratorPlatform/BadVersionMissing.cmake | 1 + .../BadVersionPlatform-result.txt | 1 + .../BadVersionPlatform-stderr.txt | 19 + .../BadVersionPlatform.cmake | 1 + .../RunCMake/GeneratorPlatform/CMakeLists.txt | 2 +- .../GeneratorPlatform/RunCMakeTest.cmake | 83 + .../VersionExists-check.cmake | 9 + .../GeneratorPlatform/VersionExists.cmake | 5 + .../RunCMake/GeneratorToolset/CMakeLists.txt | 2 +- .../TestToolsetCustomFlagTableDir-check.cmake | 2 +- Tests/RunCMake/GoogleTest/GoogleTestXML.cmake | 4 +- .../BinInInstallPrefix-CMP0052-OLD-stderr.txt | 11 +- Tests/RunCMake/IfacePaths/CMakeLists.txt | 6 +- .../SrcInInstallPrefix-CMP0052-OLD-stderr.txt | 11 +- .../C-error-Build-result.txt | 1 + .../C-error-Build-stdout.txt | 4 + .../RunCMake/IncludeWhatYouUse/C-error.cmake | 3 + .../RunCMake/IncludeWhatYouUse/CMakeLists.txt | 2 +- .../CXX-error-Build-result.txt | 1 + .../CXX-error-Build-stdout.txt | 4 + .../IncludeWhatYouUse/CXX-error.cmake | 3 + Tests/RunCMake/IncludeWhatYouUse/CXX.cmake | 2 +- .../IncludeWhatYouUse/RunCMakeTest.cmake | 2 + .../RunCMake/InterfaceLibrary/CMakeLists.txt | 2 +- .../InterfaceLibrary/genex_link.cmake | 5 +- .../global-interface-stderr.txt | 6 +- .../InterfaceLibrary/invalid_name.cmake | 2 +- .../InterfaceLibrary/no_shared_libs.cmake | 2 - Tests/RunCMake/Languages/CMakeLists.txt | 2 +- .../CMP0028-OLD-iface-stderr.txt | 11 +- .../LinkItemValidation/CMP0028-OLD-stderr.txt | 11 +- .../LinkItemValidation/CMakeLists.txt | 6 +- Tests/RunCMake/LinkStatic/CMakeLists.txt | 2 +- Tests/RunCMake/LinkWhatYouUse/CMakeLists.txt | 2 +- .../LinkerLauncher/C-env-Build-stdout.txt | 2 +- .../C-launch-env-Build-stdout.txt | 2 +- .../LinkerLauncher/CXX-env-Build-stdout.txt | 2 +- .../CXX-launch-env-Build-stdout.txt | 2 +- .../LinkerLauncher/OBJC-env-Build-stdout.txt | 2 +- .../OBJC-launch-env-Build-stdout.txt | 2 +- .../OBJCXX-env-Build-stdout.txt | 2 +- .../OBJCXX-launch-env-Build-stdout.txt | 2 +- .../LinkerLauncher/RunCMakeTest.cmake | 3 +- .../MacOSVersions-build-check.cmake | 2 +- Tests/RunCMake/Make/CMP0113-OLD-stderr.txt | 10 + Tests/RunCMake/Make/CMakeLists.txt | 2 +- .../MaxRecursionDepth/RunCMakeTest.cmake | 44 +- .../ctest_read_custom_files-env-result.txt | 1 + .../ctest_read_custom_files-env-stderr.txt | 34 + ...t_read_custom_files-invalid-env-result.txt | 1 + ...t_read_custom_files-invalid-env-stderr.txt | 5 + .../find_package-default-script-stderr.txt | 8 +- .../find_package-default-stderr.txt | 6 +- .../find_package-env-result.txt | 1 + .../find_package-env-script-result.txt | 1 + .../find_package-env-script-stderr.txt | 21 + .../find_package-env-stderr.txt | 21 + .../find_package-invalid-env-result.txt | 1 + ...find_package-invalid-env-script-result.txt | 1 + ...find_package-invalid-env-script-stderr.txt | 7 + .../find_package-invalid-env-stderr.txt | 5 + ...find_package-invalid-var-script-stderr.txt | 8 +- .../find_package-invalid-var-stderr.txt | 6 +- .../MaxRecursionDepth/function-env-result.txt | 1 + .../function-env-script-result.txt | 1 + .../function-env-script-stderr.txt | 21 + .../MaxRecursionDepth/function-env-stderr.txt | 21 + .../function-invalid-env-result.txt | 1 + .../function-invalid-env-script-result.txt | 1 + .../function-invalid-env-script-stderr.txt | 5 + .../function-invalid-env-stderr.txt | 5 + .../MaxRecursionDepth/include-env-result.txt | 1 + .../include-env-script-result.txt | 1 + .../include-env-script-stderr.txt | 21 + .../MaxRecursionDepth/include-env-stderr.txt | 21 + .../include-invalid-env-result.txt | 1 + .../include-invalid-env-script-result.txt | 1 + .../include-invalid-env-script-stderr.txt | 5 + .../include-invalid-env-stderr.txt | 5 + .../MaxRecursionDepth/macro-env-result.txt | 1 + .../macro-env-script-result.txt | 1 + .../macro-env-script-stderr.txt | 21 + .../MaxRecursionDepth/macro-env-stderr.txt | 21 + .../macro-invalid-env-result.txt | 1 + .../macro-invalid-env-script-result.txt | 1 + .../macro-invalid-env-script-stderr.txt | 5 + .../macro-invalid-env-stderr.txt | 5 + .../variable_watch-env-result.txt | 1 + .../variable_watch-env-script-result.txt | 1 + .../variable_watch-env-script-stderr.txt | 22 + .../variable_watch-env-stderr.txt | 22 + .../variable_watch-invalid-env-result.txt | 1 + ...riable_watch-invalid-env-script-result.txt | 1 + ...riable_watch-invalid-env-script-stderr.txt | 6 + .../variable_watch-invalid-env-stderr.txt | 6 + .../MultiLint/C-launch_skip_linting_ON.cmake | 3 + Tests/RunCMake/MultiLint/CMakeLists copy.txt | 3 + .../CXX-launch_skip_linting_ON.cmake | 3 + Tests/RunCMake/MultiLint/CXX.cmake | 8 +- .../CXX_skip_linting_OFF-Build-result.txt | 1 + .../MultiLint/CXX_skip_linting_OFF.cmake | 7 + .../MultiLint/CXX_skip_linting_ON.cmake | 7 + .../C_skip_linting_OFF-Build-result.txt | 1 + .../MultiLint/C_skip_linting_OFF.cmake | 7 + .../MultiLint/C_skip_linting_ON.cmake | 7 + Tests/RunCMake/MultiLint/RunCMakeTest.cmake | 19 + Tests/RunCMake/Ninja/AssumedSources.cmake | 3 +- .../RunCMake/Ninja/CMP0058-OLD-by-stderr.txt | 13 +- Tests/RunCMake/Ninja/CMP0058-OLD-by.cmake | 1 + .../RunCMake/Ninja/CMP0058-OLD-no-stderr.txt | 13 +- Tests/RunCMake/Ninja/CMP0058-OLD-no.cmake | 1 + .../RunCMake/Ninja/CMP0058-WARN-by-stderr.txt | 8 + Tests/RunCMake/Ninja/CMP0058-WARN-by.cmake | 1 + .../RunCMake/Ninja/CMP0058-WARN-no-stderr.txt | 11 +- Tests/RunCMake/Ninja/CMP0058-WARN-no.cmake | 1 + Tests/RunCMake/Ninja/CMakeLists.txt | 2 +- Tests/RunCMake/Ninja/CommandConcat.cmake | 2 - .../Ninja/CustomCommandDepfile-check.cmake | 6 +- .../Ninja/CustomCommandExplicitDepends.cmake | 36 + .../Ninja/CustomCommandJobPool-check.cmake | 4 +- .../Ninja/CustomCommandWorkingDirectory.cmake | 3 - Tests/RunCMake/Ninja/Executable.cmake | 3 +- Tests/RunCMake/Ninja/LooseObjectDepends.cmake | 3 +- .../PreventConfigureFileDupBuildRule.cmake | 3 +- .../PreventTargetAliasesDupBuildRule.cmake | 3 +- Tests/RunCMake/Ninja/RunCMakeTest.cmake | 32 + Tests/RunCMake/Ninja/SharedLib.cmake | 3 +- Tests/RunCMake/Ninja/StaticLib.cmake | 3 +- Tests/RunCMake/Ninja/SubDirPrefix.cmake | 3 +- Tests/RunCMake/Ninja/TwoLibs.cmake | 3 +- .../Ninja/VerboseBuild-nowork-stdout.txt | 2 +- .../CustomCommandDepfile-check.cmake | 6 +- .../OutputPathPrefix-all-ninja-stdout.txt | 1 + .../NinjaMultiConfig/OutputPathPrefix.cmake | 1 + .../NinjaMultiConfig/RunCMakeTest.cmake | 9 + .../ObjectLibrary/MissingSource-stderr.txt | 6 +- .../ParseImplicitIncludeInfo/CMakeLists.txt | 2 +- .../ParseImplicitIncludeInfo.cmake | 3 - .../ParseImplicitLinkInfo/CMakeLists.txt | 2 +- .../ParseImplicitLinkInfo/ExcludeDirs.cmake | 10 + .../ParseImplicitLinkInfo/Inspect.cmake | 12 + .../ParseImplicitLinkInfo.cmake | 3 - .../ParseImplicitLinkInfo/RunCMakeTest.cmake | 8 + Tests/RunCMake/PolicyScope/RunCMakeTest.cmake | 1 + .../PositionIndependentCode/CMakeLists.txt | 3 +- Tests/RunCMake/README.rst | 7 + Tests/RunCMake/RunCMake.cmake | 28 +- Tests/RunCMake/Swift/CMakeLists.txt | 2 +- .../RunCMake/Swift/SwiftMultiArch-stderr.txt | 2 +- Tests/RunCMake/Swift/SwiftMultiArch.cmake | 4 +- Tests/RunCMake/SymlinkTrees/CMakeLists.txt | 2 +- Tests/RunCMake/Syntax/RunCMakeTest.cmake | 1 + Tests/RunCMake/Syntax/String1-stderr.txt | 4 +- Tests/RunCMake/Syntax/String1.cmake | 4 +- .../Syntax/UnterminatedBrace0-stderr.txt | 4 +- .../RunCMake/Syntax/UnterminatedBrace0.cmake | 1 - .../Syntax/UnterminatedBrace1-stderr.txt | 4 +- .../RunCMake/Syntax/UnterminatedBrace1.cmake | 1 - .../Syntax/UnterminatedBrace2-stderr.txt | 4 +- .../RunCMake/Syntax/UnterminatedBrace2.cmake | 1 - .../CMakeLists.txt | 0 .../DLL-SOVERSION-build-stdout.txt | 2 + .../TargetArtifacts/DLL-SOVERSION.cmake | 18 + .../OutputDirs.cmake} | 0 .../RunCMakeTest.cmake | 12 +- .../check.cmake | 0 Tests/RunCMake/TargetArtifacts/dll.c | 6 + .../lib.c | 0 .../main.c | 0 .../RunCMake/TargetProperties/CMakeLists.txt | 2 +- .../RunCMake/ToolchainFile/RunCMakeTest.cmake | 1 + .../SetCrossCompiling-stderr.txt | 8 + .../SetCrossCompiling-toolchain.cmake | 1 + .../ToolchainFile/SetCrossCompiling.cmake | 0 .../RunCMake/TransformDepfile/deps-unix.d.txt | 8 +- .../TransformDepfile/deps-windows.d.txt | 8 +- .../VS10Project/CMakeInputs-check.cmake | 25 + Tests/RunCMake/VS10Project/CMakeInputs.cmake | 0 .../CustomCommandParallel-check.cmake | 52 + .../VS10Project/CustomCommandParallel.cmake | 5 + Tests/RunCMake/VS10Project/RunCMakeTest.cmake | 4 + Tests/RunCMake/VSSolution/CMakeLists.txt | 2 +- .../VerifyHeaderSets/RunCMakeTest.cmake | 1 + .../VerifyHeaderSets/VerifyHeaderSets.cmake | 5 + .../RunCMake/VerifyHeaderSets/skip_linting.h | 3 + .../VisibilityPreset/RunCMakeTest.cmake | 1 + Tests/RunCMake/VsDotnetSdk/VsDotnetSdk.cmake | 4 +- .../CMakeLists.txt | 2 +- .../XcodeProject-Device/CMakeLists.txt | 3 + .../DeploymentTarget.c | 0 .../DeploymentTarget.cmake | 3 +- .../EffectivePlatformNameOFF.cmake | 0 .../XcodeProject-Device/RunCMakeTest.cmake | 303 ++ .../XCTestAddBundle.cmake | 0 .../XCTestLookup.cmake | 0 .../XcodeBundles-install-check.cmake | 0 .../XcodeBundles.cmake | 1 - ...OSInstallCombined-cmakeinstall-check.cmake | 0 ...codeIOSInstallCombined-install-check.cmake | 0 .../XcodeIOSInstallCombined.cmake | 4 +- ...OSInstallCombinedPrune-install-check.cmake | 0 ...IOSInstallCombinedPrune-install-stdout.txt | 2 + .../XcodeIOSInstallCombinedPrune.cmake | 4 +- ...ombinedSingleArch-cmakeinstall-check.cmake | 0 ...tallCombinedSingleArch-install-check.cmake | 0 .../XcodeIOSInstallCombinedSingleArch.cmake | 4 +- .../XcodeInstallIOS-install-stdout.txt | 0 .../XcodeInstallIOS.cmake | 4 +- .../XcodeMultiplatform.cmake | 1 - .../XcodeRemoveExcessiveISystem.cmake | 1 + .../XcodeTbdStub-stdout.txt | 0 .../XcodeProject-Device/XcodeTbdStub.cmake | 1 + .../XcodeProject-Device/dummy_main.swift | 18 + Tests/RunCMake/XcodeProject-Device/foo.cpp | 3 + Tests/RunCMake/XcodeProject-Device/main.c | 0 Tests/RunCMake/XcodeProject-Device/main.cpp | 4 + .../main.m | 0 .../osx.cmake | 0 .../XcodeProject/BundleLinkBundle.cmake | 4 +- Tests/RunCMake/XcodeProject/CMakeLists.txt | 2 +- .../XcodeProject/LinkBinariesBuildPhase.cmake | 1 - .../LinkBinariesBuildPhase_Funcs.cmake | 1 - .../RunCMake/XcodeProject/RunCMakeTest.cmake | 309 +- ...IOSInstallCombinedPrune-install-stdout.txt | 2 - .../XcodeProject/XcodeObjcFlags.cmake | 4 +- .../XcodeProject/XcodeObjcxxFlags.cmake | 4 +- .../XcodeObjectLibsInTwoProjects.cmake | 4 - .../XcodeRemoveExcessiveISystem.cmake | 8 +- .../XcodeProject/XcodeSchemaGeneration.cmake | 4 +- .../XcodeProject/XcodeSchemaProperty.cmake | 4 +- .../RunCMake/XcodeProject/XcodeTbdStub.cmake | 2 - .../RunCMake/XcodeProject/XcodeXCConfig.cmake | 4 +- .../add_custom_command/CMakeLists.txt | 2 +- .../add_custom_command/WorkingDirectory.cmake | 2 +- .../RunCMake/add_custom_target/CMakeLists.txt | 2 +- .../RunCMake/add_dependencies/CMakeLists.txt | 2 +- .../add_dependencies/ReadOnlyProperty.cmake | 3 +- .../RetrieveDependencies.cmake | 3 +- Tests/RunCMake/add_executable/CMakeLists.txt | 2 +- Tests/RunCMake/add_library/CMakeLists.txt | 2 +- .../LINKER_expansion-list.cmake | 2 +- .../RunCMake/add_subdirectory/CMakeLists.txt | 2 +- .../add_subdirectory/RunCMakeTest.cmake | 2 + Tests/RunCMake/add_subdirectory/System.cmake | 3 + .../add_subdirectory/System/CMakeLists.txt | 5 + .../System/SubSub1/CMakeLists.txt | 1 + Tests/RunCMake/add_subdirectory/System/zap.f | 0 .../CMP0110-OLD-AlphaNumeric-stderr.txt | 10 + .../CMP0110-OLD-BracketArgument-stderr.txt | 10 + ...CMP0110-OLD-EscapedSpecialChars-stderr.txt | 10 + ...0-OLD-FormerInvalidSpecialChars-stderr.txt | 10 + ...OLD-FormerInvalidSpecialCharsMC-stderr.txt | 11 + ...LD-LeadingAndTrailingWhitespace-stderr.txt | 10 + .../CMP0110-OLD-OtherSpecialChars-stderr.txt | 10 + .../add_test/CMP0110-OLD-Quote-stderr.txt | 10 + .../add_test/CMP0110-OLD-Semicolon-stderr.txt | 10 + .../add_test/CMP0110-OLD-Space-stderr.txt | 10 + .../CMP0110-OLD-ValidSpecialChars-stderr.txt | 10 + .../add_test/CheckEmptyArgument.cmake | 11 + Tests/RunCMake/add_test/EmptyArgument.cmake | 5 + Tests/RunCMake/add_test/RunCMakeTest.cmake | 8 + Tests/RunCMake/alias_targets/CMakeLists.txt | 2 +- .../RunCMake/alias_targets/invalid-name.cmake | 2 +- Tests/RunCMake/build_command/CMakeLists.txt | 2 +- .../Before2812-stderr.txt | 26 - .../Before3_5-stderr.txt | 26 + .../{Before2812.cmake => Before3_5.cmake} | 0 .../cmake_minimum_required/CMakeLists.txt | 2 +- .../CompatBefore24-stderr.txt | 10 +- .../cmake_minimum_required/RunCMakeTest.cmake | 2 +- .../cmake_parse_arguments/CMakeLists.txt | 2 +- .../RunCMake/cmake_path/call-cmake_path.cmake | 3 - Tests/RunCMake/configure_file/CMakeLists.txt | 2 +- Tests/RunCMake/continue/CMakeLists.txt | 2 +- .../BuildFailure-CMP0061-OLD-stderr.txt | 9 +- Tests/RunCMake/ctest_build/CMakeLists.txt.in | 2 +- Tests/RunCMake/ctest_build/RunCMakeTest.cmake | 4 +- Tests/RunCMake/ctest_build/test.cmake.in | 2 +- .../RunCMake/ctest_cmake_error/test.cmake.in | 2 +- .../ctest_configure/CMakeLists.txt.in | 2 +- Tests/RunCMake/ctest_configure/test.cmake.in | 2 +- .../RunCMake/ctest_coverage/CMakeLists.txt.in | 2 +- Tests/RunCMake/ctest_coverage/test.cmake.in | 2 +- .../RunCMake/ctest_memcheck/CMakeLists.txt.in | 2 +- Tests/RunCMake/ctest_memcheck/test.cmake.in | 2 +- .../testAddressLeakSanitizer.cmake | 6 +- .../ctest_memcheck/testAddressSanitizer.cmake | 2 +- .../ctest_memcheck/testLeakSanitizer.cmake | 6 +- .../ctest_memcheck/testMemorySanitizer.cmake | 2 +- Tests/RunCMake/ctest_start/CMakeLists.txt.in | 2 +- Tests/RunCMake/ctest_start/test.cmake.in | 2 +- Tests/RunCMake/ctest_submit/test.cmake.in | 2 +- Tests/RunCMake/ctest_test/CMakeLists.txt.in | 2 +- Tests/RunCMake/ctest_test/test.cmake.in | 2 +- Tests/RunCMake/ctest_update/CMakeLists.txt.in | 2 +- Tests/RunCMake/ctest_update/test.cmake.in | 2 +- Tests/RunCMake/ctest_upload/CMakeLists.txt.in | 2 +- Tests/RunCMake/ctest_upload/test.cmake.in | 2 +- Tests/RunCMake/export/CMakeLists.txt | 2 +- .../RunCMakeTest.cmake | 4 + .../windows-all-check.cmake | 14 +- .../windows-conflict-all-stderr-Borland.txt | 7 + .../windows-unresolved-all-stderr-Borland.txt | 4 + .../windows.cmake | 5 +- Tests/RunCMake/file/CMakeLists.txt | 2 +- .../file/COPY_FILE-file-replace.cmake | 2 +- .../file/COPY_FILE-link-to-file.cmake | 2 +- .../LOCK-error-guard-incorrect-stderr.txt | 2 +- .../file/LOCK-error-guard-incorrect.cmake | 2 +- Tests/RunCMake/file/REAL_PATH.cmake | 16 + Tests/RunCMake/file/RENAME-file-replace.cmake | 2 +- Tests/RunCMake/find_dependency/CMakeLists.txt | 2 +- Tests/RunCMake/find_file/CMakeLists.txt | 2 +- Tests/RunCMake/find_library/CMakeLists.txt | 2 +- .../CMP0144-NEW-CaseInsensitive-stderr.txt | 45 + .../CMP0144-NEW-CaseInsensitive.cmake | 3 + .../CMP0144-NEW-CaseSensitive-stderr.txt | 45 + .../CMP0144-NEW-CaseSensitive.cmake | 3 + .../CMP0144-OLD-CaseInsensitive-stderr.txt | 45 + .../CMP0144-OLD-CaseInsensitive.cmake | 3 + .../CMP0144-OLD-CaseSensitive-stderr.txt | 45 + .../CMP0144-OLD-CaseSensitive.cmake | 3 + .../CMP0144-WARN-CaseInsensitive-stderr.txt | 63 + .../CMP0144-WARN-CaseInsensitive.cmake | 3 + ...MP0144-WARN-CaseSensitive-Mixed-stderr.txt | 45 + .../CMP0144-WARN-CaseSensitive-Mixed.cmake | 3 + .../CMP0144-WARN-CaseSensitive-stderr.txt | 68 + .../CMP0144-WARN-CaseSensitive.cmake | 3 + .../find_package/CMP0144-common.cmake | 78 + .../find_package/CMP0145-NEW-stderr.txt | 4 + Tests/RunCMake/find_package/CMP0145-NEW.cmake | 7 + Tests/RunCMake/find_package/CMP0145-OLD.cmake | 7 + .../find_package/CMP0145-WARN-stderr.txt | 8 + .../RunCMake/find_package/CMP0145-WARN.cmake | 6 + .../find_package/CMP0146-NEW-stderr.txt | 4 + Tests/RunCMake/find_package/CMP0146-NEW.cmake | 7 + Tests/RunCMake/find_package/CMP0146-OLD.cmake | 7 + .../find_package/CMP0146-WARN-stderr.txt | 8 + .../RunCMake/find_package/CMP0146-WARN.cmake | 6 + .../find_package/CMP0147-NEW-result.txt | 1 + .../find_package/CMP0147-NEW-stderr.txt | 7 + Tests/RunCMake/find_package/CMP0147-NEW.cmake | 2 + Tests/RunCMake/find_package/CMP0147-OLD.cmake | 2 + .../RunCMake/find_package/CMP0147-WARN.cmake | 2 + .../find_package/CMP0147-common.cmake | 3 + .../CMP0148-Interp-NEW-stderr.txt | 4 + .../find_package/CMP0148-Interp-NEW.cmake | 7 + .../find_package/CMP0148-Interp-OLD.cmake | 7 + .../CMP0148-Interp-WARN-stderr.txt | 8 + .../find_package/CMP0148-Interp-WARN.cmake | 6 + .../find_package/CMP0148-Libs-NEW-stderr.txt | 4 + .../find_package/CMP0148-Libs-NEW.cmake | 7 + .../find_package/CMP0148-Libs-OLD.cmake | 7 + .../find_package/CMP0148-Libs-WARN-stderr.txt | 8 + .../find_package/CMP0148-Libs-WARN.cmake | 6 + Tests/RunCMake/find_package/CMakeLists.txt | 2 +- .../RunCMake/find_package/RunCMakeTest.cmake | 28 + Tests/RunCMake/find_path/CMakeLists.txt | 2 +- .../find_program/CMP0109-OLD-stderr.txt | 10 + Tests/RunCMake/find_program/CMakeLists.txt | 2 +- .../get_filename_component/CMakeLists.txt | 2 +- Tests/RunCMake/get_property/CMakeLists.txt | 2 +- Tests/RunCMake/if/CMakeLists.txt | 2 +- Tests/RunCMake/include/CMP0024-NEW-stderr.txt | 11 +- Tests/RunCMake/include/CMP0024-NEW.cmake | 2 - .../RunCMake/include/CMP0024-WARN-stderr.txt | 26 +- Tests/RunCMake/include/CMP0024-WARN.cmake | 1 + .../include/CMP0146-NEW-name-result.txt | 1 + .../include/CMP0146-NEW-name-stderr.txt | 6 + Tests/RunCMake/include/CMP0146-NEW-name.cmake | 2 + .../include/CMP0146-NEW-path-result.txt | 1 + .../include/CMP0146-NEW-path-stderr.txt | 6 + Tests/RunCMake/include/CMP0146-NEW-path.cmake | 2 + Tests/RunCMake/include/CMP0146-OLD.cmake | 7 + .../RunCMake/include/CMP0146-WARN-stderr.txt | 8 + Tests/RunCMake/include/CMP0146-WARN.cmake | 7 + .../CMP0148-Interp-NEW-name-result.txt | 1 + .../CMP0148-Interp-NEW-name-stderr.txt | 6 + .../include/CMP0148-Interp-NEW-name.cmake | 2 + .../CMP0148-Interp-NEW-path-result.txt | 1 + .../CMP0148-Interp-NEW-path-stderr.txt | 6 + .../include/CMP0148-Interp-NEW-path.cmake | 2 + .../RunCMake/include/CMP0148-Interp-OLD.cmake | 7 + .../include/CMP0148-Interp-WARN-stderr.txt | 8 + .../include/CMP0148-Interp-WARN.cmake | 7 + .../include/CMP0148-Libs-NEW-name-result.txt | 1 + .../include/CMP0148-Libs-NEW-name-stderr.txt | 6 + .../include/CMP0148-Libs-NEW-name.cmake | 2 + .../include/CMP0148-Libs-NEW-path-result.txt | 1 + .../include/CMP0148-Libs-NEW-path-stderr.txt | 6 + .../include/CMP0148-Libs-NEW-path.cmake | 2 + Tests/RunCMake/include/CMP0148-Libs-OLD.cmake | 7 + .../include/CMP0148-Libs-WARN-stderr.txt | 8 + .../RunCMake/include/CMP0148-Libs-WARN.cmake | 7 + Tests/RunCMake/include/CMakeLists.txt | 2 +- Tests/RunCMake/include/EmptyString-stderr.txt | 6 +- .../include/EmptyStringOptional-stderr.txt | 6 +- .../include/ExportExportInclude-stderr.txt | 7 +- .../include/IncludeIsDirectory-stderr.txt | 7 +- .../include/IncludeMalformed-stderr.txt | 17 +- Tests/RunCMake/include/RunCMakeTest.cmake | 14 + .../include_directories/CMakeLists.txt | 2 +- .../include_external_msproject/CMakeLists.txt | 2 +- Tests/RunCMake/install/CMP0062-OLD-stderr.txt | 15 +- Tests/RunCMake/install/CMakeLists.txt | 2 +- ...-EXTRA_ISPC_TARGET_OBJECTS-all-check.cmake | 6 +- .../FILES-EXTRA_ISPC_TARGET_OBJECTS.cmake | 6 +- Tests/RunCMake/install/RunCMakeTest.cmake | 10 +- Tests/RunCMake/install/SCRIPT-all-check.cmake | 2 +- Tests/RunCMake/install/SCRIPT.cmake | 6 + .../install/TARGETS-Defaults-Cache-stderr.txt | 4 +- .../install/TARGETS-Defaults-stderr.txt | 4 +- .../TARGETS-FILE_RPATH_CHANGE-new_rpath.cmake | 1 - .../TARGETS-FILE_RPATH_CHANGE-old_rpath.cmake | 1 - .../install/TARGETS-NAMELINK-No-Tweak.cmake | 20 + ...GETS-NAMELINK_COMPONENT-bad-all-stderr.txt | 5 +- ...GETS-NAMELINK_COMPONENT-bad-exc-stderr.txt | 5 +- Tests/RunCMake/install/TARGETS-RPATH.cmake | 3 +- Tests/RunCMake/install/empty3.cmake | 1 + Tests/RunCMake/install/empty4.cmake | 1 + Tests/RunCMake/list/CMakeLists.txt | 2 +- .../RunCMake/list/GET-CMP0007-WARN-stderr.txt | 12 +- Tests/RunCMake/list/SUBLIST.cmake | 51 + Tests/RunCMake/math/CMakeLists.txt | 2 +- Tests/RunCMake/message/CMakeLists.txt | 2 +- Tests/RunCMake/message/RunCMakeTest.cmake | 2 +- .../message/warnmessage-rootdir.cmake | 2 - .../RunCMake/no_install_prefix/CMakeLists.txt | 2 +- Tests/RunCMake/project/CMP0048-NEW-stderr.txt | 6 + Tests/RunCMake/project/CMP0048-OLD-stderr.txt | 11 +- Tests/RunCMake/project/CMakeLists.txt | 6 +- .../project_injected/CMP0048-WARN-stderr.txt | 13 +- .../separate_arguments/CMakeLists.txt | 2 +- Tests/RunCMake/set/CMakeLists.txt | 2 +- Tests/RunCMake/set/ParentPulling.cmake | 3 - .../RunCMake/set/ParentPullingRecursive.cmake | 3 - Tests/RunCMake/set_property/CMakeLists.txt | 2 +- Tests/RunCMake/string/CMakeLists.txt | 2 +- Tests/RunCMake/string/RegexClear.cmake | 3 - .../string/RegexMultiMatchClear.cmake | 3 - .../target_compile_features/CMakeLists.txt | 2 +- .../AliasTargets.cmake | 3 - .../genex.cmake | 3 - .../genex.cmake | 3 - .../CMP0023-WARN-2.cmake | 2 +- .../target_link_libraries/CMP0023-WARN.cmake | 2 +- .../target_link_libraries/CMakeLists.txt | 2 +- .../target_link_libraries/RunCMakeTest.cmake | 1 + .../target_sources/CMP0076-WARN.cmake | 2 - Tests/RunCMake/target_sources/CMakeLists.txt | 2 +- ...SetDefaultWrongTypeExperimental-stderr.txt | 3 +- .../FileSetDefaultWrongTypeExperimental.cmake | 2 +- .../target_sources/FileSetDirect-result.txt | 1 + .../target_sources/FileSetDirect-stderr.txt | 12 + .../target_sources/FileSetDirect.cmake | 3 + .../FileSetFileNoExist-stderr.txt | 2 +- .../FileSetWrongSyntax-result.txt | 1 + .../FileSetWrongSyntax-stderr.txt | 12 + .../target_sources/FileSetWrongSyntax.cmake | 4 + .../FileSetWrongTypeExperimental-stderr.txt | 3 +- .../FileSetWrongTypeExperimental.cmake | 2 +- .../target_sources/MissingSource-result.txt | 1 + .../target_sources/MissingSource-stderr.txt | 6 + .../target_sources/MissingSource.cmake | 3 + .../target_sources/OriginDebug-stderr.txt | 8 +- .../RunCMake/target_sources/OriginDebug.cmake | 5 +- .../target_sources/RunCMakeTest.cmake | 3 + Tests/RunCMake/try_compile/CMP0056.cmake | 2 +- Tests/RunCMake/try_compile/CMakeLists.txt | 2 +- Tests/RunCMake/try_run/CMakeLists.txt | 2 +- Tests/RunCMake/variable_watch/CMakeLists.txt | 2 +- Tests/RunCMake/while/CMakeLists.txt | 2 +- Tests/StagingPrefix/Consumer/CMakeLists.txt | 2 +- Tests/StagingPrefix/Producer/CMakeLists.txt | 2 +- Tests/StringFileTest/CMakeLists.txt | 2 +- Tests/SubDirSpaces/CMakeLists.txt | 2 +- Tests/TargetName/CMakeLists.txt | 2 +- Tests/TestDriver/CMakeLists.txt | 2 +- Tests/Testing/CMakeLists.txt | 8 +- Tests/TestsWorkingDirectory/CMakeLists.txt | 2 +- Tests/TryCompile/CMakeLists.txt | 2 +- Tests/TryCompile/Inner/CMakeLists.txt | 2 +- Tests/VSExternalInclude/CMakeLists.txt | 2 +- .../subdir/fortran/CMakeLists.txt | 2 +- Tests/VSMidl/CMakeLists.txt | 2 +- Tests/VSMidl/src/CMakeLists.txt | 2 +- Tests/VSNASM/CMakeLists.txt | 2 +- Utilities/ClangTidyModule/CMakeLists.txt | 10 +- .../ClangTidyModule/UsePragmaOnceCheck.cxx | 2 - Utilities/Doxygen/CMakeLists.txt | 2 +- Utilities/IWYU/mapping.imp | 6 + Utilities/Release/linux/aarch64/cache.txt | 2 +- Utilities/Release/linux/x86_64/cache.txt | 2 +- Utilities/Scripts/update-cppdap.bash | 30 + Utilities/Scripts/update-curl.bash | 2 +- Utilities/Scripts/update-libarchive.bash | 2 +- Utilities/Sphinx/CMakeLists.txt | 2 +- Utilities/Sphinx/cmake.py | 556 ++- Utilities/Sphinx/conf.py.in | 8 + Utilities/Sphinx/create_identifiers.py | 8 +- Utilities/Sphinx/static/cmake.css | 39 + Utilities/cm3p/cppdap/dap.h | 11 + Utilities/cm3p/cppdap/future.h | 11 + Utilities/cm3p/cppdap/io.h | 11 + Utilities/cm3p/cppdap/optional.h | 11 + Utilities/cm3p/cppdap/protocol.h | 11 + Utilities/cm3p/cppdap/session.h | 11 + Utilities/cm3p/cppdap/types.h | 11 + Utilities/cm3p/json/forwards.h | 11 + Utilities/cm3p/json/json.h | 11 + Utilities/cmThirdParty.h.in | 1 + Utilities/cmThirdPartyChecks.cmake | 4 + Utilities/cmbzip2/bzlib.c | 4 + Utilities/cmbzip2/compress.c | 8 + Utilities/cmcppdap/CMakeLists.txt | 37 + Utilities/cmcppdap/LICENSE | 202 ++ Utilities/cmcppdap/NOTICE | 5 + Utilities/cmcppdap/include/dap/any.h | 211 ++ Utilities/cmcppdap/include/dap/dap.h | 35 + Utilities/cmcppdap/include/dap/future.h | 179 + Utilities/cmcppdap/include/dap/io.h | 97 + Utilities/cmcppdap/include/dap/network.h | 62 + Utilities/cmcppdap/include/dap/optional.h | 263 ++ Utilities/cmcppdap/include/dap/protocol.h | 2679 ++++++++++++++ .../cmcppdap/include/dap/serialization.h | 253 ++ Utilities/cmcppdap/include/dap/session.h | 449 +++ Utilities/cmcppdap/include/dap/traits.h | 159 + Utilities/cmcppdap/include/dap/typeinfo.h | 59 + Utilities/cmcppdap/include/dap/typeof.h | 266 ++ Utilities/cmcppdap/include/dap/types.h | 104 + Utilities/cmcppdap/include/dap/variant.h | 108 + Utilities/cmcppdap/src/any_test.cpp | 262 ++ Utilities/cmcppdap/src/chan.h | 90 + Utilities/cmcppdap/src/chan_test.cpp | 35 + Utilities/cmcppdap/src/content_stream.cpp | 189 + Utilities/cmcppdap/src/content_stream.h | 69 + .../cmcppdap/src/content_stream_test.cpp | 99 + Utilities/cmcppdap/src/dap_test.cpp | 72 + Utilities/cmcppdap/src/io.cpp | 258 ++ Utilities/cmcppdap/src/json_serializer.h | 47 + .../cmcppdap/src/json_serializer_test.cpp | 266 ++ .../cmcppdap/src/jsoncpp_json_serializer.cpp | 272 ++ .../cmcppdap/src/jsoncpp_json_serializer.h | 134 + Utilities/cmcppdap/src/network.cpp | 100 + Utilities/cmcppdap/src/network_test.cpp | 110 + .../cmcppdap/src/nlohmann_json_serializer.cpp | 260 ++ .../cmcppdap/src/nlohmann_json_serializer.h | 133 + .../cmcppdap/src/null_json_serializer.cpp | 23 + Utilities/cmcppdap/src/null_json_serializer.h | 47 + Utilities/cmcppdap/src/optional_test.cpp | 169 + Utilities/cmcppdap/src/protocol_events.cpp | 126 + Utilities/cmcppdap/src/protocol_requests.cpp | 281 ++ Utilities/cmcppdap/src/protocol_response.cpp | 243 ++ Utilities/cmcppdap/src/protocol_types.cpp | 316 ++ .../cmcppdap/src/rapid_json_serializer.cpp | 289 ++ .../cmcppdap/src/rapid_json_serializer.h | 138 + Utilities/cmcppdap/src/rwmutex.h | 172 + Utilities/cmcppdap/src/rwmutex_test.cpp | 113 + Utilities/cmcppdap/src/session.cpp | 516 +++ Utilities/cmcppdap/src/session_test.cpp | 625 ++++ Utilities/cmcppdap/src/socket.cpp | 333 ++ Utilities/cmcppdap/src/socket.h | 47 + Utilities/cmcppdap/src/socket_test.cpp | 104 + Utilities/cmcppdap/src/string_buffer.h | 85 + Utilities/cmcppdap/src/traits_test.cpp | 387 ++ Utilities/cmcppdap/src/typeinfo.cpp | 21 + Utilities/cmcppdap/src/typeinfo_test.cpp | 65 + Utilities/cmcppdap/src/typeof.cpp | 144 + Utilities/cmcppdap/src/variant_test.cpp | 94 + .../cmcurl/CMake/CMakeConfigurableFile.in | 2 +- Utilities/cmcurl/CMake/CurlSymbolHiding.cmake | 2 +- Utilities/cmcurl/CMake/CurlTests.c | 2 +- Utilities/cmcurl/CMake/FindBearSSL.cmake | 2 +- Utilities/cmcurl/CMake/FindBrotli.cmake | 6 +- Utilities/cmcurl/CMake/FindCARES.cmake | 2 +- Utilities/cmcurl/CMake/FindGSS.cmake | 6 +- Utilities/cmcurl/CMake/FindLibPSL.cmake | 2 +- Utilities/cmcurl/CMake/FindLibSSH2.cmake | 2 +- Utilities/cmcurl/CMake/FindMSH3.cmake | 2 +- Utilities/cmcurl/CMake/FindMbedTLS.cmake | 2 +- Utilities/cmcurl/CMake/FindNGHTTP2.cmake | 2 +- Utilities/cmcurl/CMake/FindNGHTTP3.cmake | 2 +- Utilities/cmcurl/CMake/FindNGTCP2.cmake | 4 +- Utilities/cmcurl/CMake/FindNSS.cmake | 2 +- Utilities/cmcurl/CMake/FindQUICHE.cmake | 2 +- Utilities/cmcurl/CMake/FindWolfSSL.cmake | 2 +- Utilities/cmcurl/CMake/FindZstd.cmake | 2 +- Utilities/cmcurl/CMake/Macros.cmake | 2 +- Utilities/cmcurl/CMake/OtherTests.cmake | 2 +- Utilities/cmcurl/CMake/PickyWarnings.cmake | 197 + .../cmcurl/CMake/Platforms/WindowsCache.cmake | 4 +- Utilities/cmcurl/CMake/Utilities.cmake | 2 +- .../cmcurl/CMake/cmake_uninstall.cmake.in | 2 +- Utilities/cmcurl/CMake/curl-config.cmake.in | 2 +- Utilities/cmcurl/CMakeLists.txt | 271 +- Utilities/cmcurl/COPYING | 2 +- Utilities/cmcurl/curltest.c | 19 +- Utilities/cmcurl/include/curl/curl.h | 32 +- Utilities/cmcurl/include/curl/curlver.h | 14 +- Utilities/cmcurl/include/curl/easy.h | 16 +- Utilities/cmcurl/include/curl/header.h | 2 +- Utilities/cmcurl/include/curl/mprintf.h | 2 +- Utilities/cmcurl/include/curl/multi.h | 2 +- Utilities/cmcurl/include/curl/options.h | 2 +- Utilities/cmcurl/include/curl/stdcheaders.h | 2 +- Utilities/cmcurl/include/curl/system.h | 20 +- Utilities/cmcurl/include/curl/typecheck-gcc.h | 8 +- Utilities/cmcurl/include/curl/urlapi.h | 8 +- Utilities/cmcurl/include/curl/websockets.h | 3 +- Utilities/cmcurl/lib/CMakeLists.txt | 40 +- Utilities/cmcurl/lib/Makefile.inc | 40 +- Utilities/cmcurl/lib/altsvc.c | 6 +- Utilities/cmcurl/lib/altsvc.h | 2 +- Utilities/cmcurl/lib/amigaos.c | 2 +- Utilities/cmcurl/lib/amigaos.h | 2 +- Utilities/cmcurl/lib/arpa_telnet.h | 2 +- Utilities/cmcurl/lib/asyn-ares.c | 2 +- Utilities/cmcurl/lib/asyn-thread.c | 8 +- Utilities/cmcurl/lib/asyn.h | 2 +- Utilities/cmcurl/lib/base64.c | 4 +- Utilities/cmcurl/lib/bufq.c | 659 ++++ Utilities/cmcurl/lib/bufq.h | 271 ++ Utilities/cmcurl/lib/bufref.c | 2 +- Utilities/cmcurl/lib/bufref.h | 2 +- Utilities/cmcurl/lib/c-hyper.c | 26 +- Utilities/cmcurl/lib/c-hyper.h | 2 +- Utilities/cmcurl/lib/cf-h1-proxy.c | 1184 ++++++ Utilities/cmcurl/lib/cf-h1-proxy.h | 39 + Utilities/cmcurl/lib/cf-h2-proxy.c | 1356 +++++++ Utilities/cmcurl/lib/cf-h2-proxy.h | 39 + Utilities/cmcurl/lib/cf-haproxy.c | 246 ++ .../cmcurl/lib/{vquic/msh3.h => cf-haproxy.h} | 21 +- Utilities/cmcurl/lib/cf-https-connect.c | 551 +++ Utilities/cmcurl/lib/cf-https-connect.h | 58 + Utilities/cmcurl/lib/cf-socket.c | 1916 ++++++++++ Utilities/cmcurl/lib/cf-socket.h | 191 + Utilities/cmcurl/lib/cfilters.c | 561 +-- Utilities/cmcurl/lib/cfilters.h | 348 +- Utilities/cmcurl/lib/conncache.c | 20 +- Utilities/cmcurl/lib/conncache.h | 4 +- Utilities/cmcurl/lib/connect.c | 2514 ++++++------- Utilities/cmcurl/lib/connect.h | 114 +- Utilities/cmcurl/lib/content_encoding.c | 63 +- Utilities/cmcurl/lib/content_encoding.h | 5 +- Utilities/cmcurl/lib/cookie.c | 387 +- Utilities/cmcurl/lib/cookie.h | 37 +- Utilities/cmcurl/lib/curl_addrinfo.c | 4 +- Utilities/cmcurl/lib/curl_addrinfo.h | 2 +- Utilities/cmcurl/lib/curl_base64.h | 2 +- Utilities/cmcurl/lib/curl_config.h.cmake | 2 +- Utilities/cmcurl/lib/curl_ctype.h | 4 +- Utilities/cmcurl/lib/curl_des.c | 2 +- Utilities/cmcurl/lib/curl_des.h | 2 +- Utilities/cmcurl/lib/curl_endian.c | 2 +- Utilities/cmcurl/lib/curl_endian.h | 2 +- Utilities/cmcurl/lib/curl_fnmatch.c | 2 +- Utilities/cmcurl/lib/curl_fnmatch.h | 2 +- Utilities/cmcurl/lib/curl_get_line.c | 2 +- Utilities/cmcurl/lib/curl_get_line.h | 2 +- Utilities/cmcurl/lib/curl_gethostname.c | 2 +- Utilities/cmcurl/lib/curl_gethostname.h | 2 +- Utilities/cmcurl/lib/curl_gssapi.c | 12 +- Utilities/cmcurl/lib/curl_gssapi.h | 2 +- Utilities/cmcurl/lib/curl_hmac.h | 2 +- Utilities/cmcurl/lib/curl_krb5.h | 2 +- Utilities/cmcurl/lib/curl_ldap.h | 2 +- Utilities/cmcurl/lib/curl_log.c | 230 ++ Utilities/cmcurl/lib/curl_log.h | 138 + Utilities/cmcurl/lib/curl_md4.h | 2 +- Utilities/cmcurl/lib/curl_md5.h | 2 +- Utilities/cmcurl/lib/curl_memory.h | 38 +- Utilities/cmcurl/lib/curl_memrchr.c | 2 +- Utilities/cmcurl/lib/curl_memrchr.h | 2 +- Utilities/cmcurl/lib/curl_multibyte.c | 2 +- Utilities/cmcurl/lib/curl_multibyte.h | 2 +- Utilities/cmcurl/lib/curl_ntlm_core.c | 19 +- Utilities/cmcurl/lib/curl_ntlm_core.h | 8 +- Utilities/cmcurl/lib/curl_ntlm_wb.c | 2 +- Utilities/cmcurl/lib/curl_ntlm_wb.h | 2 +- Utilities/cmcurl/lib/curl_path.c | 76 +- Utilities/cmcurl/lib/curl_path.h | 2 +- Utilities/cmcurl/lib/curl_printf.h | 2 +- Utilities/cmcurl/lib/curl_range.c | 2 +- Utilities/cmcurl/lib/curl_range.h | 2 +- Utilities/cmcurl/lib/curl_rtmp.c | 8 +- Utilities/cmcurl/lib/curl_rtmp.h | 2 +- Utilities/cmcurl/lib/curl_sasl.c | 5 +- Utilities/cmcurl/lib/curl_sasl.h | 8 +- Utilities/cmcurl/lib/curl_setup.h | 37 +- Utilities/cmcurl/lib/curl_setup_once.h | 10 +- Utilities/cmcurl/lib/curl_sha256.h | 4 +- Utilities/cmcurl/lib/curl_sspi.c | 2 +- Utilities/cmcurl/lib/curl_sspi.h | 2 +- Utilities/cmcurl/lib/curl_threads.c | 2 +- Utilities/cmcurl/lib/curl_threads.h | 2 +- Utilities/cmcurl/lib/curlx.h | 2 +- Utilities/cmcurl/lib/dict.c | 88 +- Utilities/cmcurl/lib/dict.h | 2 +- Utilities/cmcurl/lib/doh.c | 10 +- Utilities/cmcurl/lib/doh.h | 2 +- Utilities/cmcurl/lib/dynbuf.c | 13 +- Utilities/cmcurl/lib/dynbuf.h | 2 +- Utilities/cmcurl/lib/dynhds.c | 366 ++ Utilities/cmcurl/lib/dynhds.h | 174 + Utilities/cmcurl/lib/easy.c | 92 +- Utilities/cmcurl/lib/easy_lock.h | 2 +- Utilities/cmcurl/lib/easygetopt.c | 2 +- Utilities/cmcurl/lib/easyif.h | 6 +- Utilities/cmcurl/lib/easyoptions.c | 6 +- Utilities/cmcurl/lib/easyoptions.h | 2 +- Utilities/cmcurl/lib/escape.c | 62 +- Utilities/cmcurl/lib/escape.h | 2 +- Utilities/cmcurl/lib/file.c | 6 +- Utilities/cmcurl/lib/file.h | 2 +- Utilities/cmcurl/lib/fileinfo.c | 4 +- Utilities/cmcurl/lib/fileinfo.h | 4 +- Utilities/cmcurl/lib/fopen.c | 3 +- Utilities/cmcurl/lib/fopen.h | 2 +- Utilities/cmcurl/lib/formdata.c | 2 +- Utilities/cmcurl/lib/formdata.h | 2 +- Utilities/cmcurl/lib/ftp.c | 233 +- Utilities/cmcurl/lib/ftp.h | 56 +- Utilities/cmcurl/lib/ftplistparser.c | 170 +- Utilities/cmcurl/lib/ftplistparser.h | 36 +- Utilities/cmcurl/lib/functypes.h | 2 +- Utilities/cmcurl/lib/getenv.c | 2 +- Utilities/cmcurl/lib/getinfo.c | 2 +- Utilities/cmcurl/lib/getinfo.h | 2 +- Utilities/cmcurl/lib/gopher.c | 2 +- Utilities/cmcurl/lib/gopher.h | 2 +- Utilities/cmcurl/lib/h2h3.c | 309 -- Utilities/cmcurl/lib/h2h3.h | 61 - Utilities/cmcurl/lib/hash.c | 3 +- Utilities/cmcurl/lib/hash.h | 2 +- Utilities/cmcurl/lib/headers.c | 22 +- Utilities/cmcurl/lib/headers.h | 2 +- Utilities/cmcurl/lib/hmac.c | 2 +- Utilities/cmcurl/lib/hostasyn.c | 4 +- Utilities/cmcurl/lib/hostip.c | 176 +- Utilities/cmcurl/lib/hostip.h | 16 +- Utilities/cmcurl/lib/hostip4.c | 2 +- Utilities/cmcurl/lib/hostip6.c | 2 +- Utilities/cmcurl/lib/hostsyn.c | 2 +- Utilities/cmcurl/lib/hsts.c | 36 +- Utilities/cmcurl/lib/hsts.h | 4 +- Utilities/cmcurl/lib/http.c | 944 +++-- Utilities/cmcurl/lib/http.h | 241 +- Utilities/cmcurl/lib/http1.c | 349 ++ Utilities/cmcurl/lib/http1.h | 61 + Utilities/cmcurl/lib/http2.c | 3168 +++++++++-------- Utilities/cmcurl/lib/http2.h | 61 +- Utilities/cmcurl/lib/http_aws_sigv4.c | 196 +- Utilities/cmcurl/lib/http_aws_sigv4.h | 2 +- Utilities/cmcurl/lib/http_chunks.c | 2 +- Utilities/cmcurl/lib/http_chunks.h | 2 +- Utilities/cmcurl/lib/http_digest.c | 2 +- Utilities/cmcurl/lib/http_digest.h | 2 +- Utilities/cmcurl/lib/http_negotiate.c | 2 +- Utilities/cmcurl/lib/http_negotiate.h | 2 +- Utilities/cmcurl/lib/http_ntlm.c | 2 +- Utilities/cmcurl/lib/http_ntlm.h | 2 +- Utilities/cmcurl/lib/http_proxy.c | 1271 +------ Utilities/cmcurl/lib/http_proxy.h | 25 +- Utilities/cmcurl/lib/idn.c | 37 +- Utilities/cmcurl/lib/idn.h | 10 +- Utilities/cmcurl/lib/if2ip.c | 2 +- Utilities/cmcurl/lib/if2ip.h | 2 +- Utilities/cmcurl/lib/imap.c | 26 +- Utilities/cmcurl/lib/imap.h | 24 +- Utilities/cmcurl/lib/inet_ntop.c | 15 +- Utilities/cmcurl/lib/inet_ntop.h | 2 +- Utilities/cmcurl/lib/inet_pton.c | 17 +- Utilities/cmcurl/lib/inet_pton.h | 2 +- Utilities/cmcurl/lib/krb5.c | 41 +- Utilities/cmcurl/lib/ldap.c | 14 +- Utilities/cmcurl/lib/libcurl.rc | 2 +- Utilities/cmcurl/lib/llist.c | 2 +- Utilities/cmcurl/lib/llist.h | 2 +- Utilities/cmcurl/lib/md4.c | 24 +- Utilities/cmcurl/lib/md5.c | 10 +- Utilities/cmcurl/lib/memdebug.c | 2 +- Utilities/cmcurl/lib/memdebug.h | 2 +- Utilities/cmcurl/lib/mime.c | 10 +- Utilities/cmcurl/lib/mime.h | 2 +- Utilities/cmcurl/lib/mprintf.c | 8 +- Utilities/cmcurl/lib/mqtt.c | 13 +- Utilities/cmcurl/lib/mqtt.h | 2 +- Utilities/cmcurl/lib/multi.c | 303 +- Utilities/cmcurl/lib/multihandle.h | 17 +- Utilities/cmcurl/lib/multiif.h | 2 +- Utilities/cmcurl/lib/netrc.c | 4 +- Utilities/cmcurl/lib/netrc.h | 2 +- Utilities/cmcurl/lib/nonblock.c | 2 +- Utilities/cmcurl/lib/nonblock.h | 2 +- Utilities/cmcurl/lib/noproxy.c | 17 +- Utilities/cmcurl/lib/noproxy.h | 5 +- Utilities/cmcurl/lib/openldap.c | 6 +- Utilities/cmcurl/lib/parsedate.c | 161 +- Utilities/cmcurl/lib/parsedate.h | 2 +- Utilities/cmcurl/lib/pingpong.c | 6 +- Utilities/cmcurl/lib/pingpong.h | 2 +- Utilities/cmcurl/lib/pop3.c | 16 +- Utilities/cmcurl/lib/pop3.h | 12 +- Utilities/cmcurl/lib/progress.c | 51 +- Utilities/cmcurl/lib/progress.h | 9 +- Utilities/cmcurl/lib/psl.c | 2 +- Utilities/cmcurl/lib/psl.h | 2 +- Utilities/cmcurl/lib/quic.h | 68 - Utilities/cmcurl/lib/rand.c | 15 +- Utilities/cmcurl/lib/rand.h | 2 +- Utilities/cmcurl/lib/rename.c | 2 +- Utilities/cmcurl/lib/rename.h | 2 +- Utilities/cmcurl/lib/rtsp.c | 292 +- Utilities/cmcurl/lib/rtsp.h | 5 +- Utilities/cmcurl/lib/select.c | 19 +- Utilities/cmcurl/lib/select.h | 2 +- Utilities/cmcurl/lib/sendf.c | 363 +- Utilities/cmcurl/lib/sendf.h | 47 +- Utilities/cmcurl/lib/setopt.c | 263 +- Utilities/cmcurl/lib/setopt.h | 2 +- Utilities/cmcurl/lib/setup-os400.h | 4 +- Utilities/cmcurl/lib/setup-vms.h | 2 +- Utilities/cmcurl/lib/setup-win32.h | 2 +- Utilities/cmcurl/lib/sha256.c | 8 +- Utilities/cmcurl/lib/share.c | 34 +- Utilities/cmcurl/lib/share.h | 8 +- Utilities/cmcurl/lib/sigpipe.h | 3 +- Utilities/cmcurl/lib/slist.c | 2 +- Utilities/cmcurl/lib/slist.h | 2 +- Utilities/cmcurl/lib/smb.c | 18 +- Utilities/cmcurl/lib/smb.h | 4 +- Utilities/cmcurl/lib/smtp.c | 20 +- Utilities/cmcurl/lib/smtp.h | 20 +- Utilities/cmcurl/lib/sockaddr.h | 2 +- Utilities/cmcurl/lib/socketpair.c | 88 +- Utilities/cmcurl/lib/socketpair.h | 2 +- Utilities/cmcurl/lib/socks.c | 333 +- Utilities/cmcurl/lib/socks.h | 15 +- Utilities/cmcurl/lib/socks_gssapi.c | 48 +- Utilities/cmcurl/lib/socks_sspi.c | 35 +- Utilities/cmcurl/lib/speedcheck.c | 2 +- Utilities/cmcurl/lib/speedcheck.h | 2 +- Utilities/cmcurl/lib/splay.c | 2 +- Utilities/cmcurl/lib/splay.h | 2 +- Utilities/cmcurl/lib/strcase.c | 2 +- Utilities/cmcurl/lib/strcase.h | 2 +- Utilities/cmcurl/lib/strdup.c | 4 +- Utilities/cmcurl/lib/strdup.h | 4 +- Utilities/cmcurl/lib/strerror.c | 9 +- Utilities/cmcurl/lib/strerror.h | 2 +- Utilities/cmcurl/lib/strtok.c | 2 +- Utilities/cmcurl/lib/strtok.h | 2 +- Utilities/cmcurl/lib/strtoofft.c | 2 +- Utilities/cmcurl/lib/strtoofft.h | 2 +- Utilities/cmcurl/lib/system_win32.c | 2 +- Utilities/cmcurl/lib/system_win32.h | 2 +- Utilities/cmcurl/lib/telnet.c | 190 +- Utilities/cmcurl/lib/telnet.h | 2 +- Utilities/cmcurl/lib/tftp.c | 19 +- Utilities/cmcurl/lib/tftp.h | 2 +- Utilities/cmcurl/lib/timediff.c | 2 +- Utilities/cmcurl/lib/timediff.h | 2 +- Utilities/cmcurl/lib/timeval.c | 2 +- Utilities/cmcurl/lib/timeval.h | 2 +- Utilities/cmcurl/lib/transfer.c | 209 +- Utilities/cmcurl/lib/transfer.h | 2 +- Utilities/cmcurl/lib/url.c | 488 +-- Utilities/cmcurl/lib/url.h | 16 +- Utilities/cmcurl/lib/urlapi-int.h | 5 +- Utilities/cmcurl/lib/urlapi.c | 815 ++--- Utilities/cmcurl/lib/urldata.h | 250 +- Utilities/cmcurl/lib/vauth/cleartext.c | 5 +- Utilities/cmcurl/lib/vauth/cram.c | 2 +- Utilities/cmcurl/lib/vauth/digest.c | 3 +- Utilities/cmcurl/lib/vauth/digest.h | 2 +- Utilities/cmcurl/lib/vauth/digest_sspi.c | 4 +- Utilities/cmcurl/lib/vauth/gsasl.c | 2 +- Utilities/cmcurl/lib/vauth/krb5_gssapi.c | 4 +- Utilities/cmcurl/lib/vauth/krb5_sspi.c | 2 +- Utilities/cmcurl/lib/vauth/ntlm.c | 8 +- Utilities/cmcurl/lib/vauth/ntlm.h | 2 +- Utilities/cmcurl/lib/vauth/ntlm_sspi.c | 2 +- Utilities/cmcurl/lib/vauth/oauth2.c | 5 +- Utilities/cmcurl/lib/vauth/spnego_gssapi.c | 2 +- Utilities/cmcurl/lib/vauth/spnego_sspi.c | 2 +- Utilities/cmcurl/lib/vauth/vauth.c | 2 +- Utilities/cmcurl/lib/vauth/vauth.h | 4 +- Utilities/cmcurl/lib/version.c | 19 +- Utilities/cmcurl/lib/version_win32.c | 2 +- Utilities/cmcurl/lib/version_win32.h | 2 +- Utilities/cmcurl/lib/vquic/curl_msh3.c | 1086 ++++++ .../lib/{wildcard.c => vquic/curl_msh3.h} | 59 +- Utilities/cmcurl/lib/vquic/curl_ngtcp2.c | 2601 ++++++++++++++ .../lib/vquic/{ngtcp2.h => curl_ngtcp2.h} | 62 +- Utilities/cmcurl/lib/vquic/curl_quiche.c | 1645 +++++++++ .../lib/vquic/{quiche.h => curl_quiche.h} | 42 +- Utilities/cmcurl/lib/vquic/msh3.c | 527 --- Utilities/cmcurl/lib/vquic/ngtcp2.c | 2266 ------------ Utilities/cmcurl/lib/vquic/quiche.c | 892 ----- Utilities/cmcurl/lib/vquic/vquic.c | 547 ++- Utilities/cmcurl/lib/vquic/vquic.h | 32 +- Utilities/cmcurl/lib/vquic/vquic_int.h | 82 + Utilities/cmcurl/lib/vssh/libssh.c | 107 +- Utilities/cmcurl/lib/vssh/libssh2.c | 53 +- Utilities/cmcurl/lib/vssh/ssh.h | 6 +- Utilities/cmcurl/lib/vssh/wolfssh.c | 6 +- Utilities/cmcurl/lib/vtls/bearssl.c | 63 +- Utilities/cmcurl/lib/vtls/bearssl.h | 2 +- Utilities/cmcurl/lib/vtls/gskit.c | 37 +- Utilities/cmcurl/lib/vtls/gskit.h | 2 +- Utilities/cmcurl/lib/vtls/gtls.c | 87 +- Utilities/cmcurl/lib/vtls/gtls.h | 2 +- Utilities/cmcurl/lib/vtls/hostcheck.c | 52 +- Utilities/cmcurl/lib/vtls/hostcheck.h | 2 +- Utilities/cmcurl/lib/vtls/keylog.c | 2 +- Utilities/cmcurl/lib/vtls/keylog.h | 2 +- Utilities/cmcurl/lib/vtls/mbedtls.c | 66 +- Utilities/cmcurl/lib/vtls/mbedtls.h | 4 +- .../cmcurl/lib/vtls/mbedtls_threadlock.c | 4 +- .../cmcurl/lib/vtls/mbedtls_threadlock.h | 4 +- Utilities/cmcurl/lib/vtls/nss.c | 107 +- Utilities/cmcurl/lib/vtls/nssg.h | 2 +- Utilities/cmcurl/lib/vtls/openssl.c | 1493 ++++---- Utilities/cmcurl/lib/vtls/openssl.h | 11 +- Utilities/cmcurl/lib/vtls/rustls.c | 234 +- Utilities/cmcurl/lib/vtls/rustls.h | 2 +- Utilities/cmcurl/lib/vtls/schannel.c | 216 +- Utilities/cmcurl/lib/vtls/schannel.h | 8 +- Utilities/cmcurl/lib/vtls/schannel_verify.c | 6 +- Utilities/cmcurl/lib/vtls/sectransp.c | 226 +- Utilities/cmcurl/lib/vtls/sectransp.h | 4 +- Utilities/cmcurl/lib/vtls/vtls.c | 548 ++- Utilities/cmcurl/lib/vtls/vtls.h | 39 +- Utilities/cmcurl/lib/vtls/vtls_int.h | 58 +- Utilities/cmcurl/lib/vtls/wolfssl.c | 114 +- Utilities/cmcurl/lib/vtls/wolfssl.h | 2 +- Utilities/cmcurl/lib/vtls/x509asn1.c | 71 +- Utilities/cmcurl/lib/vtls/x509asn1.h | 2 +- Utilities/cmcurl/lib/warnless.c | 2 +- Utilities/cmcurl/lib/warnless.h | 2 +- Utilities/cmcurl/lib/wildcard.h | 70 - Utilities/cmcurl/lib/ws.c | 1278 ++++--- Utilities/cmcurl/lib/ws.h | 62 +- Utilities/cmlibarchive/CMakeLists.txt | 43 +- .../{FindLibGCC.cmake => FindLIBGCC.cmake} | 0 .../cmlibarchive/build/cmake/config.h.in | 44 +- .../build/pkgconfig/libarchive.pc.in | 1 + Utilities/cmlibarchive/build/version | 2 +- .../cmlibarchive/libarchive/CMakeLists.txt | 5 + Utilities/cmlibarchive/libarchive/archive.h | 6 +- .../cmlibarchive/libarchive/archive_acl.c | 10 + .../cmlibarchive/libarchive/archive_digest.c | 34 +- .../cmlibarchive/libarchive/archive_entry.c | 14 + .../cmlibarchive/libarchive/archive_entry.h | 4 +- .../cmlibarchive/libarchive/archive_hmac.c | 29 + .../libarchive/archive_hmac_private.h | 7 + .../cmlibarchive/libarchive/archive_match.c | 4 + .../libarchive/archive_platform.h | 3 +- .../cmlibarchive/libarchive/archive_ppmd8.c | 12 + .../libarchive/archive_read_disk_posix.c | 25 +- .../libarchive/archive_read_disk_windows.c | 18 +- .../archive_read_support_filter_lz4.c | 6 + .../archive_read_support_filter_lzop.c | 2 + .../archive_read_support_filter_uu.c | 7 + .../archive_read_support_filter_xz.c | 2 + .../archive_read_support_format_7zip.c | 47 +- .../archive_read_support_format_cab.c | 6 +- .../archive_read_support_format_iso9660.c | 7 +- .../archive_read_support_format_lha.c | 6 +- .../archive_read_support_format_mtree.c | 29 +- .../archive_read_support_format_rar.c | 89 +- .../archive_read_support_format_rar5.c | 24 +- .../archive_read_support_format_tar.c | 20 +- .../archive_read_support_format_xar.c | 4 + .../archive_read_support_format_zip.c | 2 +- .../cmlibarchive/libarchive/archive_string.c | 6 +- .../cmlibarchive/libarchive/archive_write.c | 8 + .../libarchive/archive_write_disk_posix.c | 4 +- .../libarchive/archive_write_disk_windows.c | 6 + .../libarchive/archive_write_open.3 | 1 + .../archive_write_set_format_iso9660.c | 9 + .../libarchive/archive_write_set_format_pax.c | 2 +- Utilities/cmlibarchive/libarchive/cpio.5 | 2 +- .../libarchive/filter_fork_posix.c | 2 +- Utilities/cmliblzma/liblzma/common/index.c | 3 + .../cmliblzma/liblzma/common/index_encoder.c | 4 + Utilities/cmlibrhash/librhash/hex.c | 3 + Utilities/cmlibuv/src/unix/tty.c | 4 + Utilities/cmlibuv/src/unix/udp.c | 6 + Utilities/cmnghttp2/lib/nghttp2_buf.c | 16 + Utilities/cmzlib/gzread.c | 6 + Utilities/cmzlib/gzwrite.c | 6 + Utilities/cmzstd/lib/common/bitstream.h | 2 + Utilities/cmzstd/lib/compress/fse_compress.c | 4 + Utilities/cmzstd/lib/dictBuilder/divsufsort.c | 11 + bootstrap | 110 +- doxygen.config | 697 ---- 2907 files changed, 78866 insertions(+), 29670 deletions(-) create mode 100644 Help/command/UNSET_NOTE.txt create mode 100644 Help/command/cmake_file_api.rst create mode 100644 Help/cpack_gen/innosetup.rst create mode 100644 Help/envvar/CMAKE_APPBUNDLE_PATH.rst create mode 100644 Help/envvar/CMAKE_FRAMEWORK_PATH.rst create mode 100644 Help/envvar/CMAKE_INCLUDE_PATH.rst create mode 100644 Help/envvar/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.rst create mode 100644 Help/envvar/CMAKE_LIBRARY_PATH.rst create mode 100644 Help/envvar/CMAKE_MAXIMUM_RECURSION_DEPTH.rst create mode 100644 Help/envvar/CMAKE_PROGRAM_PATH.rst create mode 100644 Help/guide/tutorial/Complete/MathFunctions/MakeTable.cmake create mode 100644 Help/guide/tutorial/Step10/MathFunctions/MakeTable.cmake create mode 100644 Help/guide/tutorial/Step11/MathFunctions/MakeTable.cmake create mode 100644 Help/guide/tutorial/Step12/MathFunctions/MakeTable.cmake create mode 100644 Help/guide/tutorial/Step2/MathFunctions/MathFunctions.cxx create mode 100644 Help/guide/tutorial/Step2/MathFunctions/mysqrt.h create mode 100644 Help/guide/tutorial/Step3/MathFunctions/MathFunctions.cxx create mode 100644 Help/guide/tutorial/Step3/MathFunctions/mysqrt.h create mode 100644 Help/guide/tutorial/Step4/MathFunctions/MathFunctions.cxx create mode 100644 Help/guide/tutorial/Step4/MathFunctions/mysqrt.h create mode 100644 Help/guide/tutorial/Step5/MathFunctions/MathFunctions.cxx create mode 100644 Help/guide/tutorial/Step5/MathFunctions/mysqrt.h create mode 100644 Help/guide/tutorial/Step6/MathFunctions/MathFunctions.cxx create mode 100644 Help/guide/tutorial/Step6/MathFunctions/mysqrt.h create mode 100644 Help/guide/tutorial/Step7/MathFunctions/MathFunctions.cxx create mode 100644 Help/guide/tutorial/Step7/MathFunctions/mysqrt.h create mode 100644 Help/guide/tutorial/Step8/MathFunctions/MathFunctions.cxx create mode 100644 Help/guide/tutorial/Step8/MathFunctions/mysqrt.h create mode 100644 Help/guide/tutorial/Step9/MathFunctions/MakeTable.cmake create mode 100644 Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx create mode 100644 Help/guide/tutorial/Step9/MathFunctions/mysqrt.h create mode 100644 Help/module/CMAKE_REQUIRED_DEFINITIONS.txt create mode 100644 Help/module/CMAKE_REQUIRED_FLAGS.txt create mode 100644 Help/module/CMAKE_REQUIRED_INCLUDES.txt create mode 100644 Help/module/CMAKE_REQUIRED_LIBRARIES.txt create mode 100644 Help/module/CMAKE_REQUIRED_LINK_OPTIONS.txt create mode 100644 Help/module/CMAKE_REQUIRED_QUIET.txt create mode 100644 Help/policy/CMP0144.rst create mode 100644 Help/policy/CMP0145.rst create mode 100644 Help/policy/CMP0146.rst create mode 100644 Help/policy/CMP0147.rst create mode 100644 Help/policy/CMP0148.rst create mode 100644 Help/policy/CMP0149.rst create mode 100644 Help/policy/CMP0150.rst create mode 100644 Help/policy/CMP0151.rst create mode 100644 Help/prop_sf/SKIP_LINTING.rst create mode 100644 Help/prop_test/TIMEOUT_SIGNAL_GRACE_PERIOD.rst create mode 100644 Help/prop_test/TIMEOUT_SIGNAL_NAME.rst create mode 100644 Help/prop_tgt/AUTOGEN_USE_SYSTEM_INCLUDE.rst create mode 100644 Help/prop_tgt/CUDA_CUBIN_COMPILATION.rst create mode 100644 Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst create mode 100644 Help/prop_tgt/CUDA_OPTIX_COMPILATION.rst delete mode 100644 Help/prop_tgt/CXX_MODULE_HEADER_UNIT_DIRS.rst delete mode 100644 Help/prop_tgt/CXX_MODULE_HEADER_UNIT_DIRS_NAME.rst delete mode 100644 Help/prop_tgt/CXX_MODULE_HEADER_UNIT_SET.rst delete mode 100644 Help/prop_tgt/CXX_MODULE_HEADER_UNIT_SETS.rst delete mode 100644 Help/prop_tgt/CXX_MODULE_HEADER_UNIT_SET_NAME.rst create mode 100644 Help/prop_tgt/DLL_NAME_WITH_SOVERSION.rst create mode 100644 Help/prop_tgt/INTERFACE_AUTOMOC_MACRO_NAMES.rst delete mode 100644 Help/prop_tgt/INTERFACE_CXX_MODULE_HEADER_UNIT_SETS.rst create mode 100644 Help/prop_tgt/MACOS_IMPORT_FILES.txt create mode 100644 Help/release/3.27.rst create mode 100644 Help/variable/CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY.rst create mode 100644 Help/variable/CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE.rst create mode 100644 Help/variable/CMAKE_AUTOMOC_EXECUTABLE.rst create mode 100644 Help/variable/CMAKE_AUTORCC_EXECUTABLE.rst create mode 100644 Help/variable/CMAKE_AUTOUIC_EXECUTABLE.rst create mode 100644 Help/variable/CMAKE_DLL_NAME_WITH_SOVERSION.rst create mode 100644 Help/variable/CMAKE_EXECUTABLE_ENABLE_EXPORTS.rst create mode 100644 Help/variable/CMAKE_KATE_FILES_MODE.rst create mode 100644 Help/variable/CMAKE_KATE_MAKE_ARGUMENTS.rst create mode 100644 Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst create mode 100644 Help/variable/CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS.rst create mode 100644 Help/variable/CMAKE_VS_DEBUGGER_COMMAND.rst create mode 100644 Help/variable/CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS.rst create mode 100644 Help/variable/CMAKE_VS_DEBUGGER_ENVIRONMENT.rst create mode 100644 Help/variable/CMAKE_VS_DEBUGGER_WORKING_DIRECTORY.rst create mode 100644 Help/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.rst create mode 100644 Modules/ExternalProject/PatchInfo.txt.in create mode 100644 Modules/ExternalProject/UpdateInfo.txt.in create mode 100644 Modules/ExternalProject/shared_internal_commands.cmake create mode 100644 Modules/Internal/CPack/ISComponents.pas create mode 100644 Modules/Internal/CPack/ISScript.template.in create mode 100644 Modules/Platform/AIX-Initialize.cmake create mode 100644 Modules/Platform/Apple-AppleClang-ASM.cmake create mode 100644 Modules/Platform/BSDOS-Initialize.cmake create mode 100644 Modules/Platform/BeOS-Initialize.cmake create mode 100644 Modules/Platform/BlueGeneL-Initialize.cmake create mode 100644 Modules/Platform/BlueGeneP-dynamic-Initialize.cmake create mode 100644 Modules/Platform/BlueGeneP-static-Initialize.cmake create mode 100644 Modules/Platform/BlueGeneQ-dynamic-Initialize.cmake create mode 100644 Modules/Platform/BlueGeneQ-static-Initialize.cmake create mode 100644 Modules/Platform/CYGWIN-Initialize.cmake create mode 100644 Modules/Platform/Catamount-Initialize.cmake create mode 100644 Modules/Platform/CrayLinuxEnvironment-Initialize.cmake create mode 100644 Modules/Platform/DOS-Initialize.cmake create mode 100644 Modules/Platform/DragonFly-Initialize.cmake create mode 100644 Modules/Platform/FreeBSD-Initialize.cmake create mode 100644 Modules/Platform/Fuchsia-Initialize.cmake create mode 100644 Modules/Platform/GNU-Initialize.cmake create mode 100644 Modules/Platform/HP-UX-Initialize.cmake create mode 100644 Modules/Platform/Haiku-Initialize.cmake create mode 100644 Modules/Platform/Linux-Initialize.cmake create mode 100644 Modules/Platform/MP-RAS-Initialize.cmake create mode 100644 Modules/Platform/MSYS-Initialize.cmake create mode 100644 Modules/Platform/Midipix-Initialize.cmake create mode 100644 Modules/Platform/NetBSD-Initialize.cmake create mode 100644 Modules/Platform/OSF1-Initialize.cmake create mode 100644 Modules/Platform/OpenBSD-Initialize.cmake create mode 100644 Modules/Platform/OpenVMS-Initialize.cmake create mode 100644 Modules/Platform/QNX-Initialize.cmake create mode 100644 Modules/Platform/RISCos-Initialize.cmake create mode 100644 Modules/Platform/SCO_SV-Initialize.cmake create mode 100644 Modules/Platform/SINIX-Initialize.cmake create mode 100644 Modules/Platform/SerenityOS-Initialize.cmake create mode 100644 Modules/Platform/SunOS-Initialize.cmake create mode 100644 Modules/Platform/Tru64-Initialize.cmake create mode 100644 Modules/Platform/ULTRIX-Initialize.cmake create mode 100644 Modules/Platform/UNIX_SV-Initialize.cmake create mode 100644 Modules/Platform/UnixWare-Initialize.cmake create mode 100644 Modules/Platform/Windows-Initialize.cmake create mode 100644 Modules/Platform/WindowsCE-Initialize.cmake create mode 100644 Modules/Platform/WindowsPhone-Initialize.cmake create mode 100644 Modules/Platform/WindowsStore-Initialize.cmake create mode 100644 Modules/Platform/Xenix-Initialize.cmake create mode 100644 Modules/Platform/eCos-Initialize.cmake create mode 100644 Modules/Platform/kFreeBSD-Initialize.cmake create mode 100644 Modules/Platform/syllable-Initialize.cmake create mode 100644 Source/CPack/cmCPackInnoSetupGenerator.cxx create mode 100644 Source/CPack/cmCPackInnoSetupGenerator.h create mode 100644 Source/QtDialog/QCMakeSizeType.h create mode 100644 Source/cmCMakePresetErrors.h create mode 100644 Source/cmDebuggerAdapter.cxx create mode 100644 Source/cmDebuggerAdapter.h create mode 100644 Source/cmDebuggerBreakpointManager.cxx create mode 100644 Source/cmDebuggerBreakpointManager.h create mode 100644 Source/cmDebuggerExceptionManager.cxx create mode 100644 Source/cmDebuggerExceptionManager.h create mode 100644 Source/cmDebuggerPipeConnection.cxx create mode 100644 Source/cmDebuggerPipeConnection.h create mode 100644 Source/cmDebuggerProtocol.cxx create mode 100644 Source/cmDebuggerProtocol.h create mode 100644 Source/cmDebuggerSourceBreakpoint.cxx create mode 100644 Source/cmDebuggerSourceBreakpoint.h create mode 100644 Source/cmDebuggerStackFrame.cxx create mode 100644 Source/cmDebuggerStackFrame.h create mode 100644 Source/cmDebuggerThread.cxx create mode 100644 Source/cmDebuggerThread.h create mode 100644 Source/cmDebuggerThreadManager.cxx create mode 100644 Source/cmDebuggerThreadManager.h create mode 100644 Source/cmDebuggerVariables.cxx create mode 100644 Source/cmDebuggerVariables.h create mode 100644 Source/cmDebuggerVariablesHelper.cxx create mode 100644 Source/cmDebuggerVariablesHelper.h create mode 100644 Source/cmDebuggerVariablesManager.cxx create mode 100644 Source/cmDebuggerVariablesManager.h create mode 100644 Source/cmEvaluatedTargetProperty.cxx create mode 100644 Source/cmEvaluatedTargetProperty.h create mode 100644 Source/cmFileAPICommand.cxx create mode 100644 Source/cmFileAPICommand.h create mode 100644 Source/cmJSONState.cxx create mode 100644 Source/cmJSONState.h create mode 100644 Source/cmList.cxx create mode 100644 Source/cmList.h delete mode 100644 Source/kwsys/SharedForward.h.in delete mode 100644 Source/kwsys/String.hxx.in delete mode 100644 Source/kwsys/testSharedForward.c.in create mode 100644 Tests/CMakeCommands/target_link_libraries/compile_only.cpp create mode 100644 Tests/CMakeLib/DebuggerSample/CMakeLists.txt create mode 100644 Tests/CMakeLib/DebuggerSample/script.cmake create mode 100644 Tests/CMakeLib/testCommon.h create mode 100644 Tests/CMakeLib/testDebugger.h create mode 100644 Tests/CMakeLib/testDebuggerAdapter.cxx create mode 100644 Tests/CMakeLib/testDebuggerAdapterPipe.cxx create mode 100644 Tests/CMakeLib/testDebuggerBreakpointManager.cxx create mode 100644 Tests/CMakeLib/testDebuggerNamedPipe.cxx create mode 100644 Tests/CMakeLib/testDebuggerVariables.cxx create mode 100644 Tests/CMakeLib/testDebuggerVariablesHelper.cxx create mode 100644 Tests/CMakeLib/testDebuggerVariablesManager.cxx create mode 100644 Tests/CMakeLib/testList.cxx create mode 100644 Tests/CPackInnoSetupGenerator/CMakeLists.txt create mode 100644 Tests/CPackInnoSetupGenerator/Code.pas create mode 100644 Tests/CPackInnoSetupGenerator/RunCPackVerifyResult.cmake create mode 100644 Tests/CPackInnoSetupGenerator/main.c create mode 100644 Tests/CPackInnoSetupGenerator/my_bitmap.bmp create mode 100644 Tests/CPackInnoSetupGenerator/my_file.txt delete mode 100644 Tests/CTestTestZeroTimeout/CMakeLists.txt delete mode 100644 Tests/CTestTestZeroTimeout/CTestConfig.cmake delete mode 100644 Tests/CTestTestZeroTimeout/sleep.c delete mode 100644 Tests/CTestTestZeroTimeout/test.cmake.in create mode 100644 Tests/CudaOnly/CUBIN/CMakeLists.txt create mode 100644 Tests/CudaOnly/CUBIN/kernelA.cu create mode 100644 Tests/CudaOnly/CUBIN/kernelB.cu create mode 100644 Tests/CudaOnly/CUBIN/kernelC.cu create mode 100644 Tests/CudaOnly/CUBIN/main.cu create mode 100644 Tests/CudaOnly/CUBIN/main_no_native_archs.cu create mode 100644 Tests/CudaOnly/Fatbin/CMakeLists.txt create mode 100644 Tests/CudaOnly/Fatbin/main.cu create mode 100644 Tests/CudaOnly/OptixIR/CMakeLists.txt create mode 100644 Tests/CudaOnly/OptixIR/main.cu create mode 100644 Tests/FindHDF5/CMakeLists.txt create mode 100644 Tests/FindHDF5/Test/CMakeLists.txt create mode 100644 Tests/FindHDF5/Test/test_C.c create mode 100644 Tests/FindHDF5/Test/test_CXX.cxx create mode 100644 Tests/FindHDF5/Test/test_Fortran.f90 create mode 100644 Tests/FindOpenGL/Test/main_gles2.c create mode 100644 Tests/FindOpenGL/Test/main_gles3.c create mode 100644 Tests/FindwxWidgets/CMakeLists.txt create mode 100644 Tests/FindwxWidgets/Test/CMakeLists.txt create mode 100644 Tests/FindwxWidgets/Test/main.cpp create mode 100644 Tests/QtAutogen/AutoMocGeneratedFile/CMakeLists.txt create mode 100644 Tests/QtAutogen/AutoMocGeneratedFile/main.cpp create mode 100644 Tests/QtAutogen/GlobalAutogenExecutable/CMakeLists.txt create mode 100644 Tests/QtAutogen/GlobalAutogenExecutable/main.cpp create mode 100644 Tests/QtAutogen/GlobalAutogenSystemUseInclude/CMakeLists.txt create mode 100644 Tests/QtAutogen/GlobalAutogenSystemUseInclude/main.cpp create mode 100644 Tests/QtAutogen/MocInterfaceMacroNames/CMakeLists.txt create mode 100644 Tests/QtAutogen/MocInterfaceMacroNames/CheckAutogenJson.cmake create mode 100644 Tests/QtAutogen/MocInterfaceMacroNames/CheckExportTargets.cmake create mode 100644 Tests/QtAutogen/MocInterfaceMacroNames/dummy.cpp create mode 100644 Tests/QtAutogen/MocInterfaceMacroNames/shared_lib.cpp create mode 100644 Tests/QtAutogen/MocInterfaceMacroNames/static_lib.cpp create mode 100644 Tests/QtAutogen/MocOptions2/CMakeLists.txt create mode 100644 Tests/QtAutogen/MocOptions2/main.cpp create mode 100644 Tests/QtAutogen/MocOptions2/object.cpp create mode 100644 Tests/QtAutogen/MocOptions2/object.hpp create mode 100644 Tests/QtAutogen/RccAutogenBuildDir/CMakeLists.txt create mode 100644 Tests/QtAutogen/RccAutogenBuildDir/lib.cpp create mode 100644 Tests/QtAutogen/RccAutogenBuildDir/lib.h create mode 100644 Tests/QtAutogen/RccAutogenBuildDir/main.cpp create mode 100644 Tests/QtAutogen/RccAutogenBuildDir/resource.qrc create mode 100644 Tests/RunCMake/AddRunCMakeTest.cmake create mode 100644 Tests/RunCMake/AppleSilicon/default-target-arm64-build-check.cmake create mode 100644 Tests/RunCMake/AppleSilicon/default-target-arm64.cmake create mode 100644 Tests/RunCMake/AppleSilicon/default-target-x86_64-build-check.cmake create mode 100644 Tests/RunCMake/AppleSilicon/default-target-x86_64.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/CMakeLists.txt create mode 100644 Tests/RunCMake/AppleTextStubs/Framework-export.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/Framework-import.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/Framework-install-check.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/Framework.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/Library-export.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/Library-import.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/LibraryWithOutputs-install-check.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/LibraryWithOutputs.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/LibraryWithVersions-install-check.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/LibraryWithVersions.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/Simple-install-check.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/Simple.cmake create mode 100644 Tests/RunCMake/AppleTextStubs/foo-config.cmake.in create mode 100644 Tests/RunCMake/AppleTextStubs/foo.c create mode 100644 Tests/RunCMake/AppleTextStubs/main.c create mode 100644 Tests/RunCMake/Autogen/AutogenSkipLinting-build-stderr.txt create mode 100644 Tests/RunCMake/Autogen/AutogenSkipLinting.cmake create mode 100644 Tests/RunCMake/Autogen/AutogenUseSystemIncludeCommon.cmake create mode 100644 Tests/RunCMake/Autogen/AutogenUseSystemIncludeOff.cmake create mode 100644 Tests/RunCMake/Autogen/AutogenUseSystemIncludeOn.cmake create mode 100644 Tests/RunCMake/Autogen/CMP0151-common.cmake create mode 100644 Tests/RunCMake/Autogen/CMP0151-new.cmake create mode 100644 Tests/RunCMake/Autogen/CMP0151-old.cmake create mode 100644 Tests/RunCMake/Autogen/Inspect.cmake create mode 100644 Tests/RunCMake/Autogen/MocGeneratedFile.cmake create mode 100644 Tests/RunCMake/Autogen/MocPredefs-build-stderr.txt create mode 100644 Tests/RunCMake/Autogen/MocPredefs-check.cxx create mode 100644 Tests/RunCMake/Autogen/MocPredefs-prefix.cmake create mode 100644 Tests/RunCMake/Autogen/MocPredefs.cmake create mode 100644 Tests/RunCMake/Autogen/MocPredefs.cxx create mode 100644 Tests/RunCMake/Autogen/SkipLinting.cxx create mode 100644 Tests/RunCMake/Autogen/SkipLinting.h create mode 100644 Tests/RunCMake/BuildDepends/FortranInclude-build1-stderr.txt create mode 100644 Tests/RunCMake/BuildDepends/FortranInclude-build2-stderr.txt create mode 100644 Tests/RunCMake/BuildDepends/FortranInclude.cmake create mode 100644 Tests/RunCMake/BuildDepends/FortranInclude.step1.cmake create mode 100644 Tests/RunCMake/BuildDepends/FortranInclude.step2.cmake create mode 100644 Tests/RunCMake/BuildDepends/FortranIncludeNoPreprocess.f create mode 100644 Tests/RunCMake/BuildDepends/FortranIncludePreprocess.F create mode 100644 Tests/RunCMake/BuildDepends/LinkDepends.cmake create mode 100644 Tests/RunCMake/BuildDepends/LinkDepends.step1.cmake create mode 100644 Tests/RunCMake/BuildDepends/LinkDepends.step2.cmake create mode 100644 Tests/RunCMake/BuildDepends/LinkDependsCheck.cmake create mode 100644 Tests/RunCMake/BuildDepends/LinkDependsExternalLibrary.cmake create mode 100644 Tests/RunCMake/BuildDepends/LinkDependsExternalLibrary.step1.cmake delete mode 100644 Tests/RunCMake/CMP0019/CMP0019-NEW-stderr.txt delete mode 100644 Tests/RunCMake/CMP0022/CMP0022-NOWARN-exe-stderr.txt delete mode 100644 Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared-stderr.txt delete mode 100644 Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-NEW-stderr.txt delete mode 100644 Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-link_libraries-stderr.txt delete mode 100644 Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-stderr.txt delete mode 100644 Tests/RunCMake/CMP0022/CMP0022-export-exe-stderr.txt create mode 100644 Tests/RunCMake/CMP0026/CMP0026-IMPORTED-stderr.txt create mode 100644 Tests/RunCMake/CMP0111/CMP0111-OLD-stderr.txt create mode 100644 Tests/RunCMake/CMP0150/CMP0150-NEW-build-stdout.txt create mode 100644 Tests/RunCMake/CMP0150/CMP0150-NEW-resolve.cmake create mode 100644 Tests/RunCMake/CMP0150/CMP0150-NEW-stdout.txt create mode 100644 Tests/RunCMake/CMP0150/CMP0150-NEW.cmake create mode 100644 Tests/RunCMake/CMP0150/CMP0150-OLD-build-stdout.txt create mode 100644 Tests/RunCMake/CMP0150/CMP0150-OLD-common.cmake create mode 100644 Tests/RunCMake/CMP0150/CMP0150-OLD-stdout.txt create mode 100644 Tests/RunCMake/CMP0150/CMP0150-OLD.cmake create mode 100644 Tests/RunCMake/CMP0150/CMP0150-WARN-build-stdout.txt create mode 100644 Tests/RunCMake/CMP0150/CMP0150-WARN-stderr.txt create mode 100644 Tests/RunCMake/CMP0150/CMP0150-WARN-stdout.txt create mode 100644 Tests/RunCMake/CMP0150/CMP0150-WARN.cmake create mode 100644 Tests/RunCMake/CMP0150/CMakeLists.txt create mode 100644 Tests/RunCMake/CMP0150/CMakeLists.txt.in create mode 100644 Tests/RunCMake/CMP0150/RunCMakeTest.cmake rename Tests/RunCMake/{CXXModules/FileSetModuleHeaderUnitsInterface-result.txt => CMakePresets/EmptyPenvInInclude-result.txt} (100%) create mode 100644 Tests/RunCMake/CMakePresets/EmptyPenvInInclude-stderr.txt create mode 100644 Tests/RunCMake/CMakePresets/EmptyPenvInInclude.json.in rename Tests/RunCMake/{CMP0004/CMP0004-WARN-stderr.txt => CMakePresets/ExplicitNoTrace.cmake} (100%) create mode 100644 Tests/RunCMake/CMakePresets/IncludeExpansion-stdout.txt create mode 100644 Tests/RunCMake/CMakePresets/IncludeExpansion.json.in create mode 100644 Tests/RunCMake/CMakePresets/NoTrace.cmake create mode 100644 Tests/RunCMake/CMakePresets/Trace-stderr.txt create mode 100644 Tests/RunCMake/CMakePresets/Trace.cmake create mode 100644 Tests/RunCMake/CMakePresets/Trace.json.in create mode 100644 Tests/RunCMake/CMakePresets/TraceAll.cmake create mode 100644 Tests/RunCMake/CMakePresets/TraceExpand-stderr.txt create mode 100644 Tests/RunCMake/CMakePresets/TraceExpand.cmake create mode 100644 Tests/RunCMake/CMakePresets/TraceFormatHuman-stderr.txt create mode 100644 Tests/RunCMake/CMakePresets/TraceFormatHuman.cmake create mode 100644 Tests/RunCMake/CMakePresets/TraceFormatJSON-stderr.txt create mode 100644 Tests/RunCMake/CMakePresets/TraceFormatJSON.cmake rename Tests/RunCMake/{CXXModules/NotCXXSourceModuleHeaderUnits-result.txt => CMakePresets/TraceNotSupported-result.txt} (100%) create mode 100644 Tests/RunCMake/CMakePresets/TraceNotSupported-stderr.txt create mode 100644 Tests/RunCMake/CMakePresets/TraceNotSupported.json.in create mode 100644 Tests/RunCMake/CMakePresets/TraceRedirect.cmake create mode 100644 Tests/RunCMake/CMakePresets/TraceSource.cmake create mode 100644 Tests/RunCMake/CTest/CMP0145-Dart-NEW-result.txt create mode 100644 Tests/RunCMake/CTest/CMP0145-Dart-NEW-stderr.txt create mode 100644 Tests/RunCMake/CTest/CMP0145-Dart-NEW.cmake create mode 100644 Tests/RunCMake/CTest/CMP0145-Dart-OLD.cmake create mode 100644 Tests/RunCMake/CTest/CMP0145-Dart-WARN-stderr.txt create mode 100644 Tests/RunCMake/CTest/CMP0145-Dart-WARN.cmake create mode 100644 Tests/RunCMake/CTest/CMP0145-FindDart-NEW-result.txt create mode 100644 Tests/RunCMake/CTest/CMP0145-FindDart-NEW-stderr.txt create mode 100644 Tests/RunCMake/CTest/CMP0145-FindDart-NEW.cmake create mode 100644 Tests/RunCMake/CTest/CMP0145-FindDart-OLD.cmake create mode 100644 Tests/RunCMake/CTest/CMP0145-FindDart-WARN-stderr.txt create mode 100644 Tests/RunCMake/CTest/CMP0145-FindDart-WARN.cmake create mode 100644 Tests/RunCMake/CTestCommandLine/TimeoutSignalBad-result.txt create mode 100644 Tests/RunCMake/CTestCommandLine/TimeoutSignalBad-stderr.txt create mode 100644 Tests/RunCMake/CTestCommandLine/TimeoutSignalBad-stdout.txt create mode 100644 Tests/RunCMake/CTestCommandLine/TimeoutSignalWindows-result.txt create mode 100644 Tests/RunCMake/CTestCommandLine/TimeoutSignalWindows-stderr.txt create mode 100644 Tests/RunCMake/CTestCommandLine/TimeoutSignalWindows-stdout.txt create mode 100644 Tests/RunCMake/CTestTimeout/Signal-check.cmake create mode 100644 Tests/RunCMake/CTestTimeout/Signal-stdout.txt create mode 100644 Tests/RunCMake/CTestTimeout/SignalGraceHigh-check.cmake create mode 100644 Tests/RunCMake/CTestTimeout/SignalGraceHigh-stdout.txt create mode 100644 Tests/RunCMake/CTestTimeout/SignalGraceLow-check.cmake create mode 100644 Tests/RunCMake/CTestTimeout/SignalGraceLow-stdout.txt create mode 100644 Tests/RunCMake/CTestTimeout/SignalIgnore-check.cmake create mode 100644 Tests/RunCMake/CTestTimeout/SignalIgnore-stdout.txt create mode 100644 Tests/RunCMake/CTestTimeout/SignalUnknown-check.cmake create mode 100644 Tests/RunCMake/CTestTimeout/SignalUnknown-stdout.txt create mode 100644 Tests/RunCMake/CTestTimeout/SignalWindows-check.cmake create mode 100644 Tests/RunCMake/CTestTimeout/SignalWindows-stdout.txt create mode 100644 Tests/RunCMake/CTestTimeout/ZeroOverridesFlag-stdout.txt create mode 100644 Tests/RunCMake/CTestTimeout/ZeroOverridesVar-stdout.txt delete mode 100644 Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsInterface-stderr.txt delete mode 100644 Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsInterface.cmake delete mode 100644 Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsInterfaceImported.cmake delete mode 100644 Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsPrivate-stderr.txt delete mode 100644 Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsPrivate.cmake delete mode 100644 Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsPublic-stderr.txt delete mode 100644 Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsPublic.cmake delete mode 100644 Tests/RunCMake/CXXModules/NotCXXSourceModuleHeaderUnits-stderr.txt delete mode 100644 Tests/RunCMake/CXXModules/NotCXXSourceModuleHeaderUnits.cmake create mode 100644 Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-build/no_modules.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-build/subdir/importable.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-install/no_modules.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-install/subdir/importable.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-interface-build/no_modules.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-interface-build/subdir/importable.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-interface-install/no_modules.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-interface-install/subdir/importable.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-interface-no-properties-build/no_modules.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-interface-no-properties-build/subdir/importable.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-interface-no-properties-install/no_modules.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/export-interface-no-properties-install/subdir/importable.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/req-private-other-target-build-result.txt create mode 100644 Tests/RunCMake/CXXModules/examples/req-private-other-target-build-stdout.txt rename Tests/RunCMake/CXXModules/{FileSetModuleHeaderUnitsInterfaceImported-stderr.txt => examples/req-private-other-target-stderr.txt} (53%) create mode 100644 Tests/RunCMake/CXXModules/examples/req-private-other-target/CMakeLists.txt create mode 100644 Tests/RunCMake/CXXModules/examples/req-private-other-target/lib.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/req-private-other-target/main.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/req-private-other-target/priv.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/same-src-name-stderr.txt create mode 100644 Tests/RunCMake/CXXModules/examples/same-src-name/CMakeLists.txt create mode 100644 Tests/RunCMake/CXXModules/examples/same-src-name/a/same.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/same-src-name/b/same.cxx create mode 100644 Tests/RunCMake/CXXModules/examples/same-src-name/main.cxx create mode 100644 Tests/RunCMake/Color/DiagColorInEnv.cmake create mode 100644 Tests/RunCMake/CommandLine/DebuggerArgMissingDapLog-result.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerArgMissingDapLog-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerArgMissingDapLog.cmake create mode 100644 Tests/RunCMake/CommandLine/DebuggerArgMissingPipe-result.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerArgMissingPipe-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerArgMissingPipe.cmake create mode 100644 Tests/RunCMake/CommandLine/DebuggerCapabilityInspect-check.cmake create mode 100644 Tests/RunCMake/CommandLine/DebuggerNotSupported-result.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerNotSupported-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerNotSupported.cmake create mode 100644 Tests/RunCMake/CommandLine/DebuggerNotSupportedDapLog-result.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerNotSupportedDapLog-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerNotSupportedDapLog.cmake create mode 100644 Tests/RunCMake/CommandLine/DebuggerNotSupportedPipe-result.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerNotSupportedPipe-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/DebuggerNotSupportedPipe.cmake create mode 100644 Tests/RunCMake/CommandLine/DeprecateVS9-WARN-OFF.cmake create mode 100644 Tests/RunCMake/CommandLine/DeprecateVS9-WARN-ON-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/DeprecateVS9-WARN-ON.cmake delete mode 100644 Tests/RunCMake/CompilerLauncher/HIP-env-launch-Build-stdout.txt create mode 100644 Tests/RunCMake/CompilerLauncher/HIP-launch-env-Build-stdout.txt delete mode 100644 Tests/RunCMake/CompilerLauncher/OBJC-env-launch-Build-stdout.txt create mode 100644 Tests/RunCMake/CompilerLauncher/OBJC-launch-env-Build-stdout.txt delete mode 100644 Tests/RunCMake/CompilerLauncher/OBJCXX-env-launch-Build-stdout.txt create mode 100644 Tests/RunCMake/CompilerLauncher/OBJCXX-launch-env-Build-stdout.txt create mode 100644 Tests/RunCMake/ExternalProject/Add_StepDependencies-stderr.txt create mode 100644 Tests/RunCMake/ExternalProject/Add_StepDependencies_no_target-stderr.txt create mode 100644 Tests/RunCMake/ExternalProject/Steps-CMP0114-OLD-stderr.txt create mode 100644 Tests/RunCMake/ExtraGenerators/CMakeLists.txt create mode 100644 Tests/RunCMake/ExtraGenerators/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/ExtraGenerators/Simple-stderr.txt create mode 100644 Tests/RunCMake/ExtraGenerators/Simple.cmake create mode 100644 Tests/RunCMake/FetchContent/IgnoreToolchainFile.cmake create mode 100644 Tests/RunCMake/FileAPI/ProjectQueryBad-result.txt create mode 100644 Tests/RunCMake/FileAPI/ProjectQueryBad-stderr.txt create mode 100644 Tests/RunCMake/FileAPI/ProjectQueryBad.cmake create mode 100644 Tests/RunCMake/FileAPI/ProjectQueryGood-check.cmake create mode 100644 Tests/RunCMake/FileAPI/ProjectQueryGood.cmake create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/directories/framework.json create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/projects/framework.json create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/targets/all_build_framework.json create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/targets/apple_exe_framework.json create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/targets/apple_shared_framework.json create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/targets/apple_static_framework.json create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/targets/exe_framework.json create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/targets/shared_framework.json create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/targets/static_framework.json create mode 100644 Tests/RunCMake/FileAPI/codemodel-v2-data/targets/zero_check_framework.json create mode 100644 Tests/RunCMake/FileAPI/framework/CMakeLists.txt create mode 100644 Tests/RunCMake/Framework/consumer.c create mode 100644 Tests/RunCMake/GenEx-LIST/APPEND.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-LIST/FILTER-wrong-operator-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/FILTER-wrong-operator-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/FILTER-wrong-operator.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/FILTER-wrong-regex-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/FILTER-wrong-regex-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/FILTER-wrong-regex.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/FIND.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/GET-wrong-index1-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/GET-wrong-index1-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/GET-wrong-index1.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/GET-wrong-index2-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/GET-wrong-index2-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/GET-wrong-index2.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/GET-wrong-index3-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/GET-wrong-index3-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/GET-wrong-index3.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/GET.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/INSERT-wrong-index1-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/INSERT-wrong-index1-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/INSERT-wrong-index1.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/INSERT-wrong-index2-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/INSERT-wrong-index2-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/INSERT-wrong-index2.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/INSERT.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/JOIN.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/LENGTH.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/POP_BACK.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/POP_FRONT.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/PREPEND.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT-wrong-index1-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT-wrong-index1-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT-wrong-index1.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT-wrong-index2-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT-wrong-index2-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT-wrong-index2.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT-wrong-index3-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT-wrong-index3-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT-wrong-index3.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_AT.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_DUPLICATES.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/REMOVE_ITEM.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/REVERSE.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-duplicate-CASE-option-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-duplicate-CASE-option-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-duplicate-CASE-option.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-duplicate-COMPARE-option-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-duplicate-COMPARE-option-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-duplicate-COMPARE-option.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-duplicate-ORDER-option-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-duplicate-ORDER-option-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-duplicate-ORDER-option.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-CASE-option-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-CASE-option-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-CASE-option.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-COMPARE-option-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-COMPARE-option-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-COMPARE-option.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-ORDER-option-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-ORDER-option-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-ORDER-option.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-option-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-option-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SORT-wrong-option.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SORT.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/SUBLIST-wrong-argument1-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SUBLIST-wrong-argument1-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SUBLIST-wrong-argument1.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SUBLIST-wrong-argument2-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SUBLIST-wrong-argument2-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/SUBLIST-wrong-argument2.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/SUBLIST.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-APPEND.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-PREPEND.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE-invalid-replace1-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE-invalid-replace1-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE-invalid-replace1.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE-invalid-replace2-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE-invalid-replace2-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE-invalid-replace2.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE-wrong-regex-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE-wrong-regex-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE-wrong-regex.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-REPLACE.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-STRIP.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-TOLOWER.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-TOUPPER.cmake.in create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-missing-arg-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-AT-no-arguments-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-AT-no-arguments-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-AT-no-arguments.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-AT-wrong-argument-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-AT-wrong-argument-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-AT-wrong-argument.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-AT-wrong-index-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-AT-wrong-index-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-AT-wrong-index.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-backwards-range-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-backwards-range-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-backwards-range.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-missing-arguments-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-missing-arguments-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-missing-arguments.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-negative-step-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-negative-step-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-negative-step.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-no-arguments-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-no-arguments-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-no-arguments.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-wrong-argument-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-wrong-argument-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-wrong-argument.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-wrong-index-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-wrong-index-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-wrong-index.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-zero-step-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-zero-step-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-FOR-zero-step.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-REGEX-no-arguments-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-REGEX-no-arguments-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-REGEX-no-arguments.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-REGEX-wrong-regex-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-REGEX-wrong-regex-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-selector-REGEX-wrong-regex.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-unexpected-arg-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-wrong-action-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-wrong-action-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/TRANSFORM-wrong-action.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/bad-option-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/bad-option-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/bad-option.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/check_errors.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/generate.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/missing-arg-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/missing-arg-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/missing-arg.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/no-arguments-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/no-arguments-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/no-arguments.cmake create mode 100644 Tests/RunCMake/GenEx-LIST/unexpected-arg-result.txt create mode 100644 Tests/RunCMake/GenEx-LIST/unexpected-arg-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LIST/unexpected-arg.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_IMPORT_FILE-check.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_IMPORT_FILE.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_IMPORT_FILE_SUFFIX-check.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_IMPORT_FILE_SUFFIX.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_LINKER_IMPORT_FILE-non-valid-target-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_LINKER_IMPORT_FILE-non-valid-target-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_LINKER_IMPORT_FILE-non-valid-target.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_LINKER_LIBRARY_FILE-non-valid-target-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_LINKER_LIBRARY_FILE-non-valid-target-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_LINKER_LIBRARY_FILE-non-valid-target.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_SONAME_IMPORT_FILE-check.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_SONAME_IMPORT_FILE-non-valid-target-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_SONAME_IMPORT_FILE-non-valid-target-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_SONAME_IMPORT_FILE-non-valid-target.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/TARGET_SONAME_IMPORT_FILE.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_IMPORT_FILE/empty.c delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared-check.cmake create mode 100644 Tests/RunCMake/GenerateExportHeader/reference/Cygwin/libshared_export.h create mode 100644 Tests/RunCMake/GenerateExportHeader/reference/Cygwin/libstatic_export.h create mode 100644 Tests/RunCMake/GeneratorExpression/COMPILE_ONLY-not-compiling-result.txt create mode 100644 Tests/RunCMake/GeneratorExpression/COMPILE_ONLY-not-compiling-stderr.txt create mode 100644 Tests/RunCMake/GeneratorExpression/COMPILE_ONLY-not-compiling.cmake create mode 100644 Tests/RunCMake/GeneratorPlatform/BadFieldNoComma-result.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadFieldNoComma-stderr.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadFieldNoComma.cmake create mode 100644 Tests/RunCMake/GeneratorPlatform/BadFieldUnknown-result.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadFieldUnknown-stderr.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadFieldUnknown.cmake create mode 100644 Tests/RunCMake/GeneratorPlatform/BadVersionEmpty-result.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadVersionEmpty-stderr.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadVersionEmpty.cmake create mode 100644 Tests/RunCMake/GeneratorPlatform/BadVersionMissing-result.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadVersionMissing-stderr.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadVersionMissing.cmake create mode 100644 Tests/RunCMake/GeneratorPlatform/BadVersionPlatform-result.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadVersionPlatform-stderr.txt create mode 100644 Tests/RunCMake/GeneratorPlatform/BadVersionPlatform.cmake create mode 100644 Tests/RunCMake/GeneratorPlatform/VersionExists-check.cmake create mode 100644 Tests/RunCMake/GeneratorPlatform/VersionExists.cmake create mode 100644 Tests/RunCMake/IncludeWhatYouUse/C-error-Build-result.txt create mode 100644 Tests/RunCMake/IncludeWhatYouUse/C-error-Build-stdout.txt create mode 100644 Tests/RunCMake/IncludeWhatYouUse/C-error.cmake create mode 100644 Tests/RunCMake/IncludeWhatYouUse/CXX-error-Build-result.txt create mode 100644 Tests/RunCMake/IncludeWhatYouUse/CXX-error-Build-stdout.txt create mode 100644 Tests/RunCMake/IncludeWhatYouUse/CXX-error.cmake create mode 100644 Tests/RunCMake/Make/CMP0113-OLD-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/ctest_read_custom_files-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/ctest_read_custom_files-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/ctest_read_custom_files-invalid-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/ctest_read_custom_files-invalid-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/find_package-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/find_package-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/find_package-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/find_package-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/find_package-invalid-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/find_package-invalid-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/find_package-invalid-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/find_package-invalid-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/function-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/function-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/function-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/function-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/function-invalid-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/function-invalid-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/function-invalid-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/function-invalid-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/include-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/include-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/include-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/include-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/include-invalid-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/include-invalid-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/include-invalid-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/include-invalid-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/macro-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/macro-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/macro-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/macro-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/macro-invalid-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/macro-invalid-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/macro-invalid-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/macro-invalid-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/variable_watch-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/variable_watch-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/variable_watch-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/variable_watch-env-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/variable_watch-invalid-env-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/variable_watch-invalid-env-script-result.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/variable_watch-invalid-env-script-stderr.txt create mode 100644 Tests/RunCMake/MaxRecursionDepth/variable_watch-invalid-env-stderr.txt create mode 100644 Tests/RunCMake/MultiLint/C-launch_skip_linting_ON.cmake create mode 100644 Tests/RunCMake/MultiLint/CMakeLists copy.txt create mode 100644 Tests/RunCMake/MultiLint/CXX-launch_skip_linting_ON.cmake create mode 100644 Tests/RunCMake/MultiLint/CXX_skip_linting_OFF-Build-result.txt create mode 100644 Tests/RunCMake/MultiLint/CXX_skip_linting_OFF.cmake create mode 100644 Tests/RunCMake/MultiLint/CXX_skip_linting_ON.cmake create mode 100644 Tests/RunCMake/MultiLint/C_skip_linting_OFF-Build-result.txt create mode 100644 Tests/RunCMake/MultiLint/C_skip_linting_OFF.cmake create mode 100644 Tests/RunCMake/MultiLint/C_skip_linting_ON.cmake create mode 100644 Tests/RunCMake/Ninja/CMP0058-WARN-by-stderr.txt create mode 100644 Tests/RunCMake/Ninja/CustomCommandExplicitDepends.cmake create mode 100644 Tests/RunCMake/NinjaMultiConfig/OutputPathPrefix-all-ninja-stdout.txt create mode 100644 Tests/RunCMake/NinjaMultiConfig/OutputPathPrefix.cmake create mode 100644 Tests/RunCMake/ParseImplicitLinkInfo/ExcludeDirs.cmake create mode 100644 Tests/RunCMake/ParseImplicitLinkInfo/Inspect.cmake rename Tests/RunCMake/{ArtifactOutputDirs => TargetArtifacts}/CMakeLists.txt (100%) create mode 100644 Tests/RunCMake/TargetArtifacts/DLL-SOVERSION-build-stdout.txt create mode 100644 Tests/RunCMake/TargetArtifacts/DLL-SOVERSION.cmake rename Tests/RunCMake/{ArtifactOutputDirs/ArtifactOutputDirs.cmake => TargetArtifacts/OutputDirs.cmake} (100%) rename Tests/RunCMake/{ArtifactOutputDirs => TargetArtifacts}/RunCMakeTest.cmake (66%) rename Tests/RunCMake/{ArtifactOutputDirs => TargetArtifacts}/check.cmake (100%) create mode 100644 Tests/RunCMake/TargetArtifacts/dll.c rename Tests/RunCMake/{ArtifactOutputDirs => TargetArtifacts}/lib.c (100%) rename Tests/RunCMake/{ArtifactOutputDirs => TargetArtifacts}/main.c (100%) create mode 100644 Tests/RunCMake/ToolchainFile/SetCrossCompiling-stderr.txt create mode 100644 Tests/RunCMake/ToolchainFile/SetCrossCompiling-toolchain.cmake create mode 100644 Tests/RunCMake/ToolchainFile/SetCrossCompiling.cmake create mode 100644 Tests/RunCMake/VS10Project/CMakeInputs-check.cmake create mode 100644 Tests/RunCMake/VS10Project/CMakeInputs.cmake create mode 100644 Tests/RunCMake/VS10Project/CustomCommandParallel-check.cmake create mode 100644 Tests/RunCMake/VS10Project/CustomCommandParallel.cmake create mode 100644 Tests/RunCMake/VerifyHeaderSets/skip_linting.h create mode 100644 Tests/RunCMake/XcodeProject-Device/CMakeLists.txt rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/DeploymentTarget.c (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/DeploymentTarget.cmake (94%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/EffectivePlatformNameOFF.cmake (100%) create mode 100644 Tests/RunCMake/XcodeProject-Device/RunCMakeTest.cmake rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XCTestAddBundle.cmake (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XCTestLookup.cmake (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeBundles-install-check.cmake (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeBundles.cmake (99%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeIOSInstallCombined-cmakeinstall-check.cmake (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeIOSInstallCombined-install-check.cmake (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeIOSInstallCombined.cmake (94%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeIOSInstallCombinedPrune-install-check.cmake (100%) create mode 100644 Tests/RunCMake/XcodeProject-Device/XcodeIOSInstallCombinedPrune-install-stdout.txt rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeIOSInstallCombinedPrune.cmake (93%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeIOSInstallCombinedSingleArch-cmakeinstall-check.cmake (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeIOSInstallCombinedSingleArch-install-check.cmake (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeIOSInstallCombinedSingleArch.cmake (90%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeInstallIOS-install-stdout.txt (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeInstallIOS.cmake (73%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeMultiplatform.cmake (90%) create mode 100644 Tests/RunCMake/XcodeProject-Device/XcodeRemoveExcessiveISystem.cmake rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/XcodeTbdStub-stdout.txt (100%) create mode 100644 Tests/RunCMake/XcodeProject-Device/XcodeTbdStub.cmake create mode 100644 Tests/RunCMake/XcodeProject-Device/dummy_main.swift create mode 100644 Tests/RunCMake/XcodeProject-Device/foo.cpp create mode 100644 Tests/RunCMake/XcodeProject-Device/main.c create mode 100644 Tests/RunCMake/XcodeProject-Device/main.cpp rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/main.m (100%) rename Tests/RunCMake/{XcodeProject => XcodeProject-Device}/osx.cmake (100%) delete mode 100644 Tests/RunCMake/XcodeProject/XcodeIOSInstallCombinedPrune-install-stdout.txt delete mode 100644 Tests/RunCMake/XcodeProject/XcodeTbdStub.cmake create mode 100644 Tests/RunCMake/add_subdirectory/System/zap.f create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-AlphaNumeric-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-BracketArgument-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-EscapedSpecialChars-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-FormerInvalidSpecialChars-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-FormerInvalidSpecialCharsMC-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-LeadingAndTrailingWhitespace-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-OtherSpecialChars-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-Quote-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-Semicolon-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-Space-stderr.txt create mode 100644 Tests/RunCMake/add_test/CMP0110-OLD-ValidSpecialChars-stderr.txt create mode 100644 Tests/RunCMake/add_test/CheckEmptyArgument.cmake create mode 100644 Tests/RunCMake/add_test/EmptyArgument.cmake delete mode 100644 Tests/RunCMake/cmake_minimum_required/Before2812-stderr.txt create mode 100644 Tests/RunCMake/cmake_minimum_required/Before3_5-stderr.txt rename Tests/RunCMake/cmake_minimum_required/{Before2812.cmake => Before3_5.cmake} (100%) create mode 100644 Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/windows-conflict-all-stderr-Borland.txt create mode 100644 Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/windows-unresolved-all-stderr-Borland.txt create mode 100644 Tests/RunCMake/find_package/CMP0144-NEW-CaseInsensitive-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0144-NEW-CaseInsensitive.cmake create mode 100644 Tests/RunCMake/find_package/CMP0144-NEW-CaseSensitive-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0144-NEW-CaseSensitive.cmake create mode 100644 Tests/RunCMake/find_package/CMP0144-OLD-CaseInsensitive-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0144-OLD-CaseInsensitive.cmake create mode 100644 Tests/RunCMake/find_package/CMP0144-OLD-CaseSensitive-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0144-OLD-CaseSensitive.cmake create mode 100644 Tests/RunCMake/find_package/CMP0144-WARN-CaseInsensitive-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0144-WARN-CaseInsensitive.cmake create mode 100644 Tests/RunCMake/find_package/CMP0144-WARN-CaseSensitive-Mixed-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0144-WARN-CaseSensitive-Mixed.cmake create mode 100644 Tests/RunCMake/find_package/CMP0144-WARN-CaseSensitive-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0144-WARN-CaseSensitive.cmake create mode 100644 Tests/RunCMake/find_package/CMP0144-common.cmake create mode 100644 Tests/RunCMake/find_package/CMP0145-NEW-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0145-NEW.cmake create mode 100644 Tests/RunCMake/find_package/CMP0145-OLD.cmake create mode 100644 Tests/RunCMake/find_package/CMP0145-WARN-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0145-WARN.cmake create mode 100644 Tests/RunCMake/find_package/CMP0146-NEW-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0146-NEW.cmake create mode 100644 Tests/RunCMake/find_package/CMP0146-OLD.cmake create mode 100644 Tests/RunCMake/find_package/CMP0146-WARN-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0146-WARN.cmake create mode 100644 Tests/RunCMake/find_package/CMP0147-NEW-result.txt create mode 100644 Tests/RunCMake/find_package/CMP0147-NEW-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0147-NEW.cmake create mode 100644 Tests/RunCMake/find_package/CMP0147-OLD.cmake create mode 100644 Tests/RunCMake/find_package/CMP0147-WARN.cmake create mode 100644 Tests/RunCMake/find_package/CMP0147-common.cmake create mode 100644 Tests/RunCMake/find_package/CMP0148-Interp-NEW-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0148-Interp-NEW.cmake create mode 100644 Tests/RunCMake/find_package/CMP0148-Interp-OLD.cmake create mode 100644 Tests/RunCMake/find_package/CMP0148-Interp-WARN-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0148-Interp-WARN.cmake create mode 100644 Tests/RunCMake/find_package/CMP0148-Libs-NEW-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0148-Libs-NEW.cmake create mode 100644 Tests/RunCMake/find_package/CMP0148-Libs-OLD.cmake create mode 100644 Tests/RunCMake/find_package/CMP0148-Libs-WARN-stderr.txt create mode 100644 Tests/RunCMake/find_package/CMP0148-Libs-WARN.cmake create mode 100644 Tests/RunCMake/find_program/CMP0109-OLD-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0146-NEW-name-result.txt create mode 100644 Tests/RunCMake/include/CMP0146-NEW-name-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0146-NEW-name.cmake create mode 100644 Tests/RunCMake/include/CMP0146-NEW-path-result.txt create mode 100644 Tests/RunCMake/include/CMP0146-NEW-path-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0146-NEW-path.cmake create mode 100644 Tests/RunCMake/include/CMP0146-OLD.cmake create mode 100644 Tests/RunCMake/include/CMP0146-WARN-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0146-WARN.cmake create mode 100644 Tests/RunCMake/include/CMP0148-Interp-NEW-name-result.txt create mode 100644 Tests/RunCMake/include/CMP0148-Interp-NEW-name-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0148-Interp-NEW-name.cmake create mode 100644 Tests/RunCMake/include/CMP0148-Interp-NEW-path-result.txt create mode 100644 Tests/RunCMake/include/CMP0148-Interp-NEW-path-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0148-Interp-NEW-path.cmake create mode 100644 Tests/RunCMake/include/CMP0148-Interp-OLD.cmake create mode 100644 Tests/RunCMake/include/CMP0148-Interp-WARN-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0148-Interp-WARN.cmake create mode 100644 Tests/RunCMake/include/CMP0148-Libs-NEW-name-result.txt create mode 100644 Tests/RunCMake/include/CMP0148-Libs-NEW-name-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0148-Libs-NEW-name.cmake create mode 100644 Tests/RunCMake/include/CMP0148-Libs-NEW-path-result.txt create mode 100644 Tests/RunCMake/include/CMP0148-Libs-NEW-path-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0148-Libs-NEW-path.cmake create mode 100644 Tests/RunCMake/include/CMP0148-Libs-OLD.cmake create mode 100644 Tests/RunCMake/include/CMP0148-Libs-WARN-stderr.txt create mode 100644 Tests/RunCMake/include/CMP0148-Libs-WARN.cmake create mode 100644 Tests/RunCMake/install/TARGETS-NAMELINK-No-Tweak.cmake create mode 100644 Tests/RunCMake/install/empty3.cmake create mode 100644 Tests/RunCMake/install/empty4.cmake create mode 100644 Tests/RunCMake/project/CMP0048-NEW-stderr.txt create mode 100644 Tests/RunCMake/target_sources/FileSetDirect-result.txt create mode 100644 Tests/RunCMake/target_sources/FileSetDirect-stderr.txt create mode 100644 Tests/RunCMake/target_sources/FileSetDirect.cmake create mode 100644 Tests/RunCMake/target_sources/FileSetWrongSyntax-result.txt create mode 100644 Tests/RunCMake/target_sources/FileSetWrongSyntax-stderr.txt create mode 100644 Tests/RunCMake/target_sources/FileSetWrongSyntax.cmake create mode 100644 Tests/RunCMake/target_sources/MissingSource-result.txt create mode 100644 Tests/RunCMake/target_sources/MissingSource-stderr.txt create mode 100644 Tests/RunCMake/target_sources/MissingSource.cmake create mode 100755 Utilities/Scripts/update-cppdap.bash create mode 100644 Utilities/cm3p/cppdap/dap.h create mode 100644 Utilities/cm3p/cppdap/future.h create mode 100644 Utilities/cm3p/cppdap/io.h create mode 100644 Utilities/cm3p/cppdap/optional.h create mode 100644 Utilities/cm3p/cppdap/protocol.h create mode 100644 Utilities/cm3p/cppdap/session.h create mode 100644 Utilities/cm3p/cppdap/types.h create mode 100644 Utilities/cm3p/json/forwards.h create mode 100644 Utilities/cm3p/json/json.h create mode 100644 Utilities/cmcppdap/CMakeLists.txt create mode 100644 Utilities/cmcppdap/LICENSE create mode 100644 Utilities/cmcppdap/NOTICE create mode 100644 Utilities/cmcppdap/include/dap/any.h create mode 100644 Utilities/cmcppdap/include/dap/dap.h create mode 100644 Utilities/cmcppdap/include/dap/future.h create mode 100644 Utilities/cmcppdap/include/dap/io.h create mode 100644 Utilities/cmcppdap/include/dap/network.h create mode 100644 Utilities/cmcppdap/include/dap/optional.h create mode 100644 Utilities/cmcppdap/include/dap/protocol.h create mode 100644 Utilities/cmcppdap/include/dap/serialization.h create mode 100644 Utilities/cmcppdap/include/dap/session.h create mode 100644 Utilities/cmcppdap/include/dap/traits.h create mode 100644 Utilities/cmcppdap/include/dap/typeinfo.h create mode 100644 Utilities/cmcppdap/include/dap/typeof.h create mode 100644 Utilities/cmcppdap/include/dap/types.h create mode 100644 Utilities/cmcppdap/include/dap/variant.h create mode 100644 Utilities/cmcppdap/src/any_test.cpp create mode 100644 Utilities/cmcppdap/src/chan.h create mode 100644 Utilities/cmcppdap/src/chan_test.cpp create mode 100644 Utilities/cmcppdap/src/content_stream.cpp create mode 100644 Utilities/cmcppdap/src/content_stream.h create mode 100644 Utilities/cmcppdap/src/content_stream_test.cpp create mode 100644 Utilities/cmcppdap/src/dap_test.cpp create mode 100644 Utilities/cmcppdap/src/io.cpp create mode 100644 Utilities/cmcppdap/src/json_serializer.h create mode 100644 Utilities/cmcppdap/src/json_serializer_test.cpp create mode 100644 Utilities/cmcppdap/src/jsoncpp_json_serializer.cpp create mode 100644 Utilities/cmcppdap/src/jsoncpp_json_serializer.h create mode 100644 Utilities/cmcppdap/src/network.cpp create mode 100644 Utilities/cmcppdap/src/network_test.cpp create mode 100644 Utilities/cmcppdap/src/nlohmann_json_serializer.cpp create mode 100644 Utilities/cmcppdap/src/nlohmann_json_serializer.h create mode 100644 Utilities/cmcppdap/src/null_json_serializer.cpp create mode 100644 Utilities/cmcppdap/src/null_json_serializer.h create mode 100644 Utilities/cmcppdap/src/optional_test.cpp create mode 100644 Utilities/cmcppdap/src/protocol_events.cpp create mode 100644 Utilities/cmcppdap/src/protocol_requests.cpp create mode 100644 Utilities/cmcppdap/src/protocol_response.cpp create mode 100644 Utilities/cmcppdap/src/protocol_types.cpp create mode 100644 Utilities/cmcppdap/src/rapid_json_serializer.cpp create mode 100644 Utilities/cmcppdap/src/rapid_json_serializer.h create mode 100644 Utilities/cmcppdap/src/rwmutex.h create mode 100644 Utilities/cmcppdap/src/rwmutex_test.cpp create mode 100644 Utilities/cmcppdap/src/session.cpp create mode 100644 Utilities/cmcppdap/src/session_test.cpp create mode 100644 Utilities/cmcppdap/src/socket.cpp create mode 100644 Utilities/cmcppdap/src/socket.h create mode 100644 Utilities/cmcppdap/src/socket_test.cpp create mode 100644 Utilities/cmcppdap/src/string_buffer.h create mode 100644 Utilities/cmcppdap/src/traits_test.cpp create mode 100644 Utilities/cmcppdap/src/typeinfo.cpp create mode 100644 Utilities/cmcppdap/src/typeinfo_test.cpp create mode 100644 Utilities/cmcppdap/src/typeof.cpp create mode 100644 Utilities/cmcppdap/src/variant_test.cpp create mode 100644 Utilities/cmcurl/CMake/PickyWarnings.cmake create mode 100644 Utilities/cmcurl/lib/bufq.c create mode 100644 Utilities/cmcurl/lib/bufq.h create mode 100644 Utilities/cmcurl/lib/cf-h1-proxy.c create mode 100644 Utilities/cmcurl/lib/cf-h1-proxy.h create mode 100644 Utilities/cmcurl/lib/cf-h2-proxy.c create mode 100644 Utilities/cmcurl/lib/cf-h2-proxy.h create mode 100644 Utilities/cmcurl/lib/cf-haproxy.c rename Utilities/cmcurl/lib/{vquic/msh3.h => cf-haproxy.h} (70%) create mode 100644 Utilities/cmcurl/lib/cf-https-connect.c create mode 100644 Utilities/cmcurl/lib/cf-https-connect.h create mode 100644 Utilities/cmcurl/lib/cf-socket.c create mode 100644 Utilities/cmcurl/lib/cf-socket.h create mode 100644 Utilities/cmcurl/lib/curl_log.c create mode 100644 Utilities/cmcurl/lib/curl_log.h create mode 100644 Utilities/cmcurl/lib/dynhds.c create mode 100644 Utilities/cmcurl/lib/dynhds.h delete mode 100644 Utilities/cmcurl/lib/h2h3.c delete mode 100644 Utilities/cmcurl/lib/h2h3.h create mode 100644 Utilities/cmcurl/lib/http1.c create mode 100644 Utilities/cmcurl/lib/http1.h delete mode 100644 Utilities/cmcurl/lib/quic.h create mode 100644 Utilities/cmcurl/lib/vquic/curl_msh3.c rename Utilities/cmcurl/lib/{wildcard.c => vquic/curl_msh3.h} (51%) create mode 100644 Utilities/cmcurl/lib/vquic/curl_ngtcp2.c rename Utilities/cmcurl/lib/vquic/{ngtcp2.h => curl_ngtcp2.h} (51%) create mode 100644 Utilities/cmcurl/lib/vquic/curl_quiche.c rename Utilities/cmcurl/lib/vquic/{quiche.h => curl_quiche.h} (58%) delete mode 100644 Utilities/cmcurl/lib/vquic/msh3.c delete mode 100644 Utilities/cmcurl/lib/vquic/ngtcp2.c delete mode 100644 Utilities/cmcurl/lib/vquic/quiche.c create mode 100644 Utilities/cmcurl/lib/vquic/vquic_int.h delete mode 100644 Utilities/cmcurl/lib/wildcard.h rename Utilities/cmlibarchive/build/cmake/{FindLibGCC.cmake => FindLIBGCC.cmake} (100%) delete mode 100644 doxygen.config diff --git a/.clang-tidy b/.clang-tidy index c790467ae..1b776e17f 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -15,6 +15,7 @@ misc-*,\ -misc-no-recursion,\ -misc-non-private-member-variables-in-classes,\ -misc-static-assert,\ +-misc-use-anonymous-namespace,\ modernize-*,\ -modernize-avoid-c-arrays,\ -modernize-macro-to-enum,\ diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index a11becbe2..6bd23bf38 100644 --- a/Auxiliary/cmake-mode.el +++ b/Auxiliary/cmake-mode.el @@ -372,7 +372,7 @@ optional argument topic will be appended to the argument list." (interactive "s") (let* ((bufname (if buffer buffer (concat "*CMake" type (if topic "-") topic "*"))) (buffer (if (get-buffer bufname) (get-buffer bufname) (generate-new-buffer bufname))) - (command (concat cmake-mode-cmake-executable " " type " " topic)) + (command (concat cmake-mode-cmake-executable " " type " " (if topic (shell-quote-argument topic) topic))) ;; Turn of resizing of mini-windows for shell-command. (resize-mini-windows nil) ) @@ -391,7 +391,7 @@ optional argument topic will be appended to the argument list." (interactive "s") (let* ((bufname (if buffer buffer (concat "*CMake" type (if topic "-") topic "*"))) (buffer (if (get-buffer bufname) (get-buffer bufname) (generate-new-buffer bufname))) - (command (concat cmake-mode-cmake-executable " " type " " topic)) + (command (concat cmake-mode-cmake-executable " " type " " (if topic (shell-quote-argument topic) topic))) ;; Turn of resizing of mini-windows for shell-command. (resize-mini-windows nil) ) diff --git a/Auxiliary/vim/syntax/cmake.vim b/Auxiliary/vim/syntax/cmake.vim index 5e936c29d..bc8b06a64 100644 --- a/Auxiliary/vim/syntax/cmake.vim +++ b/Auxiliary/vim/syntax/cmake.vim @@ -73,6 +73,7 @@ syn keyword cmakeProperty contained \ AUTOGEN_ORIGIN_DEPENDS \ AUTOGEN_PARALLEL \ AUTOGEN_SOURCE_GROUP + \ AUTOGEN_USE_SYSTEM_INCLUDE \ AUTOGEN_TARGETS_FOLDER \ AUTOGEN_TARGET_DEPENDS \ AUTOMOC @@ -128,7 +129,10 @@ syn keyword cmakeProperty contained \ CPACK_WIX_ACL \ CROSSCOMPILING_EMULATOR \ CUDA_ARCHITECTURES + \ CUDA_CUBIN_COMPILATION \ CUDA_EXTENSIONS + \ CUDA_FATBIN_COMPILATION + \ CUDA_OPTIX_COMPILATION \ CUDA_PTX_COMPILATION \ CUDA_RESOLVE_DEVICE_SYMBOLS \ CUDA_RUNTIME_LIBRARY @@ -217,6 +221,7 @@ syn keyword cmakeProperty contained \ INSTALL_RPATH \ INSTALL_RPATH_USE_LINK_PATH \ INTERFACE_AUTOUIC_OPTIONS + \ INTERFACE_AUTOMOC_MACRO_NAMES \ INTERFACE_COMPILE_DEFINITIONS \ INTERFACE_COMPILE_FEATURES \ INTERFACE_COMPILE_OPTIONS @@ -320,6 +325,7 @@ syn keyword cmakeProperty contained \ SKIP_AUTORCC \ SKIP_AUTOUIC \ SKIP_BUILD_RPATH + \ SKIP_LINTING \ SKIP_PRECOMPILE_HEADERS \ SKIP_REGULAR_EXPRESSION \ SKIP_RETURN_CODE @@ -459,6 +465,7 @@ syn keyword cmakeVariable contained \ BUILD_SHARED_LIBS \ CACHE \ CMAKE_ABSOLUTE_DESTINATION_FILES + \ CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY \ CMAKE_AIX_EXPORT_ALL_SYMBOLS \ CMAKE_ANDROID_ANT_ADDITIONAL_OPTIONS \ CMAKE_ANDROID_API @@ -678,6 +685,7 @@ syn keyword cmakeVariable contained \ CMAKE_ASM_VISIBILITY_PRESET \ CMAKE_AUTOGEN_ORIGIN_DEPENDS \ CMAKE_AUTOGEN_PARALLEL + \ CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE \ CMAKE_AUTOGEN_VERBOSE \ CMAKE_AUTOMOC \ CMAKE_AUTOMOC_COMPILER_PREDEFINES @@ -686,11 +694,14 @@ syn keyword cmakeVariable contained \ CMAKE_AUTOMOC_MOC_OPTIONS \ CMAKE_AUTOMOC_PATH_PREFIX \ CMAKE_AUTOMOC_RELAXED_MODE + \ CMAKE_AUTOMOC_EXECUTABLE \ CMAKE_AUTORCC \ CMAKE_AUTORCC_OPTIONS + \ CMAKE_AUTORCC_EXECUTABLE \ CMAKE_AUTOUIC \ CMAKE_AUTOUIC_OPTIONS \ CMAKE_AUTOUIC_SEARCH_PATHS + \ CMAKE_AUTOUIC_EXECUTABLE \ CMAKE_BACKWARDS_COMPATIBILITY \ CMAKE_BINARY_DIR \ CMAKE_BUILD_RPATH @@ -2095,6 +2106,7 @@ syn keyword cmakeKWadd_custom_command contained \ COMMENT \ CROSSCOMPILING_EMULATOR \ DEPENDS + \ DEPENDS_EXPLICIT_ONLY \ DEPFILE \ GENERATED \ IMPLICIT_DEPENDS @@ -2735,6 +2747,7 @@ syn keyword cmakeKWfile contained \ READ_SYMLINK \ REAL_PATH \ REGEX + \ RELATIVE \ RELATIVE_PATH \ RELEASE \ REMOVE diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ce42fb3a..d559c0855 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. -cmake_minimum_required(VERSION 3.13...3.24 FATAL_ERROR) +cmake_minimum_required(VERSION 3.13...3.25 FATAL_ERROR) set(CMAKE_USER_MAKE_RULES_OVERRIDE_C ${CMAKE_CURRENT_SOURCE_DIR}/Source/Modules/OverrideC.cmake) set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/Source/Modules/OverrideCXX.cmake) @@ -131,6 +131,23 @@ if(CMake_BUILD_LTO) endif() endif() +# Check whether to build support for the debugger mode. +if(NOT CMake_TEST_EXTERNAL_CMAKE) + if(NOT DEFINED CMake_ENABLE_DEBUGGER) + # The debugger uses cppdap, which does not compile everywhere. + if(CMAKE_SYSTEM_NAME MATCHES "Windows|Darwin|Linux|BSD|DragonFly|CYGWIN|MSYS" + AND NOT (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.16) + AND NOT (CMAKE_CXX_COMPILER_ID STREQUAL "XLClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16.1) + ) + set(CMake_ENABLE_DEBUGGER 1) + else() + set(CMake_ENABLE_DEBUGGER 0) + endif() + endif() +else() + set(CMake_ENABLE_DEBUGGER 0) +endif() + #----------------------------------------------------------------------- # a macro to deal with system libraries, implemented as a macro # simply to improve readability of the main script @@ -141,7 +158,7 @@ macro(CMAKE_HANDLE_SYSTEM_LIBRARIES) # Allow the user to enable/disable all system utility library options by # defining CMAKE_USE_SYSTEM_LIBRARIES or CMAKE_USE_SYSTEM_LIBRARY_${util}. - set(UTILITIES BZIP2 CURL EXPAT FORM JSONCPP LIBARCHIVE LIBLZMA LIBRHASH LIBUV NGHTTP2 ZLIB ZSTD) + set(UTILITIES BZIP2 CPPDAP CURL EXPAT FORM JSONCPP LIBARCHIVE LIBLZMA LIBRHASH LIBUV NGHTTP2 ZLIB ZSTD) foreach(util IN LISTS UTILITIES) if(NOT DEFINED CMAKE_USE_SYSTEM_LIBRARY_${util} AND DEFINED CMAKE_USE_SYSTEM_LIBRARIES) @@ -169,6 +186,9 @@ macro(CMAKE_HANDLE_SYSTEM_LIBRARIES) # Optionally use system utility libraries. option(CMAKE_USE_SYSTEM_LIBARCHIVE "Use system-installed libarchive" "${CMAKE_USE_SYSTEM_LIBRARY_LIBARCHIVE}") + if(CMake_ENABLE_DEBUGGER) + option(CMAKE_USE_SYSTEM_CPPDAP "Use system-installed cppdap" "${CMAKE_USE_SYSTEM_LIBRARY_CPPDAP}") + endif() option(CMAKE_USE_SYSTEM_CURL "Use system-installed curl" "${CMAKE_USE_SYSTEM_LIBRARY_CURL}") option(CMAKE_USE_SYSTEM_EXPAT "Use system-installed expat" "${CMAKE_USE_SYSTEM_LIBRARY_EXPAT}") CMAKE_DEPENDENT_OPTION(CMAKE_USE_SYSTEM_ZLIB "Use system-installed zlib" @@ -182,7 +202,8 @@ macro(CMAKE_HANDLE_SYSTEM_LIBRARIES) CMAKE_DEPENDENT_OPTION(CMAKE_USE_SYSTEM_NGHTTP2 "Use system-installed nghttp2" "${CMAKE_USE_SYSTEM_LIBRARY_NGHTTP2}" "NOT CMAKE_USE_SYSTEM_CURL" ON) option(CMAKE_USE_SYSTEM_FORM "Use system-installed libform" "${CMAKE_USE_SYSTEM_LIBRARY_FORM}") - option(CMAKE_USE_SYSTEM_JSONCPP "Use system-installed jsoncpp" "${CMAKE_USE_SYSTEM_LIBRARY_JSONCPP}") + CMAKE_DEPENDENT_OPTION(CMAKE_USE_SYSTEM_JSONCPP "Use system-installed jsoncpp" + "${CMAKE_USE_SYSTEM_LIBRARY_JSONCPP}" "NOT CMAKE_USE_SYSTEM_CPPDAP" ON) option(CMAKE_USE_SYSTEM_LIBRHASH "Use system-installed librhash" "${CMAKE_USE_SYSTEM_LIBRARY_LIBRHASH}") option(CMAKE_USE_SYSTEM_LIBUV "Use system-installed libuv" "${CMAKE_USE_SYSTEM_LIBRARY_LIBUV}") diff --git a/CompileFlags.cmake b/CompileFlags.cmake index 6331af11c..f94e079ad 100644 --- a/CompileFlags.cmake +++ b/CompileFlags.cmake @@ -8,7 +8,7 @@ if(WIN32 AND CMAKE_C_COMPILER_ID STREQUAL "Intel") set(_INTEL_WINDOWS 1) endif() -if(WIN32 AND CMAKE_C_COMPILER_ID STREQUAL "Clang" +if(WIN32 AND CMAKE_C_COMPILER_ID MATCHES "^(Clang|IntelLLVM)$" AND "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC") set(_CLANG_MSVC_WINDOWS 1) endif() @@ -22,18 +22,19 @@ if(MSVC OR _INTEL_WINDOWS OR _CLANG_MSVC_WINDOWS) else() endif() -if(MSVC) - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_CXX_LINKER_WRAPPER_FLAG}-stack:10000000") -endif() - # MSVC 14.28 enables C5105, but the Windows SDK 10.0.18362.0 triggers it. if(CMAKE_C_COMPILER_ID STREQUAL "MSVC" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 19.28) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -wd5105") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -wd5105") endif() -if(_CLANG_MSVC_WINDOWS AND "x${CMAKE_CXX_COMPILER_FRONTEND_VARIANT}" STREQUAL "xGNU") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Xlinker -stack:20000000") +# Use a stack size large enough for CMake_DEFAULT_RECURSION_LIMIT. +if(MSVC) + string(APPEND CMAKE_EXE_LINKER_FLAGS " ${CMAKE_CXX_LINKER_WRAPPER_FLAG}-stack:10000000") +elseif(MINGW OR MSYS OR CYGWIN) + string(APPEND CMAKE_EXE_LINKER_FLAGS " -Wl,--stack,10000000") +elseif(_CLANG_MSVC_WINDOWS AND "x${CMAKE_CXX_COMPILER_FRONTEND_VARIANT}" STREQUAL "xGNU") + string(APPEND CMAKE_EXE_LINKER_FLAGS " -Xlinker -stack:20000000") endif() #silence duplicate symbol warnings on AIX diff --git a/Help/command/FIND_XXX.txt b/Help/command/FIND_XXX.txt index bd55e24c7..fe26d2b9a 100644 --- a/Help/command/FIND_XXX.txt +++ b/Help/command/FIND_XXX.txt @@ -132,6 +132,9 @@ If ``NO_DEFAULT_PATH`` is not specified, the search process is as follows: .. |CMAKE_PREFIX_PATH_XXX_SUBDIR| replace:: |prefix_XXX_SUBDIR| for each ```` in :variable:`CMAKE_PREFIX_PATH` +.. |ENV_CMAKE_PREFIX_PATH_XXX_SUBDIR| replace:: + |prefix_XXX_SUBDIR| for each ```` in :envvar:`CMAKE_PREFIX_PATH` + .. |SYSTEM_ENVIRONMENT_PREFIX_PATH_XXX_SUBDIR| replace:: |prefix_XXX_SUBDIR| for each ``/[s]bin`` in ``PATH``, and |entry_XXX_SUBDIR| for other entries in ``PATH`` @@ -140,21 +143,40 @@ If ``NO_DEFAULT_PATH`` is not specified, the search process is as follows: |prefix_XXX_SUBDIR| for each ```` in :variable:`CMAKE_SYSTEM_PREFIX_PATH` -1. .. versionadded:: 3.12 - If called from within a find module or any other script loaded by a call to - :command:`find_package()`, search prefixes unique to the - current package being found. Specifically, look in the - :variable:`_ROOT` CMake variable and the - :envvar:`_ROOT` environment variable. - The package root variables are maintained as a stack, so if called from - nested find modules or config packages, root paths from the parent's find - module or config package will be searched after paths from the current - module or package. In other words, the search order would be - ``_ROOT``, ``ENV{_ROOT}``, - ``_ROOT``, ``ENV{_ROOT}``, etc. - This can be skipped if ``NO_PACKAGE_ROOT_PATH`` is passed or by setting - the :variable:`CMAKE_FIND_USE_PACKAGE_ROOT_PATH` to ``FALSE``. - See policy :policy:`CMP0074`. +1. If called from within a find module or any other script loaded by a call to + :command:`find_package()`, search prefixes unique to the + current package being found. See policy :policy:`CMP0074`. + + .. versionadded:: 3.12 + + Specifically, search paths specified by the following variables, in order: + + a. :variable:`_ROOT` CMake variable, + where ```` is the case-preserved package name. + + b. :variable:`_ROOT` CMake variable, + where ```` is the upper-cased package name. + See policy :policy:`CMP0144`. + + .. versionadded:: 3.27 + + c. :envvar:`_ROOT` environment variable, + where ```` is the case-preserved package name. + + d. :envvar:`_ROOT` environment variable, + where ```` is the upper-cased package name. + See policy :policy:`CMP0144`. + + .. versionadded:: 3.27 + + The package root variables are maintained as a stack, so if called from + nested find modules or config packages, root paths from the parent's find + module or config package will be searched after paths from the current + module or package. In other words, the search order would be + ``_ROOT``, ``ENV{_ROOT}``, + ``_ROOT``, ``ENV{_ROOT}``, etc. + This can be skipped if ``NO_PACKAGE_ROOT_PATH`` is passed or by setting + the :variable:`CMAKE_FIND_USE_PACKAGE_ROOT_PATH` to ``FALSE``. * |FIND_PACKAGE_ROOT_PREFIX_PATH_XXX| @@ -175,9 +197,9 @@ If ``NO_DEFAULT_PATH`` is not specified, the search process is as follows: This can be skipped if ``NO_CMAKE_ENVIRONMENT_PATH`` is passed or by setting the :variable:`CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH` to ``FALSE``. - * |CMAKE_PREFIX_PATH_XXX| - * |CMAKE_XXX_PATH| - * |CMAKE_XXX_MAC_PATH| + * |ENV_CMAKE_PREFIX_PATH_XXX| + * |ENV_CMAKE_XXX_PATH| + * |ENV_CMAKE_XXX_MAC_PATH| 4. Search the paths specified by the ``HINTS`` option. These should be paths computed by system introspection, such as a diff --git a/Help/command/UNSET_NOTE.txt b/Help/command/UNSET_NOTE.txt new file mode 100644 index 000000000..8dc912533 --- /dev/null +++ b/Help/command/UNSET_NOTE.txt @@ -0,0 +1,9 @@ +.. note:: + + When evaluating :ref:`Variable References` of the form ``${VAR}``, CMake + first searches for a normal variable with that name. If no such normal + variable exists, CMake will then search for a cache entry with that name. + Because of this, **unsetting a normal variable can expose a cache variable + that was previously hidden**. To force a variable reference of the form + ``${VAR}`` to return an empty string, use ``set( "")``, which + clears the normal variable but leaves it defined. diff --git a/Help/command/add_compile_options.rst b/Help/command/add_compile_options.rst index 0ccebc679..869d0c2ce 100644 --- a/Help/command/add_compile_options.rst +++ b/Help/command/add_compile_options.rst @@ -11,6 +11,11 @@ Adds options to the :prop_dir:`COMPILE_OPTIONS` directory property. These options are used when compiling targets from the current directory and below. +.. note:: + + These options are not used when linking. + See the :command:`add_link_options` command for that. + Arguments ^^^^^^^^^ @@ -48,5 +53,15 @@ See Also * The command :command:`target_compile_options` adds target-specific options. +* This command adds compile options for all languages. + Use the :genex:`COMPILE_LANGUAGE` generator expression to specify + per-language compile options. + * The source file property :prop_sf:`COMPILE_OPTIONS` adds options to one source file. + +* :command:`add_link_options` adds options for linking. + +* :variable:`CMAKE__FLAGS` and :variable:`CMAKE__FLAGS_` + add language-wide flags passed to all invocations of the compiler. + This includes invocations that drive compiling and those that drive linking. diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst index 293d3f01b..f1be3094d 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -25,7 +25,8 @@ The first signature is for adding a custom command to produce an output: [DEPFILE depfile] [JOB_POOL job_pool] [VERBATIM] [APPEND] [USES_TERMINAL] - [COMMAND_EXPAND_LISTS]) + [COMMAND_EXPAND_LISTS] + [DEPENDS_EXPLICIT_ONLY]) This defines a command to generate specified ``OUTPUT`` file(s). A target created in the same directory (``CMakeLists.txt`` file) @@ -357,6 +358,24 @@ The options are: :ref:`Makefile Generators`, :ref:`Visual Studio Generators`, and the :generator:`Xcode` generator. +``DEPENDS_EXPLICIT_ONLY`` + + .. versionadded:: 3.27 + + Indicate that the command's ``DEPENDS`` argument represents all files + required by the command and implicit dependencies are not required. + + Without this option, if any target uses the output of the custom command, + CMake will consider that target's dependencies as implicit dependencies for + the custom command in case this custom command requires files implicitly + created by those targets. + + This option can be enabled on all custom commands by setting + :variable:`CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY` to ``ON``. + + Only the :ref:`Ninja Generators` actually use this information to remove + unnecessary implicit dependencies. + Examples: Generating Files ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -459,7 +478,7 @@ target is already built, the command will not execute. [BYPRODUCTS [files...]] [WORKING_DIRECTORY dir] [COMMENT comment] - [VERBATIM] [USES_TERMINAL] + [VERBATIM] [COMMAND_EXPAND_LISTS]) This defines a new command that will be associated with building the @@ -470,9 +489,12 @@ When the command will happen is determined by which of the following is specified: ``PRE_BUILD`` - On :ref:`Visual Studio Generators`, run before any other rules are - executed within the target. - On other generators, run just before ``PRE_LINK`` commands. + This option has unique behavior for the :ref:`Visual Studio Generators`. + When using one of the Visual Studio generators, the command will run before + any other rules are executed within the target. With all other generators, + this option behaves the same as ``PRE_LINK`` instead. Because of this, + it is recommended to avoid using ``PRE_BUILD`` except when it is known that + a Visual Studio generator is being used. ``PRE_LINK`` Run after sources have been compiled but before linking the binary or running the librarian or archiver tool of a static library. diff --git a/Help/command/add_link_options.rst b/Help/command/add_link_options.rst index c09e10690..df7271543 100644 --- a/Help/command/add_link_options.rst +++ b/Help/command/add_link_options.rst @@ -38,3 +38,7 @@ See Also * :command:`link_libraries` * :command:`target_link_libraries` * :command:`target_link_options` + +* :variable:`CMAKE__FLAGS` and :variable:`CMAKE__FLAGS_` + add language-wide flags passed to all invocations of the compiler. + This includes invocations that drive compiling and those that drive linking. diff --git a/Help/command/add_test.rst b/Help/command/add_test.rst index 53555a4b0..02dd3986a 100644 --- a/Help/command/add_test.rst +++ b/Help/command/add_test.rst @@ -12,13 +12,24 @@ Add a test to the project to be run by :manual:`ctest(1)`. Adds a test called ````. The test name may contain arbitrary characters, expressed as a :ref:`Quoted Argument` or :ref:`Bracket Argument` -if necessary. See policy :policy:`CMP0110`. The options are: +if necessary. See policy :policy:`CMP0110`. + +CMake only generates tests if the :command:`enable_testing` command has been +invoked. The :module:`CTest` module invokes ``enable_testing`` automatically +unless ``BUILD_TESTING`` is set to ``OFF``. + +Tests added with the ``add_test(NAME)`` signature support using +:manual:`generator expressions ` +in test properties set by :command:`set_property(TEST)` or +:command:`set_tests_properties`. Test properties may only be set in the +directory the test is created in. + +``add_test`` options are: ``COMMAND`` - Specify the test command-line. If ```` specifies an - executable target (created by :command:`add_executable`) it will - automatically be replaced by the location of the executable created - at build time. + Specify the test command-line. If ```` specifies an executable + target created by :command:`add_executable`, it will automatically be + replaced by the location of the executable created at build time. The command may be specified using :manual:`generator expressions `. @@ -27,38 +38,29 @@ if necessary. See policy :policy:`CMP0110`. The options are: Restrict execution of the test only to the named configurations. ``WORKING_DIRECTORY`` - Set the :prop_test:`WORKING_DIRECTORY` test property to - specify the working directory in which to execute the test. - If not specified the test will be run with the current working - directory set to the build directory corresponding to the - current source directory. - - The working directory may be specified using - :manual:`generator expressions `. + Set the test property :prop_test:`WORKING_DIRECTORY` in which to execute the + test. If not specified, the test will be run in + :variable:`CMAKE_CURRENT_BINARY_DIR`. The working directory may be specified + using :manual:`generator expressions `. ``COMMAND_EXPAND_LISTS`` .. versionadded:: 3.16 - Lists in ``COMMAND`` arguments will be expanded, including those - created with + Lists in ``COMMAND`` arguments will be expanded, including those created with :manual:`generator expressions `. -The given test command is expected to exit with code ``0`` to pass and -non-zero to fail, or vice-versa if the :prop_test:`WILL_FAIL` test -property is set. Any output written to stdout or stderr will be -captured by :manual:`ctest(1)` but does not affect the pass/fail status -unless the :prop_test:`PASS_REGULAR_EXPRESSION`, -:prop_test:`FAIL_REGULAR_EXPRESSION` or -:prop_test:`SKIP_REGULAR_EXPRESSION` test property is used. +If the test command exits with code ``0`` the test passes. Non-zero exit code +is a "failed" test. The test property :prop_test:`WILL_FAIL` inverts this +logic. Note that system-level test failures such as segmentation faults or +heap errors will still fail the test even if ``WILL_FALL`` is true. Output +written to stdout or stderr is captured by :manual:`ctest(1)` and only +affects the pass/fail status via the :prop_test:`PASS_REGULAR_EXPRESSION`, +:prop_test:`FAIL_REGULAR_EXPRESSION`, or :prop_test:`SKIP_REGULAR_EXPRESSION` +test properties. .. versionadded:: 3.16 Added :prop_test:`SKIP_REGULAR_EXPRESSION` property. -Tests added with the ``add_test(NAME)`` signature support using -:manual:`generator expressions ` -in test properties set by :command:`set_property(TEST)` or -:command:`set_tests_properties`. - Example usage: .. code-block:: cmake @@ -71,16 +73,9 @@ This creates a test ``mytest`` whose command runs a ``testDriver`` tool passing the configuration name and the full path to the executable file produced by target ``myexe``. -.. note:: - - CMake will generate tests only if the :command:`enable_testing` - command has been invoked. The :module:`CTest` module invokes the - command automatically unless the ``BUILD_TESTING`` option is turned - ``OFF``. - --------------------------------------------------------------------- -This command also supports a simpler, but less flexible, signature: +The command syntax above is recommended over the older, less flexible form: .. code-block:: cmake diff --git a/Help/command/cmake_file_api.rst b/Help/command/cmake_file_api.rst new file mode 100644 index 000000000..e7ee7e7ad --- /dev/null +++ b/Help/command/cmake_file_api.rst @@ -0,0 +1,78 @@ +cmake_file_api +-------------- + +.. versionadded:: 3.27 + +Enables interacting with the :manual:`CMake file API `. + +.. signature:: + cmake_file_api(QUERY ...) + + The ``QUERY`` subcommand adds a file API query for the current CMake + invocation. + + .. code-block:: cmake + + cmake_file_api( + QUERY + API_VERSION + [CODEMODEL ...] + [CACHE ...] + [CMAKEFILES ...] + [TOOLCHAINS ...] + ) + + The ``API_VERSION`` must always be given. Currently, the only supported + value for ```` is 1. See :ref:`file-api v1` for details of the + reply content and location. + + Each of the optional keywords ``CODEMODEL``, ``CACHE``, ``CMAKEFILES`` and + ``TOOLCHAINS`` correspond to one of the object kinds that can be requested + by the project. The ``configureLog`` object kind cannot be set with this + command, since it must be set before CMake starts reading the top level + ``CMakeLists.txt`` file. + + For each of the optional keywords, the ```` list must contain one + or more version values of the form ``major`` or ``major.minor``, where + ``major`` and ``minor`` are integers. Projects should list the versions they + accept in their preferred order, as only the first supported value from the + list will be selected. The command will ignore versions with a ``major`` + version higher than any major version it supports for that object kind. + It will raise an error if it encounters an invalid version number, or if none + of the requested versions is supported. + + For each type of object kind requested, a query equivalent to a shared, + stateless query will be added internally. No query file will be created in + the file system. The reply *will* be written to the file system at + generation time. + + It is not an error to add a query for the same thing more than once, whether + from query files or from multiple calls to ``cmake_file_api(QUERY)``. + The final set of queries will be a merged combination of all queries + specified on disk and queries submitted by the project. + +Example +^^^^^^^ + +A project may want to use replies from the file API at build time to implement +some form of verification task. Instead of relying on something outside of +CMake to create a query file, the project can use ``cmake_file_api(QUERY)`` +to request the required information for the current run. It can then create +a custom command to run at build time, knowing that the requested information +should always be available. + +.. code-block:: cmake + + cmake_file_api( + QUERY + API_VERSION 1 + CODEMODEL 2.3 + TOOLCHAINS 1 + ) + + add_custom_target(verify_project + COMMAND ${CMAKE_COMMAND} + -D BUILD_DIR=${CMAKE_BINARY_DIR} + -D CONFIG=$ + -P ${CMAKE_CURRENT_SOURCE_DIR}/verify_project.cmake + ) diff --git a/Help/command/cmake_language.rst b/Help/command/cmake_language.rst index 8801a9fdf..707568cf7 100644 --- a/Help/command/cmake_language.rst +++ b/Help/command/cmake_language.rst @@ -27,163 +27,155 @@ those created via the :command:`macro` or :command:`function` commands. Calling Commands ^^^^^^^^^^^^^^^^ -.. _CALL: - -.. code-block:: cmake - +.. signature:: cmake_language(CALL [...]) -Calls the named ```` with the given arguments (if any). -For example, the code: + Calls the named ```` with the given arguments (if any). + For example, the code: -.. code-block:: cmake + .. code-block:: cmake - set(message_command "message") - cmake_language(CALL ${message_command} STATUS "Hello World!") + set(message_command "message") + cmake_language(CALL ${message_command} STATUS "Hello World!") -is equivalent to + is equivalent to -.. code-block:: cmake + .. code-block:: cmake - message(STATUS "Hello World!") + message(STATUS "Hello World!") -.. note:: - To ensure consistency of the code, the following commands are not allowed: + .. note:: + To ensure consistency of the code, the following commands are not allowed: - * ``if`` / ``elseif`` / ``else`` / ``endif`` - * ``block`` / ``endblock`` - * ``while`` / ``endwhile`` - * ``foreach`` / ``endforeach`` - * ``function`` / ``endfunction`` - * ``macro`` / ``endmacro`` + * ``if`` / ``elseif`` / ``else`` / ``endif`` + * ``block`` / ``endblock`` + * ``while`` / ``endwhile`` + * ``foreach`` / ``endforeach`` + * ``function`` / ``endfunction`` + * ``macro`` / ``endmacro`` Evaluating Code ^^^^^^^^^^^^^^^ -.. _EVAL: - -.. code-block:: cmake - +.. signature:: cmake_language(EVAL CODE ...) + :target: EVAL -Evaluates the ``...`` as CMake code. + Evaluates the ``...`` as CMake code. -For example, the code: + For example, the code: -.. code-block:: cmake + .. code-block:: cmake - set(A TRUE) - set(B TRUE) - set(C TRUE) - set(condition "(A AND B) OR C") + set(A TRUE) + set(B TRUE) + set(C TRUE) + set(condition "(A AND B) OR C") - cmake_language(EVAL CODE " - if (${condition}) - message(STATUS TRUE) - else() - message(STATUS FALSE) - endif()" - ) + cmake_language(EVAL CODE " + if (${condition}) + message(STATUS TRUE) + else() + message(STATUS FALSE) + endif()" + ) -is equivalent to + is equivalent to -.. code-block:: cmake + .. code-block:: cmake - set(A TRUE) - set(B TRUE) - set(C TRUE) - set(condition "(A AND B) OR C") - - file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/eval.cmake " - if (${condition}) - message(STATUS TRUE) - else() - message(STATUS FALSE) - endif()" - ) + set(A TRUE) + set(B TRUE) + set(C TRUE) + set(condition "(A AND B) OR C") - include(${CMAKE_CURRENT_BINARY_DIR}/eval.cmake) + file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/eval.cmake " + if (${condition}) + message(STATUS TRUE) + else() + message(STATUS FALSE) + endif()" + ) + + include(${CMAKE_CURRENT_BINARY_DIR}/eval.cmake) Deferring Calls ^^^^^^^^^^^^^^^ .. versionadded:: 3.19 -.. _DEFER: - -.. code-block:: cmake - +.. signature:: cmake_language(DEFER ... CALL [...]) -Schedules a call to the named ```` with the given arguments (if any) -to occur at a later time. By default, deferred calls are executed as if -written at the end of the current directory's ``CMakeLists.txt`` file, -except that they run even after a :command:`return` call. Variable -references in arguments are evaluated at the time the deferred call is -executed. + Schedules a call to the named ```` with the given arguments (if any) + to occur at a later time. By default, deferred calls are executed as if + written at the end of the current directory's ``CMakeLists.txt`` file, + except that they run even after a :command:`return` call. Variable + references in arguments are evaluated at the time the deferred call is + executed. -The options are: + The options are: -``DIRECTORY `` - Schedule the call for the end of the given directory instead of the - current directory. The ```` may reference either a source - directory or its corresponding binary directory. Relative paths are - treated as relative to the current source directory. + ``DIRECTORY `` + Schedule the call for the end of the given directory instead of the + current directory. The ```` may reference either a source + directory or its corresponding binary directory. Relative paths are + treated as relative to the current source directory. - The given directory must be known to CMake, being either the top-level - directory or one added by :command:`add_subdirectory`. Furthermore, - the given directory must not yet be finished processing. This means - it can be the current directory or one of its ancestors. + The given directory must be known to CMake, being either the top-level + directory or one added by :command:`add_subdirectory`. Furthermore, + the given directory must not yet be finished processing. This means + it can be the current directory or one of its ancestors. -``ID `` - Specify an identification for the deferred call. - The ```` may not be empty and may not begin with a capital letter ``A-Z``. - The ```` may begin with an underscore (``_``) only if it was generated - automatically by an earlier call that used ``ID_VAR`` to get the id. + ``ID `` + Specify an identification for the deferred call. + The ```` may not be empty and may not begin with a capital letter ``A-Z``. + The ```` may begin with an underscore (``_``) only if it was generated + automatically by an earlier call that used ``ID_VAR`` to get the id. -``ID_VAR `` - Specify a variable in which to store the identification for the - deferred call. If ``ID `` is not given, a new identification - will be generated and the generated id will start with an underscore (``_``). + ``ID_VAR `` + Specify a variable in which to store the identification for the + deferred call. If ``ID `` is not given, a new identification + will be generated and the generated id will start with an underscore (``_``). -The currently scheduled list of deferred calls may be retrieved: + The currently scheduled list of deferred calls may be retrieved: -.. code-block:: cmake + .. code-block:: cmake - cmake_language(DEFER [DIRECTORY ] GET_CALL_IDS ) + cmake_language(DEFER [DIRECTORY ] GET_CALL_IDS ) -This will store in ```` a :ref:`semicolon-separated list ` of deferred call ids. The ids are for the directory scope in which -the calls have been deferred to (i.e. where they will be executed), which can -be different to the scope in which they were created. The ``DIRECTORY`` -option can be used to specify the scope for which to retrieve the call ids. -If that option is not given, the call ids for the current directory scope will -be returned. + This will store in ```` a :ref:`semicolon-separated list ` of deferred call ids. The ids are for the directory scope in which + the calls have been deferred to (i.e. where they will be executed), which can + be different to the scope in which they were created. The ``DIRECTORY`` + option can be used to specify the scope for which to retrieve the call ids. + If that option is not given, the call ids for the current directory scope + will be returned. -Details of a specific call may be retrieved from its id: + Details of a specific call may be retrieved from its id: -.. code-block:: cmake + .. code-block:: cmake - cmake_language(DEFER [DIRECTORY ] GET_CALL ) + cmake_language(DEFER [DIRECTORY ] GET_CALL ) -This will store in ```` a :ref:`semicolon-separated list ` in which the first element is the name of the command to be -called, and the remaining elements are its unevaluated arguments (any -contained ``;`` characters are included literally and cannot be distinguished -from multiple arguments). If multiple calls are scheduled with the same id, -this retrieves the first one. If no call is scheduled with the given id in -the specified ``DIRECTORY`` scope (or the current directory scope if no -``DIRECTORY`` option is given), this stores an empty string in the variable. + This will store in ```` a :ref:`semicolon-separated list ` in which the first element is the name of the command to be + called, and the remaining elements are its unevaluated arguments (any + contained ``;`` characters are included literally and cannot be distinguished + from multiple arguments). If multiple calls are scheduled with the same id, + this retrieves the first one. If no call is scheduled with the given id in + the specified ``DIRECTORY`` scope (or the current directory scope if no + ``DIRECTORY`` option is given), this stores an empty string in the variable. -Deferred calls may be canceled by their id: + Deferred calls may be canceled by their id: -.. code-block:: cmake + .. code-block:: cmake - cmake_language(DEFER [DIRECTORY ] CANCEL_CALL ...) + cmake_language(DEFER [DIRECTORY ] CANCEL_CALL ...) -This cancels all deferred calls matching any of the given ids in the specified -``DIRECTORY`` scope (or the current directory scope if no ``DIRECTORY`` option -is given). Unknown ids are silently ignored. + This cancels all deferred calls matching any of the given ids in the specified + ``DIRECTORY`` scope (or the current directory scope if no ``DIRECTORY`` option + is given). Unknown ids are silently ignored. Deferred Call Examples """""""""""""""""""""" @@ -229,8 +221,6 @@ also prints:: Deferred Message 1 Deferred Message 2 - -.. _SET_DEPENDENCY_PROVIDER: .. _dependency_providers: Dependency Providers @@ -241,51 +231,50 @@ Dependency Providers .. note:: A high-level introduction to this feature can be found in the :ref:`Using Dependencies Guide `. -.. code-block:: cmake - +.. signature:: cmake_language(SET_DEPENDENCY_PROVIDER SUPPORTED_METHODS ...) -When a call is made to :command:`find_package` or -:command:`FetchContent_MakeAvailable`, the call may be forwarded to a -dependency provider which then has the opportunity to fulfill the request. -If the request is for one of the ```` specified when the provider -was set, CMake calls the provider's ```` with a set of -method-specific arguments. If the provider does not fulfill the request, -or if the provider doesn't support the request's method, or no provider -is set, the built-in :command:`find_package` or -:command:`FetchContent_MakeAvailable` implementation is used to fulfill -the request in the usual way. - -One or more of the following values can be specified for the ```` -when setting the provider: - -``FIND_PACKAGE`` - The provider command accepts :command:`find_package` requests. - -``FETCHCONTENT_MAKEAVAILABLE_SERIAL`` - The provider command accepts :command:`FetchContent_MakeAvailable` - requests. It expects each dependency to be fed to the provider command - one at a time, not the whole list in one go. - -Only one provider can be set at any point in time. If a provider is already -set when ``cmake_language(SET_DEPENDENCY_PROVIDER)`` is called, the new -provider replaces the previously set one. The specified ```` must -already exist when ``cmake_language(SET_DEPENDENCY_PROVIDER)`` is called. -As a special case, providing an empty string for the ```` and no -```` will discard any previously set provider. - -The dependency provider can only be set while processing one of the files -specified by the :variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variable. -Thus, dependency providers can only be set as part of the first call to -:command:`project`. Calling ``cmake_language(SET_DEPENDENCY_PROVIDER)`` -outside of that context will result in an error. - -.. note:: - The choice of dependency provider should always be under the user's control. - As a convenience, a project may choose to provide a file that users can - list in their :variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variable, but - the use of such a file should always be the user's choice. + When a call is made to :command:`find_package` or + :command:`FetchContent_MakeAvailable`, the call may be forwarded to a + dependency provider which then has the opportunity to fulfill the request. + If the request is for one of the ```` specified when the provider + was set, CMake calls the provider's ```` with a set of + method-specific arguments. If the provider does not fulfill the request, + or if the provider doesn't support the request's method, or no provider + is set, the built-in :command:`find_package` or + :command:`FetchContent_MakeAvailable` implementation is used to fulfill + the request in the usual way. + + One or more of the following values can be specified for the ```` + when setting the provider: + + ``FIND_PACKAGE`` + The provider command accepts :command:`find_package` requests. + + ``FETCHCONTENT_MAKEAVAILABLE_SERIAL`` + The provider command accepts :command:`FetchContent_MakeAvailable` + requests. It expects each dependency to be fed to the provider command + one at a time, not the whole list in one go. + + Only one provider can be set at any point in time. If a provider is already + set when ``cmake_language(SET_DEPENDENCY_PROVIDER)`` is called, the new + provider replaces the previously set one. The specified ```` must + already exist when ``cmake_language(SET_DEPENDENCY_PROVIDER)`` is called. + As a special case, providing an empty string for the ```` and no + ```` will discard any previously set provider. + + The dependency provider can only be set while processing one of the files + specified by the :variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variable. + Thus, dependency providers can only be set as part of the first call to + :command:`project`. Calling ``cmake_language(SET_DEPENDENCY_PROVIDER)`` + outside of that context will result in an error. + + .. note:: + The choice of dependency provider should always be under the user's control. + As a convenience, a project may choose to provide a file that users can + list in their :variable:`CMAKE_PROJECT_TOP_LEVEL_INCLUDES` variable, but + the use of such a file should always be the user's choice. Provider commands """"""""""""""""" @@ -499,23 +488,21 @@ Getting current message log level .. versionadded:: 3.25 -.. _GET_MESSAGE_LOG_LEVEL: .. _query_message_log_level: -.. code-block:: cmake - +.. signature:: cmake_language(GET_MESSAGE_LOG_LEVEL ) -Writes the current :command:`message` logging level -into the given ````. + Writes the current :command:`message` logging level + into the given ````. -See :command:`message` for the possible logging levels. + See :command:`message` for the possible logging levels. -The current message logging level can be set either using the -:option:`--log-level ` -command line option of the :manual:`cmake(1)` program or using -the :variable:`CMAKE_MESSAGE_LOG_LEVEL` variable. + The current message logging level can be set either using the + :option:`--log-level ` + command line option of the :manual:`cmake(1)` program or using + the :variable:`CMAKE_MESSAGE_LOG_LEVEL` variable. -If both the command line option and the variable are set, the command line -option takes precedence. If neither are set, the default logging level -is returned. + If both the command line option and the variable are set, the command line + option takes precedence. If neither are set, the default logging level + is returned. diff --git a/Help/command/configure_file.rst b/Help/command/configure_file.rst index 6f4cedfa6..07dc2e159 100644 --- a/Help/command/configure_file.rst +++ b/Help/command/configure_file.rst @@ -12,10 +12,10 @@ Copy a file to another location and modify its contents. [NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ]) Copies an ```` file to an ```` file and substitutes -variable values referenced as ``@VAR@`` or ``${VAR}`` in the input -file content. Each variable reference will be replaced with the -current value of the variable, or the empty string if the variable -is not defined. Furthermore, input lines of the form +variable values referenced as ``@VAR@``, ``${VAR}``, ``$CACHE{VAR}`` or +``$ENV{VAR}`` in the input file content. Each variable reference will be +replaced with the current value of the variable, or the empty string if +the variable is not defined. Furthermore, input lines of the form .. code-block:: c diff --git a/Help/command/enable_language.rst b/Help/command/enable_language.rst index 21b38bade..2f1cc2355 100644 --- a/Help/command/enable_language.rst +++ b/Help/command/enable_language.rst @@ -13,10 +13,6 @@ variables that are created by the project command. .. include:: SUPPORTED_LANGUAGES.txt -By default ``C`` and ``CXX`` are enabled if no language options are given. -Specify language ``NONE``, or use the ``LANGUAGES`` keyword and list no languages, -to skip enabling any languages. - This command must be called in file scope, not in a function call. Furthermore, it must be called in the highest directory common to all targets using the named language directly for compiling sources or diff --git a/Help/command/file.rst b/Help/command/file.rst index df895d080..30a7f4de7 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -26,7 +26,7 @@ Synopsis `Reading`_ file(`READ`_ [...]) file(`STRINGS`_ [...]) - file(`\ `_ ) + file(`\`_ ) file(`TIMESTAMP`_ [...]) file(`GET_RUNTIME_DEPENDENCIES`_ [...]) @@ -68,1202 +68,1184 @@ Synopsis Reading ^^^^^^^ -.. _READ: - -.. code-block:: cmake - +.. signature:: file(READ [OFFSET ] [LIMIT ] [HEX]) -Read content from a file called ```` and store it in a -````. Optionally start from the given ```` and -read at most ```` bytes. The ``HEX`` option causes data to -be converted to a hexadecimal representation (useful for binary data). If the -``HEX`` option is specified, letters in the output (``a`` through ``f``) are in -lowercase. - -.. _STRINGS: - -.. code-block:: cmake + Read content from a file called ```` and store it in a + ````. Optionally start from the given ```` and + read at most ```` bytes. The ``HEX`` option causes data to + be converted to a hexadecimal representation (useful for binary data). + If the ``HEX`` option is specified, letters in the output + (``a`` through ``f``) are in lowercase. +.. signature:: file(STRINGS [...]) -Parse a list of ASCII strings from ```` and store it in -````. Binary data in the file are ignored. Carriage return -(``\r``, CR) characters are ignored. The options are: - -``LENGTH_MAXIMUM `` - Consider only strings of at most a given length. + Parse a list of ASCII strings from ```` and store it in + ````. Binary data in the file are ignored. Carriage return + (``\r``, CR) characters are ignored. The options are: -``LENGTH_MINIMUM `` - Consider only strings of at least a given length. + ``LENGTH_MAXIMUM `` + Consider only strings of at most a given length. -``LIMIT_COUNT `` - Limit the number of distinct strings to be extracted. + ``LENGTH_MINIMUM `` + Consider only strings of at least a given length. -``LIMIT_INPUT `` - Limit the number of input bytes to read from the file. + ``LIMIT_COUNT `` + Limit the number of distinct strings to be extracted. -``LIMIT_OUTPUT `` - Limit the number of total bytes to store in the ````. + ``LIMIT_INPUT `` + Limit the number of input bytes to read from the file. -``NEWLINE_CONSUME`` - Treat newline characters (``\n``, LF) as part of string content - instead of terminating at them. + ``LIMIT_OUTPUT `` + Limit the number of total bytes to store in the ````. -``NO_HEX_CONVERSION`` - Intel Hex and Motorola S-record files are automatically converted to - binary while reading unless this option is given. + ``NEWLINE_CONSUME`` + Treat newline characters (``\n``, LF) as part of string content + instead of terminating at them. -``REGEX `` - Consider only strings that match the given regular expression, - as described under :ref:`string(REGEX) `. + ``NO_HEX_CONVERSION`` + Intel Hex and Motorola S-record files are automatically converted to + binary while reading unless this option is given. -``ENCODING `` - .. versionadded:: 3.1 + ``REGEX `` + Consider only strings that match the given regular expression, + as described under :ref:`string(REGEX) `. - Consider strings of a given encoding. Currently supported encodings are: - ``UTF-8``, ``UTF-16LE``, ``UTF-16BE``, ``UTF-32LE``, ``UTF-32BE``. - If the ``ENCODING`` option is not provided and the file has a Byte Order Mark, - the ``ENCODING`` option will be defaulted to respect the Byte Order Mark. + ``ENCODING `` + .. versionadded:: 3.1 - .. versionadded:: 3.2 - Added the ``UTF-16LE``, ``UTF-16BE``, ``UTF-32LE``, ``UTF-32BE`` encodings. + Consider strings of a given encoding. Currently supported encodings are: + ``UTF-8``, ``UTF-16LE``, ``UTF-16BE``, ``UTF-32LE``, ``UTF-32BE``. + If the ``ENCODING`` option is not provided and the file + has a Byte Order Mark, the ``ENCODING`` option will be defaulted + to respect the Byte Order Mark. -For example, the code + .. versionadded:: 3.2 + Added the ``UTF-16LE``, ``UTF-16BE``, ``UTF-32LE``, ``UTF-32BE`` encodings. -.. code-block:: cmake + For example, the code - file(STRINGS myfile.txt myfile) + .. code-block:: cmake -stores a list in the variable ``myfile`` in which each item is a line -from the input file. + file(STRINGS myfile.txt myfile) -.. _HASH: - -.. code-block:: cmake + stores a list in the variable ``myfile`` in which each item is a line + from the input file. +.. signature:: file( ) + :target: -Compute a cryptographic hash of the content of ```` and -store it in a ````. The supported ```` algorithm names -are those listed by the :ref:`string(\) ` -command. - -.. _TIMESTAMP: - -.. code-block:: cmake + Compute a cryptographic hash of the content of ```` and + store it in a ````. The supported ```` algorithm names + are those listed by the :command:`string()` command. +.. signature:: file(TIMESTAMP [] [UTC]) -Compute a string representation of the modification time of ```` -and store it in ````. Should the command be unable to obtain a -timestamp variable will be set to the empty string (""). - -See the :command:`string(TIMESTAMP)` command for documentation of -the ```` and ``UTC`` options. + Compute a string representation of the modification time of ```` + and store it in ````. Should the command be unable to obtain a + timestamp variable will be set to the empty string (""). -.. _GET_RUNTIME_DEPENDENCIES: + See the :command:`string(TIMESTAMP)` command for documentation of + the ```` and ``UTC`` options. -.. code-block:: cmake +.. signature:: + file(GET_RUNTIME_DEPENDENCIES [...]) - file(GET_RUNTIME_DEPENDENCIES - [RESOLVED_DEPENDENCIES_VAR ] - [UNRESOLVED_DEPENDENCIES_VAR ] - [CONFLICTING_DEPENDENCIES_PREFIX ] - [EXECUTABLES [...]] - [LIBRARIES [...]] - [MODULES [...]] - [DIRECTORIES [...]] - [BUNDLE_EXECUTABLE ] - [PRE_INCLUDE_REGEXES [...]] - [PRE_EXCLUDE_REGEXES [...]] - [POST_INCLUDE_REGEXES [...]] - [POST_EXCLUDE_REGEXES [...]] - [POST_INCLUDE_FILES [...]] - [POST_EXCLUDE_FILES [...]] - ) + .. versionadded:: 3.16 -.. versionadded:: 3.16 + Recursively get the list of libraries depended on by the given files: -Recursively get the list of libraries depended on by the given files. + .. code-block:: cmake -Please note that this sub-command is not intended to be used in project mode. -It is intended for use at install time, either from code generated by the -:command:`install(RUNTIME_DEPENDENCY_SET)` command, or from code provided by -the project via :command:`install(CODE)` or :command:`install(SCRIPT)`. -For example: - -.. code-block:: cmake - - install(CODE [[ file(GET_RUNTIME_DEPENDENCIES - # ... + [RESOLVED_DEPENDENCIES_VAR ] + [UNRESOLVED_DEPENDENCIES_VAR ] + [CONFLICTING_DEPENDENCIES_PREFIX ] + [EXECUTABLES [...]] + [LIBRARIES [...]] + [MODULES [...]] + [DIRECTORIES [...]] + [BUNDLE_EXECUTABLE ] + [PRE_INCLUDE_REGEXES [...]] + [PRE_EXCLUDE_REGEXES [...]] + [POST_INCLUDE_REGEXES [...]] + [POST_EXCLUDE_REGEXES [...]] + [POST_INCLUDE_FILES [...]] + [POST_EXCLUDE_FILES [...]] ) - ]]) - -The arguments are as follows: - -``RESOLVED_DEPENDENCIES_VAR `` - Name of the variable in which to store the list of resolved dependencies. - -``UNRESOLVED_DEPENDENCIES_VAR `` - Name of the variable in which to store the list of unresolved dependencies. - If this variable is not specified, and there are any unresolved dependencies, - an error is issued. - -``CONFLICTING_DEPENDENCIES_PREFIX `` - Variable prefix in which to store conflicting dependency information. - Dependencies are conflicting if two files with the same name are found in - two different directories. The list of filenames that conflict are stored in - ``_FILENAMES``. For each filename, the list of paths - that were found for that filename are stored in - ``_``. - -``EXECUTABLES `` - List of executable files to read for dependencies. These are executables that - are typically created with :command:`add_executable`, but they do not have to - be created by CMake. On Apple platforms, the paths to these files determine - the value of ``@executable_path`` when recursively resolving the libraries. - Specifying any kind of library (``STATIC``, ``MODULE``, or ``SHARED``) here - will result in undefined behavior. - -``LIBRARIES `` - List of library files to read for dependencies. These are libraries that are - typically created with :command:`add_library(SHARED)`, but they do not have - to be created by CMake. Specifying ``STATIC`` libraries, ``MODULE`` - libraries, or executables here will result in undefined behavior. - -``MODULES `` - List of loadable module files to read for dependencies. These are modules - that are typically created with :command:`add_library(MODULE)`, but they do - not have to be created by CMake. They are typically used by calling - ``dlopen()`` at runtime rather than linked at link time with ``ld -l``. - Specifying ``STATIC`` libraries, ``SHARED`` libraries, or executables here - will result in undefined behavior. - -``DIRECTORIES `` - List of additional directories to search for dependencies. On Linux - platforms, these directories are searched if the dependency is not found in - any of the other usual paths. If it is found in such a directory, a warning - is issued, because it means that the file is incomplete (it does not list all - of the directories that contain its dependencies). On Windows platforms, - these directories are searched if the dependency is not found in any of the - other search paths, but no warning is issued, because searching other paths - is a normal part of Windows dependency resolution. On Apple platforms, this - argument has no effect. - -``BUNDLE_EXECUTABLE `` - Executable to treat as the "bundle executable" when resolving libraries. On - Apple platforms, this argument determines the value of ``@executable_path`` - when recursively resolving libraries for ``LIBRARIES`` and ``MODULES`` files. - It has no effect on ``EXECUTABLES`` files. On other platforms, it has no - effect. This is typically (but not always) one of the executables in the - ``EXECUTABLES`` argument which designates the "main" executable of the - package. - -The following arguments specify filters for including or excluding libraries to -be resolved. See below for a full description of how they work. - -``PRE_INCLUDE_REGEXES `` - List of pre-include regexes through which to filter the names of - not-yet-resolved dependencies. - -``PRE_EXCLUDE_REGEXES `` - List of pre-exclude regexes through which to filter the names of - not-yet-resolved dependencies. - -``POST_INCLUDE_REGEXES `` - List of post-include regexes through which to filter the names of resolved - dependencies. - -``POST_EXCLUDE_REGEXES `` - List of post-exclude regexes through which to filter the names of resolved - dependencies. - -``POST_INCLUDE_FILES `` - .. versionadded:: 3.21 - - List of post-include filenames through which to filter the names of resolved - dependencies. Symlinks are resolved when attempting to match these filenames. - -``POST_EXCLUDE_FILES `` - .. versionadded:: 3.21 - - List of post-exclude filenames through which to filter the names of resolved - dependencies. Symlinks are resolved when attempting to match these filenames. - -These arguments can be used to exclude unwanted system libraries when -resolving the dependencies, or to include libraries from a specific -directory. The filtering works as follows: - -1. If the not-yet-resolved dependency matches any of the - ``PRE_INCLUDE_REGEXES``, steps 2 and 3 are skipped, and the dependency - resolution proceeds to step 4. -2. If the not-yet-resolved dependency matches any of the - ``PRE_EXCLUDE_REGEXES``, dependency resolution stops for that dependency. -3. Otherwise, dependency resolution proceeds. -4. ``file(GET_RUNTIME_DEPENDENCIES)`` searches for the dependency according to - the linking rules of the platform (see below). -5. If the dependency is found, and its full path matches one of the - ``POST_INCLUDE_REGEXES`` or ``POST_INCLUDE_FILES``, the full path is added - to the resolved dependencies, and ``file(GET_RUNTIME_DEPENDENCIES)`` - recursively resolves that library's own dependencies. Otherwise, resolution - proceeds to step 6. -6. If the dependency is found, but its full path matches one of the - ``POST_EXCLUDE_REGEXES`` or ``POST_EXCLUDE_FILES``, it is not added to the - resolved dependencies, and dependency resolution stops for that dependency. -7. If the dependency is found, and its full path does not match either - ``POST_INCLUDE_REGEXES``, ``POST_INCLUDE_FILES``, ``POST_EXCLUDE_REGEXES``, - or ``POST_EXCLUDE_FILES``, the full path is added to the resolved - dependencies, and ``file(GET_RUNTIME_DEPENDENCIES)`` recursively resolves - that library's own dependencies. - -Different platforms have different rules for how dependencies are resolved. -These specifics are described here. - -On Linux platforms, library resolution works as follows: - -1. If the depending file does not have any ``RUNPATH`` entries, and the library - exists in one of the depending file's ``RPATH`` entries, or its parents', in - that order, the dependency is resolved to that file. -2. Otherwise, if the depending file has any ``RUNPATH`` entries, and the - library exists in one of those entries, the dependency is resolved to that - file. -3. Otherwise, if the library exists in one of the directories listed by - ``ldconfig``, the dependency is resolved to that file. -4. Otherwise, if the library exists in one of the ``DIRECTORIES`` entries, the - dependency is resolved to that file. In this case, a warning is issued, - because finding a file in one of the ``DIRECTORIES`` means that the - depending file is not complete (it does not list all the directories from - which it pulls dependencies). -5. Otherwise, the dependency is unresolved. - -On Windows platforms, library resolution works as follows: - -1. The dependent DLL name is converted to lowercase. Windows DLL names are - case-insensitive, and some linkers mangle the case of the DLL dependency - names. However, this makes it more difficult for ``PRE_INCLUDE_REGEXES``, - ``PRE_EXCLUDE_REGEXES``, ``POST_INCLUDE_REGEXES``, and - ``POST_EXCLUDE_REGEXES`` to properly filter DLL names - every regex would - have to check for both uppercase and lowercase letters. For example: - - .. code-block:: cmake - - file(GET_RUNTIME_DEPENDENCIES - # ... - PRE_INCLUDE_REGEXES "^[Mm][Yy][Ll][Ii][Bb][Rr][Aa][Rr][Yy]\\.[Dd][Ll][Ll]$" - ) - - Converting the DLL name to lowercase allows the regexes to only match - lowercase names, thus simplifying the regex. For example: - - .. code-block:: cmake - - file(GET_RUNTIME_DEPENDENCIES - # ... - PRE_INCLUDE_REGEXES "^mylibrary\\.dll$" - ) - - This regex will match ``mylibrary.dll`` regardless of how it is cased, - either on disk or in the depending file. (For example, it will match - ``mylibrary.dll``, ``MyLibrary.dll``, and ``MYLIBRARY.DLL``.) - - Please note that the directory portion of any resolved DLLs retains its - casing and is not converted to lowercase. Only the filename portion is - converted. - -2. (**Not yet implemented**) If the depending file is a Windows Store app, and - the dependency is listed as a dependency in the application's package - manifest, the dependency is resolved to that file. -3. Otherwise, if the library exists in the same directory as the depending - file, the dependency is resolved to that file. -4. Otherwise, if the library exists in either the operating system's - ``system32`` directory or the ``Windows`` directory, in that order, the - dependency is resolved to that file. -5. Otherwise, if the library exists in one of the directories specified by - ``DIRECTORIES``, in the order they are listed, the dependency is resolved to - that file. In this case, a warning is not issued, because searching other - directories is a normal part of Windows library resolution. -6. Otherwise, the dependency is unresolved. - -On Apple platforms, library resolution works as follows: - -1. If the dependency starts with ``@executable_path/``, and an ``EXECUTABLES`` - argument is in the process of being resolved, and replacing - ``@executable_path/`` with the directory of the executable yields an - existing file, the dependency is resolved to that file. -2. Otherwise, if the dependency starts with ``@executable_path/``, and there is - a ``BUNDLE_EXECUTABLE`` argument, and replacing ``@executable_path/`` with - the directory of the bundle executable yields an existing file, the - dependency is resolved to that file. -3. Otherwise, if the dependency starts with ``@loader_path/``, and replacing - ``@loader_path/`` with the directory of the depending file yields an - existing file, the dependency is resolved to that file. -4. Otherwise, if the dependency starts with ``@rpath/``, and replacing - ``@rpath/`` with one of the ``RPATH`` entries of the depending file yields - an existing file, the dependency is resolved to that file. Note that - ``RPATH`` entries that start with ``@executable_path/`` or ``@loader_path/`` - also have these items replaced with the appropriate path. -5. Otherwise, if the dependency is an absolute file that exists, the dependency - is resolved to that file. -6. Otherwise, the dependency is unresolved. - -This function accepts several variables that determine which tool is used for -dependency resolution: - -.. variable:: CMAKE_GET_RUNTIME_DEPENDENCIES_PLATFORM - - Determines which operating system and executable format the files are built - for. This could be one of several values: - - * ``linux+elf`` - * ``windows+pe`` - * ``macos+macho`` - - If this variable is not specified, it is determined automatically by system - introspection. - -.. variable:: CMAKE_GET_RUNTIME_DEPENDENCIES_TOOL - - Determines the tool to use for dependency resolution. It could be one of - several values, depending on the value of - :variable:`CMAKE_GET_RUNTIME_DEPENDENCIES_PLATFORM`: - - ================================================= ============================================= - ``CMAKE_GET_RUNTIME_DEPENDENCIES_PLATFORM`` ``CMAKE_GET_RUNTIME_DEPENDENCIES_TOOL`` - ================================================= ============================================= - ``linux+elf`` ``objdump`` - ``windows+pe`` ``dumpbin`` - ``windows+pe`` ``objdump`` - ``macos+macho`` ``otool`` - ================================================= ============================================= - - If this variable is not specified, it is determined automatically by system - introspection. - -.. variable:: CMAKE_GET_RUNTIME_DEPENDENCIES_COMMAND - - Determines the path to the tool to use for dependency resolution. This is the - actual path to ``objdump``, ``dumpbin``, or ``otool``. - - If this variable is not specified, it is determined by the value of - ``CMAKE_OBJDUMP`` if set, else by system introspection. - - .. versionadded:: 3.18 - Use ``CMAKE_OBJDUMP`` if set. - -Writing -^^^^^^^ - -.. _WRITE: -.. _APPEND: - -.. code-block:: cmake - - file(WRITE ...) - file(APPEND ...) - -Write ```` into a file called ````. If the file does -not exist, it will be created. If the file already exists, ``WRITE`` -mode will overwrite it and ``APPEND`` mode will append to the end. -Any directories in the path specified by ```` that do not -exist will be created. - -If the file is a build input, use the :command:`configure_file` command -to update the file only when its content changes. - -.. _TOUCH: -.. _TOUCH_NOCREATE: - -.. code-block:: cmake - - file(TOUCH [...]) - file(TOUCH_NOCREATE [...]) - -.. versionadded:: 3.12 -Create a file with no content if it does not yet exist. If the file already -exists, its access and/or modification will be updated to the time when the -function call is executed. + Please note that this sub-command is not intended to be used in project mode. + It is intended for use at install time, either from code generated by the + :command:`install(RUNTIME_DEPENDENCY_SET)` command, or from code provided by + the project via :command:`install(CODE)` or :command:`install(SCRIPT)`. + For example: + + .. code-block:: cmake + + install(CODE [[ + file(GET_RUNTIME_DEPENDENCIES + # ... + ) + ]]) + + The arguments are as follows: + + ``RESOLVED_DEPENDENCIES_VAR `` + Name of the variable in which to store the list of resolved dependencies. + + ``UNRESOLVED_DEPENDENCIES_VAR `` + Name of the variable in which to store the list of unresolved + dependencies. If this variable is not specified, and there are any + unresolved dependencies, an error is issued. + + ``CONFLICTING_DEPENDENCIES_PREFIX `` + Variable prefix in which to store conflicting dependency information. + Dependencies are conflicting if two files with the same name are found in + two different directories. The list of filenames that conflict are stored + in ``_FILENAMES``. For each filename, the list + of paths that were found for that filename are stored in + ``_``. + + ``EXECUTABLES `` + List of executable files to read for dependencies. These are executables + that are typically created with :command:`add_executable`, but they do + not have to be created by CMake. On Apple platforms, the paths to these + files determine the value of ``@executable_path`` when recursively + resolving the libraries. Specifying any kind of library (``STATIC``, + ``MODULE``, or ``SHARED``) here will result in undefined behavior. + + ``LIBRARIES `` + List of library files to read for dependencies. These are libraries that + are typically created with :command:`add_library(SHARED)`, but they do + not have to be created by CMake. Specifying ``STATIC`` libraries, + ``MODULE`` libraries, or executables here will result in undefined + behavior. + + ``MODULES `` + List of loadable module files to read for dependencies. These are modules + that are typically created with :command:`add_library(MODULE)`, but they + do not have to be created by CMake. They are typically used by calling + ``dlopen()`` at runtime rather than linked at link time with ``ld -l``. + Specifying ``STATIC`` libraries, ``SHARED`` libraries, or executables + here will result in undefined behavior. + + ``DIRECTORIES `` + List of additional directories to search for dependencies. On Linux + platforms, these directories are searched if the dependency is not found + in any of the other usual paths. If it is found in such a directory, a + warning is issued, because it means that the file is incomplete (it does + not list all of the directories that contain its dependencies). + On Windows platforms, these directories are searched if the dependency + is not found in any of the other search paths, but no warning is issued, + because searching other paths is a normal part of Windows dependency + resolution. On Apple platforms, this argument has no effect. + + ``BUNDLE_EXECUTABLE `` + Executable to treat as the "bundle executable" when resolving libraries. + On Apple platforms, this argument determines the value of + ``@executable_path`` when recursively resolving libraries for + ``LIBRARIES`` and ``MODULES`` files. It has no effect on ``EXECUTABLES`` + files. On other platforms, it has no effect. This is typically (but not + always) one of the executables in the ``EXECUTABLES`` argument which + designates the "main" executable of the package. + + The following arguments specify filters for including or excluding libraries + to be resolved. See below for a full description of how they work. + + ``PRE_INCLUDE_REGEXES `` + List of pre-include regexes through which to filter the names of + not-yet-resolved dependencies. + + ``PRE_EXCLUDE_REGEXES `` + List of pre-exclude regexes through which to filter the names of + not-yet-resolved dependencies. + + ``POST_INCLUDE_REGEXES `` + List of post-include regexes through which to filter the names of + resolved dependencies. + + ``POST_EXCLUDE_REGEXES `` + List of post-exclude regexes through which to filter the names of + resolved dependencies. + + ``POST_INCLUDE_FILES `` + .. versionadded:: 3.21 + + List of post-include filenames through which to filter the names of + resolved dependencies. Symlinks are resolved when attempting to match + these filenames. + + ``POST_EXCLUDE_FILES `` + .. versionadded:: 3.21 + + List of post-exclude filenames through which to filter the names of + resolved dependencies. Symlinks are resolved when attempting to match + these filenames. + + These arguments can be used to exclude unwanted system libraries when + resolving the dependencies, or to include libraries from a specific + directory. The filtering works as follows: + + 1. If the not-yet-resolved dependency matches any of the + ``PRE_INCLUDE_REGEXES``, steps 2 and 3 are skipped, and the dependency + resolution proceeds to step 4. + + 2. If the not-yet-resolved dependency matches any of the + ``PRE_EXCLUDE_REGEXES``, dependency resolution stops for that dependency. + + 3. Otherwise, dependency resolution proceeds. + + 4. ``file(GET_RUNTIME_DEPENDENCIES)`` searches for the dependency according + to the linking rules of the platform (see below). + + 5. If the dependency is found, and its full path matches one of the + ``POST_INCLUDE_REGEXES`` or ``POST_INCLUDE_FILES``, the full path is added + to the resolved dependencies, and ``file(GET_RUNTIME_DEPENDENCIES)`` + recursively resolves that library's own dependencies. Otherwise, resolution + proceeds to step 6. + + 6. If the dependency is found, but its full path matches one of the + ``POST_EXCLUDE_REGEXES`` or ``POST_EXCLUDE_FILES``, it is not added to the + resolved dependencies, and dependency resolution stops for that dependency. + + 7. If the dependency is found, and its full path does not match either + ``POST_INCLUDE_REGEXES``, ``POST_INCLUDE_FILES``, ``POST_EXCLUDE_REGEXES``, + or ``POST_EXCLUDE_FILES``, the full path is added to the resolved + dependencies, and ``file(GET_RUNTIME_DEPENDENCIES)`` recursively resolves + that library's own dependencies. + + Different platforms have different rules for how dependencies are resolved. + These specifics are described here. + + On Linux platforms, library resolution works as follows: + + 1. If the depending file does not have any ``RUNPATH`` entries, and the + library exists in one of the depending file's ``RPATH`` entries, or its + parents', in that order, the dependency is resolved to that file. + 2. Otherwise, if the depending file has any ``RUNPATH`` entries, and the + library exists in one of those entries, the dependency is resolved to that + file. + 3. Otherwise, if the library exists in one of the directories listed by + ``ldconfig``, the dependency is resolved to that file. + 4. Otherwise, if the library exists in one of the ``DIRECTORIES`` entries, + the dependency is resolved to that file. In this case, a warning is + issued, because finding a file in one of the ``DIRECTORIES`` means that + the depending file is not complete (it does not list all the directories + from which it pulls dependencies). + + 5. Otherwise, the dependency is unresolved. -Use TOUCH_NOCREATE to touch a file if it exists but not create it. If a file -does not exist it will be silently ignored. + On Windows platforms, library resolution works as follows: -With TOUCH and TOUCH_NOCREATE the contents of an existing file will not be -modified. + 1. DLL dependency names are converted to lowercase for matching filters. + Windows DLL names are case-insensitive, and some linkers mangle the + case of the DLL dependency names. However, this makes it more difficult + for ``PRE_INCLUDE_REGEXES``, ``PRE_EXCLUDE_REGEXES``, + ``POST_INCLUDE_REGEXES``, and ``POST_EXCLUDE_REGEXES`` to properly + filter DLL names - every regex would have to check for both uppercase + and lowercase letters. For example: -.. _GENERATE: + .. code-block:: cmake -.. code-block:: cmake + file(GET_RUNTIME_DEPENDENCIES + # ... + PRE_INCLUDE_REGEXES "^[Mm][Yy][Ll][Ii][Bb][Rr][Aa][Rr][Yy]\\.[Dd][Ll][Ll]$" + ) - file(GENERATE OUTPUT output-file - - [CONDITION expression] [TARGET target] - [NO_SOURCE_PERMISSIONS | USE_SOURCE_PERMISSIONS | - FILE_PERMISSIONS ...] - [NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ]) - -Generate an output file for each build configuration supported by the current -:manual:`CMake Generator `. Evaluate -:manual:`generator expressions ` -from the input content to produce the output content. The options are: + Converting the DLL name to lowercase allows the regexes to only match + lowercase names, thus simplifying the regex. For example: -``CONDITION `` - Generate the output file for a particular configuration only if - the condition is true. The condition must be either ``0`` or ``1`` - after evaluating generator expressions. + .. code-block:: cmake -``CONTENT `` - Use the content given explicitly as input. + file(GET_RUNTIME_DEPENDENCIES + # ... + PRE_INCLUDE_REGEXES "^mylibrary\\.dll$" + ) -``INPUT `` - Use the content from a given file as input. + This regex will match ``mylibrary.dll`` regardless of how it is cased, + either on disk or in the depending file. (For example, it will match + ``mylibrary.dll``, ``MyLibrary.dll``, and ``MYLIBRARY.DLL``.) - .. versionchanged:: 3.10 - A relative path is treated with respect to the value of - :variable:`CMAKE_CURRENT_SOURCE_DIR`. See policy :policy:`CMP0070`. + .. versionchanged:: 3.27 -``OUTPUT `` - Specify the output file name to generate. Use generator expressions - such as :genex:`$` to specify a configuration-specific - output file name. Multiple configurations may generate the same output - file only if the generated content is identical. Otherwise, the - ```` must evaluate to an unique name for each configuration. + The conversion to lowercase only applies while matching filters. + Results reported after filtering case-preserve each DLL name as it is + found on disk, if resolved, and otherwise as it is referenced by the + dependent binary. - .. versionchanged:: 3.10 - A relative path (after evaluating generator expressions) is treated - with respect to the value of :variable:`CMAKE_CURRENT_BINARY_DIR`. - See policy :policy:`CMP0070`. + Prior to CMake 3.27, the results were reported with lowercase DLL + file names, but the directory portion retained its casing. -``TARGET `` - .. versionadded:: 3.19 + 2. (**Not yet implemented**) If the depending file is a Windows Store app, + and the dependency is listed as a dependency in the application's package + manifest, the dependency is resolved to that file. - Specify which target to use when evaluating generator expressions that - require a target for evaluation (e.g. - :genex:`$`, - :genex:`$`). + 3. Otherwise, if the library exists in the same directory as the depending + file, the dependency is resolved to that file. -``NO_SOURCE_PERMISSIONS`` - .. versionadded:: 3.20 + 4. Otherwise, if the library exists in either the operating system's + ``system32`` directory or the ``Windows`` directory, in that order, the + dependency is resolved to that file. - The generated file permissions default to the standard 644 value - (-rw-r--r--). + 5. Otherwise, if the library exists in one of the directories specified by + ``DIRECTORIES``, in the order they are listed, the dependency is resolved + to that file. In this case, a warning is not issued, because searching + other directories is a normal part of Windows library resolution. -``USE_SOURCE_PERMISSIONS`` - .. versionadded:: 3.20 + 6. Otherwise, the dependency is unresolved. - Transfer the file permissions of the ``INPUT`` file to the generated file. - This is already the default behavior if none of the three permissions-related - keywords are given (``NO_SOURCE_PERMISSIONS``, ``USE_SOURCE_PERMISSIONS`` - or ``FILE_PERMISSIONS``). The ``USE_SOURCE_PERMISSIONS`` keyword mostly - serves as a way of making the intended behavior clearer at the call site. - It is an error to specify this option without ``INPUT``. + On Apple platforms, library resolution works as follows: -``FILE_PERMISSIONS ...`` - .. versionadded:: 3.20 + 1. If the dependency starts with ``@executable_path/``, and an + ``EXECUTABLES`` argument is in the process of being resolved, and + replacing ``@executable_path/`` with the directory of the executable + yields an existing file, the dependency is resolved to that file. - Use the specified permissions for the generated file. + 2. Otherwise, if the dependency starts with ``@executable_path/``, and there + is a ``BUNDLE_EXECUTABLE`` argument, and replacing ``@executable_path/`` + with the directory of the bundle executable yields an existing file, the + dependency is resolved to that file. -``NEWLINE_STYLE