cmake/Tests
Craig Scott 2d653179dc Merge topic 'fetchcontent-direct'
7bf15e49a8 ExternalProject: Fix misleading git update output
b2496bf14c FetchContent: Populate directly without a sub-build
173daad58d ExternalProject: Move more internal commands out of main file
462e583267 ExternalProject: Switch download, update and patch to use _EP_ vars
0ccc8e340d ExternalProject: Provide ExternalProject_Add keywords through a macro
91e1015722 ExternalProject: Don't treat YES as a keyword
a1743ce1ef ExternalProject: Fix minor formatting error

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9513
2024-05-18 05:05:03 -04:00
..
AliasTarget Tests: Remove incidental use of C++98 compiler modes 2022-04-26 12:01:06 -04:00
Architecture Tests/Architecture: Have test support Xcode 10+ 2024-04-29 14:46:05 -07:00
ArgumentExpansion Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Assembler OrangeC: Add support for OrangeC compiler 2023-09-25 12:27:29 -04:00
BuildDepends Drop Visual Studio 9 2008 generator 2024-05-08 10:37:34 -04:00
BundleGeneratorTest Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
BundleTest Source: Replace most calls to sprintf with snprintf 2021-10-25 18:23:13 -04:00
BundleUtilities Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CFBundleTest Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CMakeCommands Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CMakeGUI Tests: Update tests to run in symlinked tree 2023-09-22 09:30:52 -04:00
CMakeLib Tests: Build testUVProcessChainHelper with WIN32_LEAN_AND_MEAN 2024-02-27 14:36:40 -05:00
CMakeOnly Drop Visual Studio 9 2008 generator 2024-05-08 10:37:34 -04:00
CMakeTestAllGenerators Tests: Drop machine-specific logic from CMakeTestAllGenerators 2017-04-18 15:12:22 -04:00
CMakeTests list(INSERT): restore old behavior 2023-08-17 12:07:41 +02:00
COnly Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CPackComponents Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CPackComponentsDEB codespell: Fix typos 2023-11-17 09:58:21 -05:00
CPackComponentsForAll codespell: Fix typos 2023-11-17 09:58:21 -05:00
CPackComponentsPrefix
CPackInnoSetupGenerator Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CPackNSISGenerator CPack/NSIS: Add option to not display license page 2021-08-01 18:28:47 +02:00
CPackTestAllGenerators Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CPackUseDefaultVersion CPack: Use project version as default for `CPACK_PACKAGE_VERSION` 2018-05-03 08:26:03 +10:00
CPackUseProjectVersion CPack: Use project version as default for `CPACK_PACKAGE_VERSION` 2018-05-03 08:26:03 +10:00
CPackUseShortProjectVersion CPack: Use project version as default for `CPACK_PACKAGE_VERSION` 2018-05-03 08:26:03 +10:00
CSharpLinkFromCxx clang-format.bash: Use generic clang-format attribute 2023-01-18 11:48:49 -05:00
CSharpLinkToCxx CSharp: Fix regression in VS project type selection 2018-10-02 14:58:11 -04:00
CSharpOnly enable_language: Fix test for working compiler with CMP0126 NEW behavior 2021-07-15 13:06:18 -04:00
CSharpWin32GenEx WIN32_EXECUTABLE: Add support for generator expressions 2020-08-21 09:17:27 -04:00
CTestConfig Ninja Multi-Config: Don't include MinSizeRel by default 2020-02-06 11:07:38 -05:00
CTestCoverageCollectGCOV Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestLimitDashJ Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestScriptMode
CTestTest Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTest2 Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestTestBadExe Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestTestBadGenerator Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestTestChecksum Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestTestCostSerial Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestTestCrash Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestCycle Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestDepends Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestEmptyBinaryDirectory Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestTestFdSetSize Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestTestLabelRegExp ctest: Support multiple -L and -LE options to mean "AND" 2021-03-28 12:04:05 +11:00
CTestTestLaunchers Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestMissingDependsExe Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestParallel Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestRunScript
CTestTestScheduler Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestSerialInDepends Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestStopTime Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestSubdir Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestTimeout Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestTestUpload Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestVerboseOutput Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CheckCompilerRelatedVariables Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CheckSourceTree Tests: Teach CheckSourceTree test to clean up more specific known files 2022-11-14 10:35:06 -05:00
CoberturaCoverage
CommandLength Merge topic 'ci-test-CommandLength' 2024-02-16 09:17:59 -05:00
CommandLineTest Tests/CommandLineTest: Replace exec_program() with execute_process() 2023-07-24 17:23:33 -04:00
CompatibleInterface GenEx: Fix COMPATIBLE_INTERFACE_ evaluation outside usage requirements 2024-04-11 18:35:40 -04:00
CompileCommandOutput Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CompileDefinitions Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CompileFeatures Tests/CompileFeatures: Cover cuda_std_## meta-features 2024-04-19 08:39:15 -04:00
CompileOptions Drop Visual Studio 9 2008 generator 2024-05-08 10:37:34 -04:00
Complex Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
ComplexOneConfig Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
ConfigSources Fix per-config sources in multi-config generators when first config adds none 2023-11-13 14:00:12 -05:00
Contracts Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CrossCompile
Cuda CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontend 2024-01-22 09:33:54 -05:00
CudaOnly CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontend 2024-01-22 09:33:54 -05:00
CustComDepend Tests: Fix CustComDepend test for Ninja Multi-Config 2020-02-25 13:39:46 -05:00
CustomCommand add_custom_command: Allow OUTPUT filenames containing a hash '#' character 2024-05-15 13:27:46 -04:00
CustomCommandByproducts Tests: Update cmake_minimum_required versions in a few tests 2023-02-10 09:51:35 -05:00
CustomCommandWorkingDirectory Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
CxxDialect Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CxxOnly Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CxxSubdirC Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
DelphiCoverage Tests: Fix DelphiCoverage test file selection 2015-10-20 11:13:25 -04:00
Dependency Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
DoubleProject Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
EmptyDepends Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
EmptyLibrary
EmptyProperty Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
Environment Tests/Environment: also test modifying ambient values 2021-10-29 10:54:02 -04:00
ExportImport EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate 2024-03-12 14:24:53 -04:00
ExternalOBJ Tests/ExternalOBJ: Replace exec_program() with execute_process() 2023-07-24 17:59:24 -04:00
ExternalProject Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
ExternalProjectLocal Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
ExternalProjectSourceSubdir ExternalProject: Add SOURCE_SUBDIR option 2016-08-16 13:18:18 -04:00
ExternalProjectSourceSubdirNotCMake ExternalProject: support SOURCE_SUBDIR for BUILD_IN_SOURCE 2019-01-17 13:40:30 -05:00
ExternalProjectSubdir Drop Visual Studio 6 generator 2016-03-09 09:42:18 -05:00
ExternalProjectUpdate ExternalProject: Avoid reconfigure when updates are disconnected 2023-05-23 22:39:44 +10:00
FindALSA Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindBLAS Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindBZip2 Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindBacktrace Tests/FindBacktrace: Fix compilation as C90 2024-04-17 13:14:11 -04:00
FindBoost Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindCURL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindCups Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindDevIL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindDoxygen FindDoxygen: Prevent tests from interfering with each other 2020-05-16 12:20:36 +10:00
FindEXPAT Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindEnvModules FindEnvMod: Remove unreliable test case 2019-09-16 13:10:40 -04:00
FindFontconfig Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindFreetype Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindGDAL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindGIF Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindGLEW Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindGLUT Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindGSL Tests: Update tests to run in multi-config generators 2023-09-22 09:30:52 -04:00
FindGTK2 Tests: fix calling gdk_init() 2024-04-17 07:34:57 +02:00
FindGTest Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindGit FindGit: Add imported target 2019-01-21 10:01:56 -05:00
FindGnuTLS Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindHDF5 Tests: Extend FindHDF5 tests to link and run executables 2023-03-30 15:05:59 -04:00
FindICU Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindIconv FindIconv test: request C++11 2019-06-25 15:14:02 +02:00
FindImageMagick Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindIntl FindIntl: Add imported target 2020-10-13 15:11:40 -04:00
FindJNI FindJNI: added components and imported targets 2022-04-04 19:46:32 +02:00
FindJPEG Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindJasper ci: Enable FindJasper test on Fedora 2024-04-10 12:21:13 -04:00
FindJsonCpp Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindLAPACK Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLTTngUST Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindLibArchive FindLibArchive: create a target 2019-12-05 17:18:28 -05:00
FindLibLZMA Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibRHash Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibUV Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibXml2 Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibXslt Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindLibinput Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindMPI Tests: Add FindMPI test environment modification option 2023-03-29 17:18:30 -04:00
FindMatlab Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
FindODBC Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindOpenACC ci: Enable FindOpenACC test for each language independently 2024-04-24 16:46:11 -04:00
FindOpenAL Tests: Avoid printing function address in FindOpenAL.Test 2023-05-22 17:14:54 -04:00
FindOpenCL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindOpenGL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindOpenMP FindOpenMP: Add option to control OpenMP runtime with MSVC 2024-05-01 08:25:14 -04:00
FindOpenSP Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindOpenSSL Tests: Update tests to run in multi-config generators 2023-09-22 09:30:52 -04:00
FindPNG Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindPackageModeMakefileTest Tests: Fix FindPackageModeMakefileTest with CMAKE_OSX_ARCHITECTURES 2021-03-03 10:29:53 -08:00
FindPackageTest Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindPatch Tests: Fix FindPatch test with VS generators 2023-02-13 12:35:44 -05:00
FindPostgreSQL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindProtobuf FindProtobuf: Add PLUGIN parameter to protobuf_generate 2021-05-06 13:42:21 -04:00
FindPython FindPython: On Windows, Enhance python debug version support 2024-05-09 19:08:47 +02:00
FindRuby Tests: Improve FindRuby test robustness 2020-10-05 08:57:10 -04:00
FindSDL Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindSQLite3 Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindTIFF Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FindThreads Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindVulkan Tests/FindVulkan: Allow easy way to switch between VulkanSDK installations 2024-02-07 10:04:16 -05:00
FindX11 FindX11: Remove HAS_X11_xcb check from xcb tests 2023-04-28 14:54:35 -07:00
FindXalanC Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindXercesC Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindwxWidgets FindwxWidgets: Add an imported target 2023-03-08 16:39:38 -05:00
ForceInclude Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Fortran Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
FortranC Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
FortranModules Merge topic 'ninja-fortran-include' 2024-03-20 09:55:48 -04:00
FortranOnly Tests: Enable CMP0091/CMP0141 for MSVC settings in FortranOnly test 2023-10-02 18:52:01 -04:00
Framework Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
FunctionTest Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Fuzzing Tests: Add a fuzzer for oss-fuzz 2021-01-13 11:04:59 +00:00
GeneratorExpression GeneratorExpression: Add $<QUOTE> generator expression 2024-02-14 14:23:18 -05:00
GhsMulti Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
GoogleTest GoogleTest: Add DEF_SOURCE_LINE property to gtest_add_tests 2024-03-11 22:04:31 +00:00
HIP Tests: Update HIP.MathFunctions case for nodiscard enforcement 2023-11-17 09:58:21 -05:00
ISPC Tests: Teach ISPC tests to run on macOS arm64 host 2023-05-10 10:04:48 -04:00
ImportedSameName Fix transitive usage requirements through same-name imported targets 2018-09-10 07:51:44 -04:00
IncludeDirectories Drop Visual Studio 9 2008 generator 2024-05-08 10:37:34 -04:00
IncludeDirectoriesCPATH Do not exclude include directories made implicit by CPATH 2019-05-30 09:24:59 -04:00
InstallMode Fix: InstallMode tests fail on some platforms 2021-08-24 19:21:40 +02:00
InterfaceLibrary Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
InterfaceLinkLibraries LINK_LIBRARIES: Add support for LINK_ONLY genex 2022-03-24 08:23:55 -04:00
InterfaceLinkLibrariesDirect INTERFACE_LINK_LIBRARIES_DIRECT: Honor link dependencies through LINK_ONLY 2022-03-22 11:57:48 -04:00
JCTest Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
JacocoCoverage
Java Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
JavaExportImport Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
JavaJavah Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
JavaNativeHeaders Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
JavascriptCoverage
Jump Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
LibName Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
LinkDirectory Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
LinkFlags Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
LinkLanguage Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
LinkLine Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
LinkLineOrder Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
LinkStatic LCC: Add policy CMP0129 regarding interpreting LCC as GNU 2021-10-21 17:24:22 +03:00
LoadCommand Tests: Improve C compatibility of LoadCommand tests 2024-01-25 14:35:01 -05:00
LoadCommandOneConfig Tests: Improve C compatibility of LoadCommand tests 2024-01-25 14:35:01 -05:00
MFC Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
MSManifest MSVC: Embed manifests directly for non-incremental vs_link_exe links 2023-02-23 14:35:08 -05:00
MSVCDebugInformationFormat CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontend 2024-01-22 09:33:54 -05:00
MSVCRuntimeLibrary VS: Suppress MSBuild default settings affected by UseDebugLibraries 2024-02-19 10:40:40 -05:00
MacRuntimePath Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
MacroTest
MakeClean Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
MathTest math(EXPR): Implement ~(exp_NOT) expression as documented 2019-07-23 07:33:50 -04:00
MissingInstall GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
MissingSourceFile Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Module Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
ModuleDefinition Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
MumpsCoverage CTest: Fix GTM coverage handling of entry point named "%" 2018-10-16 10:59:09 -04:00
NasmOnly ASM_NASM: Improve support for standalone usage 2024-03-04 13:09:58 -05:00
NewlineArgs Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
ObjC Tests: Organize Objective C/C++ test directories 2019-11-14 10:57:42 -05:00
ObjCXX OBJCXX: Fix regression for compiling cpp files as objcxx 2020-09-29 12:35:49 -04:00
ObjectLibrary cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources 2023-11-14 14:50:08 -05:00
OutDir OrangeC: Add support for OrangeC compiler 2023-09-25 12:27:29 -04:00
OutName Fix regression in target output file naming logic 2018-09-19 08:14:48 -04:00
OutOfBinary Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
OutOfSource Makefiles: Restore path consistency in the global dispatch makefile 2022-08-03 14:58:47 -04:00
PDBDirectoryAndName Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
PerConfig Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Plugin Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Policy0002
PolicyScope Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
PositionIndependentTargets Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
PreOrder Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
PrecompiledHeader Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Preprocess Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Properties {get,set}_property: Add support for referencing binary directories 2020-09-23 09:25:42 -04:00
PythonCoverage
Qt4And5Automoc Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Qt4Autogen Tests: Fix test_clean target missing some test directories 2020-02-15 13:23:37 +11:00
Qt4Deploy GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
Qt4Targets Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Qt5Autogen Tests: Fix test_clean target missing some test directories 2020-02-15 13:23:37 +11:00
Qt6Autogen Tests: Add support for testing Qt6 2021-10-04 22:10:57 +11:00
QtAutogen Autogen: Restore target-ordering dependencies in Makefiles with DEPFILE 2024-03-14 09:05:06 -04:00
QtAutomocNoQt Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
ReturnTest Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
RunCMake Merge topic 'fetchcontent-direct' 2024-05-18 05:05:03 -04:00
RuntimePath Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SBCS Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
SetLang Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Simple Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SimpleCOnly Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SourceFileIncludeDirProperty Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SourceFileProperty Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SourceGroups Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SourcesProperty
StagingPrefix Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
StringFileTest Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
SubDir Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SubDirSpaces Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
SubProject Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
SwiftMix Tests: Fix SwiftMix tests' runtime library selection on Windows 2024-01-24 14:44:40 -05:00
SwiftMixLib Tests: Fix SwiftMix tests' runtime library selection on Windows 2024-01-24 14:44:40 -05:00
SwiftMixPCH Xcode: Fix PCH support with Swift & C++ 2024-01-30 12:50:40 -05:00
SwiftOnly Merge topic 'swift-module-libraries' 2024-04-16 08:47:11 -04:00
SystemInformation Merge topic 'configure-log' 2023-01-19 13:21:36 -05:00
TargetName Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
TestDriver Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Testing Tests: Port "testing" test from Dart module to CTest module 2023-02-28 08:35:19 -05:00
TestsWorkingDirectory Tests: Use real directory in TestsWorkingDirectory 2024-02-27 14:36:40 -05:00
TryCompile Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Unset Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
UseSWIG Tests: Add "Fortran" test label 2024-01-31 11:27:53 -05:00
VSAndroid Tests/VSAndroid: Update for VS 17 2024-02-29 11:59:05 -05:00
VSExcludeFromDefaultBuild
VSExternalInclude Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
VSGNUFortran Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
VSMARMASM VS: Honor compile options for ASM_MARMASM 2023-01-26 12:56:25 -05:00
VSMASM VS: Honor compile options for MASM 2023-01-12 14:35:38 -05:00
VSManagedCustomCommand VS: Revert "Add missing label in C# project-build events" 2021-12-02 18:06:39 -05:00
VSMidl Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
VSNASM Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
VSProjectInSubdir
VSResource Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
VSResourceNinjaForceRSP ninja, rc: ignore CMAKE_NINJA_FORCE_RESPONSE_FILE for RC files 2016-06-27 14:34:06 -04:00
VSWinStorePhone Revise C++ coding style using clang-format-15 2023-01-18 16:20:47 -05:00
VSWindowsFormsResx VS: Fix managed C++ project generation for VS 2022 2021-09-15 13:19:37 -04:00
VSXaml Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
VariableUsage
Visibility Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
WarnUnusedCliUnused Test: Improve WarnUnusedCliUnused to run on all generators 2019-05-15 15:28:37 +02:00
WatcomRuntimeLibrary OpenWatcom: Allow specifying the runtime library 2022-05-06 10:40:58 -04:00
Wrapping Revise C++ coding style using clang-format-15 2023-01-18 16:20:47 -05:00
X11 Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
XCTest Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
iOSNavApp Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
.NoDartCoverage
BootstrapTest.cmake Bootstrap: Add support for Ninja 2020-08-10 14:40:17 -04:00
CMakeBuildTest.cmake.in GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
CMakeCopyright.cmake
CMakeInstall.cmake GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
CMakeLists.txt ci: Enable CPack NuGet generator tests in a nightly job on Windows 2024-05-14 15:02:41 -04:00
CTestUpdateBZR.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
CTestUpdateCVS.cmake.in codespell: Fix typos 2023-11-17 09:58:21 -05:00
CTestUpdateCommon.cmake Build: Modernize some `foreach` calls to use `IN LISTS`/`IN ITEMS` 2022-09-22 09:24:46 -04:00
CTestUpdateGIT.cmake.in Tests: Improve CTest.UpdateGIT robustness to user gitconfig 2024-01-17 10:11:41 -05:00
CTestUpdateGIT.sh.in
CTestUpdateHG.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
CTestUpdateP4.cmake.in Build: Modernize some `foreach` calls to use `IN LISTS`/`IN ITEMS` 2022-09-22 09:24:46 -04:00
CTestUpdateSVN.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
CheckFortran.cmake Tests: Update cmake_minimum_required versions in a few tests 2023-02-10 09:51:35 -05:00
CheckSwift.cmake Tests: Avoid using CMake{Output,Error}.log files 2023-01-18 16:40:19 -05:00
EnforceConfig.cmake.in Tests: Allow RunCMake.MaxRecursionDepth to test public-facing default limit 2023-03-13 11:49:56 -04:00
README.rst Tests: Document test directory layout in a README.rst 2017-06-14 15:04:19 -04:00
bootstrap.bat.in
test_clean.cmake.in

README.rst

CMake Tests Directory
*********************

This directory contains the CMake test suite.
See also the `CMake Source Code Guide`_.

.. _`CMake Source Code Guide`: ../Help/dev/source.rst

Many tests exist as immediate subdirectories, but some tests
are organized as follows.

* ``CMakeLib/``:
  Source code, used for tests, that links to the ``CMakeLib`` library
  defined over in ``Source/``.

* ``CMakeOnly/``:
  Deprecated.  Tests that run CMake to generate a project but not build it.
  Superseded by ``Tests/RunCMake/``.

* ``Find*/``:
  Tests for specific find modules that can only be run on machines with
  the corresponding packages installed.  They are enabled in
  ``CMakeLists.txt`` by undocumented options used on CI builds.

* ``Module/``:
  Tests for specific CMake modules.

* ``RunCMake/``:
  Tests that run CMake and/or other tools while precisely checking
  their return code and stdout/stderr content.  Useful for testing
  error cases and diagnostic output.