CMake/Tests
Ben Boeckel 9d2769ecbd Tests/FortranModules: add test for TARGET_OBJECTS-as-linked-items module usage
Test module usage across a `$<TARGET_OBJECTS>`-as-linked-items use case.

See: #25425
2023-11-21 09:17:43 -05:00
..
AliasTarget Tests: Remove incidental use of C++98 compiler modes 2022-04-26 12:01:06 -04:00
Architecture Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
ArgumentExpansion Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Assembler AppleClang: Fix ASM compiler identification 2023-06-05 17:31:35 -04:00
BuildDepends
BundleGeneratorTest Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
BundleTest
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
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
CMakeCommands cmGeneratorExpressionNode: implement COMPILE_ONLY genex 2023-05-04 09:39:06 -04:00
CMakeGUI Revise C++ coding style using clang-format-15 2023-01-18 16:20:47 -05:00
CMakeLib testDebuggerNamedPipe: fix for cppdap with nlohmann_json 2023-08-16 10:24:08 -04:00
CMakeOnly Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CMakeTestAllGenerators
CMakeTests list(INSERT): restore old behavior 2023-08-17 12:07:41 +02:00
CoberturaCoverage
CommandLength
CommandLineTest
CompatibleInterface
CompileCommandOutput
CompileDefinitions Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CompileFeatures Tests: Teach CompileFeatures to tolerate __STDC_VERSION__ on Intel Classic 2023-05-01 15:51:21 -04:00
CompileOptions
Complex Tests: Fix some tests under CFLAGS=-DNDEBUG CXXFLAGS=-DNDEBUG 2022-09-01 12:29:22 -04:00
ComplexOneConfig Tests: Fix some tests under CFLAGS=-DNDEBUG CXXFLAGS=-DNDEBUG 2022-09-01 12:29:22 -04:00
ConfigSources
COnly Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Contracts Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CPackComponents Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CPackComponentsDEB
CPackComponentsForAll CPack: Remove the deprecated PackageMaker generator 2022-05-05 08:36:44 +10:00
CPackComponentsPrefix
CPackInnoSetupGenerator CPack: Add Inno Setup generator 2023-04-28 09:33:28 -04:00
CPackNSISGenerator
CPackTestAllGenerators Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CPackUseDefaultVersion
CPackUseProjectVersion
CPackUseShortProjectVersion
CPackWiXGenerator Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CrossCompile
CSharpLinkFromCxx clang-format.bash: Use generic clang-format attribute 2023-01-18 11:48:49 -05:00
CSharpLinkToCxx
CSharpOnly
CSharpWin32GenEx
CTestConfig
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
CTestTestFailure Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestFdSetSize Tests/CTestTest*: Update cmake_minimum_required versions 2023-02-10 09:51:46 -05:00
CTestTestLabelRegExp
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
CTestTestResourceLock 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
CTestTestSerialOrder Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CTestTestSkipReturnCode 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: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Cuda CUDA: Cuda* tests add rpath entry only for need cuda lib directory 2023-05-22 15:37:35 -04:00
CudaOnly VS: Avoid unnecessary CUDA device linking for OBJECT libraries 2023-09-11 16:49:35 -04:00
CustComDepend
CustomCommand Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
CustomCommandByproducts Tests: Update cmake_minimum_required versions in a few tests 2023-02-10 09:51:35 -05:00
CustomCommandWorkingDirectory Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05: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
DelphiCoverage
Dependency Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
DoubleProject
EmptyDepends Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
EmptyLibrary
EmptyProperty
Environment
ExportImport cmGeneratorExpressionNode: implement COMPILE_ONLY genex 2023-05-04 09:39:06 -04:00
ExternalOBJ
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
ExternalProjectSourceSubdirNotCMake
ExternalProjectSubdir
ExternalProjectUpdate ExternalProject: Avoid reconfigure when updates are disconnected 2023-05-23 22:39:44 +10:00
FindALSA
FindBLAS Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindBoost Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindBZip2 Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindCups
FindCURL
FindDevIL Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindDoxygen
FindEnvModules
FindEXPAT
FindFontconfig
FindFreetype
FindGDAL
FindGIF Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindGit
FindGLEW Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindGLUT
FindGnuTLS Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindGSL Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindGTest Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindGTK2 Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
FindHDF5 Tests: Extend FindHDF5 tests to link and run executables 2023-03-30 15:05:59 -04:00
FindIconv
FindICU Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindImageMagick Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindIntl
FindJasper
FindJNI FindJNI: added components and imported targets 2022-04-04 19:46:32 +02:00
FindJPEG Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05: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: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindLibArchive
FindLibinput
FindLibLZMA Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindLibRHash
FindLibUV
FindLibXml2 Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindLibXslt Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindLTTngUST
FindMatlab Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
FindMPI Tests: Add FindMPI test environment modification option 2023-03-29 17:18:30 -04:00
FindODBC Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindOpenACC Revise C++ coding style using clang-format-15 2023-01-18 16:20:47 -05:00
FindOpenAL Tests: Avoid printing function address in FindOpenAL.Test 2023-05-22 17:14:54 -04:00
FindOpenCL Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindOpenGL FindOpenGL: support finding GLES2 and GLES3 2023-03-10 13:24:27 -05:00
FindOpenMP
FindOpenSP Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindOpenSSL Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindPackageModeMakefileTest
FindPackageTest FindPackageTest: Replace VTK with Boost 2022-09-03 01:14:43 -04:00
FindPatch Tests: Fix FindPatch test with VS generators 2023-02-13 12:35:44 -05:00
FindPNG Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindPostgreSQL
FindProtobuf
FindPython Merge branch 'backport-3.26-FindPython-SOSABI-handling' 2023-03-20 08:11:56 -04:00
FindRuby
FindSDL Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindSQLite3 Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindThreads Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindTIFF Tests: Bump CMake minimum required version in find-module tests to 3.5 2023-03-08 15:41:43 -05:00
FindVulkan 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
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
ForceInclude
Fortran LCC: Disable implicit testing of FortranCInterface 2023-02-16 03:53:14 +03:00
FortranC Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
FortranModules Tests/FortranModules: add test for TARGET_OBJECTS-as-linked-items module usage 2023-11-21 09:17:43 -05:00
FortranOnly Tests/FortranModules: move issue 25112 fix from FortranOnly 2023-09-18 19:41:47 -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
GeneratorExpression Apple: text-based stubs: manage imported configurations mapping 2023-03-05 14:39:56 +01:00
GhsMulti GHS: Update tests for updated binary layout 2022-03-17 19:11:48 -04:00
GoogleTest
HIP
ImportedSameName
IncludeDirectories Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
IncludeDirectoriesCPATH
InstallMode
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
iOSNavApp
ISPC Tests: Teach ISPC tests to run on macOS arm64 host 2023-05-10 10:04:48 -04:00
JacocoCoverage
Java Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
JavaExportImport
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
JCTest Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Jump
LibName
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
LinkLine
LinkLineOrder
LinkStatic
LoadCommand Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
LoadCommandOneConfig Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
MacroTest
MacRuntimePath Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
MakeClean Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
MathTest
MFC Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
MissingInstall
MissingSourceFile Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Module codespell: Avoid escape sequence that looks like misspelled "nodes" 2023-05-22 16:50:51 -04:00
ModuleDefinition 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 MSVC: Add test for debug information format 2022-09-14 09:12:47 -04:00
MSVCRuntimeLibrary
MumpsCoverage
NewlineArgs Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
ObjC
ObjCXX
ObjectLibrary cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources 2023-11-14 14:50:08 -05:00
OutDir Tests/OutDir: Remove stale cache entry on multi-config generators 2023-02-07 16:38:01 -05:00
OutName
OutOfBinary
OutOfSource Makefiles: Restore path consistency in the global dispatch makefile 2022-08-03 14:58:47 -04:00
PDBDirectoryAndName Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
PerConfig
Plugin Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Policy0002
PolicyScope
PositionIndependentTargets Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
PrecompiledHeader
PreOrder
Preprocess Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Properties
PythonCoverage
Qt4And5Automoc Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Qt4Autogen
Qt4Deploy
Qt4Targets Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Qt5Autogen
Qt6Autogen
QtAutogen Tests: Add test for AUTOMOC_MOC_OPTIONS 2023-05-31 12:59:20 -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 ctest: Restore support for --timeout values higher than default test timeout 2023-09-29 09:25:01 -04:00
RuntimePath
SBCS
SetLang
Simple
SimpleCOnly
SourceFileIncludeDirProperty
SourceFileProperty
SourceGroups
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
SubDirSpaces Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
SubProject
SwiftMix Xcode: Evaluate Swift compile definitions separately 2022-10-25 14:09:28 -04:00
SwiftMixLib Swift: Omit output-file-map when used as a linker 2022-10-28 16:44:26 -07:00
SwiftOnly Ninja: Emit swiftmodule from executable with exports 2023-01-19 11:49:24 -08: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: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
TryCompile Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
Unset
UseSWIG UseSWIG: Add support of perl5 language 2022-10-14 16:46:42 +02:00
VariableUsage
Visibility
VSAndroid
VSExcludeFromDefaultBuild
VSExternalInclude Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
VSGNUFortran Tests: Bump CMake minimum required in tests to 3.5 2023-03-01 16:36:54 -05:00
VSManagedCustomCommand
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
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
VSResourceNinjaForceRSP
VSWindowsFormsResx
VSWinStorePhone Revise C++ coding style using clang-format-15 2023-01-18 16:20:47 -05:00
VSXaml
WarnUnusedCliUnused
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 CPack: Remove the deprecated PackageMaker generator 2022-05-05 08:36:44 +10:00
XCTest
.NoDartCoverage
bootstrap.bat.in
BootstrapTest.cmake
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
CMakeBuildTest.cmake.in
CMakeCopyright.cmake
CMakeInstall.cmake
CMakeLists.txt Merge topic 'cdash_checksum_400' into release-3.27 2023-07-25 11:03:05 -04:00
CTestUpdateBZR.cmake.in
CTestUpdateCommon.cmake Build: Modernize some foreach calls to use IN LISTS/IN ITEMS 2022-09-22 09:24:46 -04:00
CTestUpdateCVS.cmake.in
CTestUpdateGIT.cmake.in Tests: Fix CTest.UpdateGIT under repo-local defaultBranch config 2023-01-11 17:11:34 -05:00
CTestUpdateGIT.sh.in
CTestUpdateHG.cmake.in
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
EnforceConfig.cmake.in Tests: Allow RunCMake.MaxRecursionDepth to test public-facing default limit 2023-03-13 11:49:56 -04:00
README.rst
test_clean.cmake.in

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.