CMake/Tests
Joerg Bornemann f765fdea03 AutoGen: Use moc's feature to output dependencies
In Qt version 5.15.0 moc learned to output the dependencies
of the generated file.

This commit enhances JobCompileMocT to read the dependency file
written by moc. The dependencies are stored in the same cache that's
used for the dependencies determined by dependency filters.

The dependency filter functionality is turned off if moc's dependency
output feature is used.

Fixes: #17750
Fixes: #19058
2020-01-28 11:16:11 -05:00
..
AliasTarget Clang: For MSVC ABI do not use modes older than C++14 2019-07-24 07:40:30 -04:00
Architecture Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
ArgumentExpansion
Assembler Tests: fix some Clang failures on Windows 2019-07-09 11:30:25 -04:00
BuildDepends PCH: Fix Makefile dependencies to rebuild PCH on header changes 2019-10-17 10:29:31 -04:00
BundleGeneratorTest Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
BundleTest Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
BundleUtilities Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CFBundleTest Xcode: Make BundleTests compatible with Xcode 11 2019-09-01 10:43:26 +02:00
CheckCompilerRelatedVariables
CMakeCommands target_link_libraries: Fix out-of-dir linking of a list of targets 2020-01-16 13:24:27 -05:00
CMakeLib Add a parser for GCC-style depfiles 2020-01-28 11:16:11 -05:00
CMakeOnly Tests: Enable missing Objective C/C++ tests 2019-12-19 11:38:53 -05:00
CMakeServerLib Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CMakeTestAllGenerators Tests: Drop machine-specific logic from CMakeTestAllGenerators 2017-04-18 15:12:22 -04:00
CMakeTestMultipleConfigures replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
CMakeTests Tests: Make CMake.FileDownload invalid host name case more robust 2020-01-21 09:37:45 -05:00
CoberturaCoverage
CommandLength Ninja: Generate scripts for long custom command sequences 2018-02-06 13:24:46 -05:00
CommandLineTest
CompatibleInterface Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CompileCommandOutput Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CompileDefinitions Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CompileFeatures Tests: Update CompileFeatures test for Intel 19 with VS 2015 2019-10-10 13:14:42 -04:00
CompileOptions Merge topic 'clang-gnulike-support' 2019-05-29 09:22:12 -04:00
Complex replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
ComplexOneConfig replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
ConfigSources Tests: Enable ConfigSources test on every configuration 2019-10-04 10:39:00 -04:00
COnly Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
Contracts Tests/Contracts: Update VTK repository URL 2019-12-14 12:55:26 -05:00
CPackComponents Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CPackComponentsDEB Merge topic 'fix-cpack-deb-description-file' 2020-01-13 10:23:26 -05:00
CPackComponentsForAll Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CPackComponentsPrefix
CPackNSISGenerator Tests: Fix CPackNSISGenerator test on non-x86 Windows platforms 2020-01-15 14:33:37 -05:00
CPackTestAllGenerators
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
CPackWiXGenerator Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CrossCompile
CSharpLinkFromCxx clang-format.bash: update to clang-format-6.0 2018-06-01 09:52:02 -04:00
CSharpLinkToCxx CSharp: Fix regression in VS project type selection 2018-10-02 14:58:11 -04:00
CSharpOnly CSharp: Fix regression in VS project type selection for custom target 2018-10-31 09:13:19 -04:00
CTestBuildCommandProjectInSubdir Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestConfig Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestCoverageCollectGCOV CTestCoverageCollectGCOV: run gcov only once 2019-05-03 21:25:20 +01:00
CTestLimitDashJ issues: update references to the CMake issue tracker 2016-08-15 09:34:06 -04:00
CTestScriptMode
CTestTest MAINT: Misc. typos 2018-02-13 11:24:30 -05:00
CTestTest2 Tests: In CTestTest2 configure KWSys encoding to match CMake 2017-11-09 08:35:38 -05:00
CTestTestBadExe CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestBadGenerator CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestChecksum Tests: Fix spurious CTestTestParallel failures 2017-03-31 13:46:08 -04:00
CTestTestCostSerial CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestCrash CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestCycle CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestDepends CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestEmptyBinaryDirectory
CTestTestFailure CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestFdSetSize Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestTestLabelRegExp
CTestTestLaunchers CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestMissingDependsExe
CTestTestParallel CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestResourceLock CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestRunScript
CTestTestScheduler CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestSerialInDepends
CTestTestSerialOrder
CTestTestSkipReturnCode CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestStopTime CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestSubdir CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestTimeout CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestUpload CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestVerboseOutput CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestZeroTimeout CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
Cuda Merge topic 'add_cuda_toolkit_tests' 2020-01-15 13:40:07 -05:00
CudaOnly CUDA: MSVC + NVCC support --compiler-options compiler flag 2020-01-02 14:35:24 -05:00
CustComDepend Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CustomCommand add_custom_command: Fix dependency on macOS framework target 2020-01-24 11:29:45 -05:00
CustomCommandByproducts Byproducts: Add test for collapsing of full paths in byproducts 2019-09-16 10:24:24 +02:00
CustomCommandWorkingDirectory add_custom_{command,target}: Fix WORKING_DIRECTORY leading genex 2018-11-03 08:39:45 -04:00
CxxDialect
CxxOnly Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CxxSubdirC Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
DelphiCoverage
Dependency Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
DoubleProject
EmptyDepends
EmptyLibrary
EmptyProperty Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
Environment Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
ExportImport target_link_libraries: Fix out-of-dir linking of a list of targets 2020-01-16 13:24:27 -05:00
ExternalOBJ Various typo fixes 2018-01-04 06:52:01 +11:00
ExternalProject ExternalProject: Option to turn off recursive update of git submodules 2019-10-24 13:36:19 -04:00
ExternalProjectLocal Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04: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
ExternalProjectUpdate ExternalProject: Always run update step with non-empty UPDATE_COMMAND 2016-05-18 14:54:25 -04:00
FindALSA FindALSA: add testcase 2018-05-31 09:35:53 +02:00
FindBoost Tests.FindBoost: Don't use BoostConfig in MODULE test 2019-06-18 08:22:50 -04:00
FindBZip2 Tests: Add FindBZip2 unit tests 2016-09-09 11:42:35 -04:00
FindCups FindCups: add imported target 2019-02-06 11:20:57 -05:00
FindCURL FindCURL: add test for component 2018-12-06 11:49:04 -05:00
FindDoxygen FindDoxygen: add USE_STAMP_FILE option 2019-09-06 09:12:09 +10:00
FindEnvModules FindEnvMod: Remove unreliable test case 2019-09-16 13:10:40 -04:00
FindEXPAT FindEXPAT: Add unit test of target and variables 2017-09-01 16:02:57 +01:00
FindFontconfig FindFontconfig: Convert module variables to camel case 2019-03-26 14:14:09 -04:00
FindFreetype FindFreetype: Add imported target, docs, and test 2017-09-07 17:52:33 +01:00
FindGDAL FindGDAL: set the GDAL_VERSION 2018-11-01 13:16:37 -04:00
FindGIF Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindGit FindGit: Add imported target 2019-01-21 10:01:56 -05:00
FindGLEW FindGLEW: Add test 2019-03-15 11:22:32 -04:00
FindGnuTLS Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindGSL Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindGTest FindGTest: Add GTest::{gtest,gtest_main} library names 2020-01-24 10:18:36 -05:00
FindGTK2 Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindIconv FindIconv test: request C++11 2019-06-25 15:14:02 +02:00
FindICU Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindJPEG clang-format: Normalize headers presentation 2019-10-01 12:25:48 -04:00
FindJsonCpp
FindLibArchive FindLibArchive: create a target 2019-12-05 17:18:28 -05:00
FindLibinput FindLibinput: Add module to find libinput 2018-10-11 10:43:45 -04:00
FindLibLZMA FindLibLZMA: add imported target 2018-12-13 09:40:11 +09:00
FindLibRHash FindLibRHash: Add module to find the librhash package 2016-11-10 08:29:38 -05:00
FindLibUV FindLibUV: Add module to find libuv package 2016-08-31 09:05:14 -04:00
FindLibXml2 FindLibXml2: provide imported target LibXml2::xmllint 2019-12-31 12:45:26 +01:00
FindLTTngUST Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindMatlab FindMatlab: EXCLUDE_FROM_ALL parameter to matlab_add_mex 2019-06-26 19:53:02 +02:00
FindModulesExecuteAll Tests: Fix FindModulesExecuteAll when KDE4 is installed 2017-04-21 10:11:10 -04:00
FindMPI FindMPI: Support components for various languages 2017-09-15 14:55:08 +02:00
FindODBC Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindOpenACC FindOpenACC: Provide import targets and OpenACC_<lang>_OPTIONS variable 2019-08-19 15:20:38 -04:00
FindOpenCL Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindOpenGL Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindOpenMP FindOpenMP: Allow try_compile() to find omp.h for AppleClang 2019-10-17 18:50:05 +11:00
FindOpenSSL MAINT: Misc. typos 2018-01-10 12:34:14 -05:00
FindPackageModeMakefileTest FindPackageModeMakefileTest: macOS needs isysroot flag 2019-10-29 07:14:08 +11:00
FindPackageTest Merge topic 'find_package-prefer-config-not-found' 2019-08-07 09:57:35 -04:00
FindPatch Tests: Fix FindPatch test on Windows 2017-11-15 06:56:04 -05:00
FindPNG Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
FindPostgreSQL FindPostgreSQL: support version encoding used in pre-10 releases 2019-11-07 09:24:12 -05:00
FindProtobuf Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindPython FindPython: Add variable Python_SOABI 2020-01-09 14:43:22 +01:00
FindSQLite3 Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindThreads FindThreads: Drop IRIX-specific options and results 2018-12-07 13:33:01 -05:00
FindTIFF Tests: Remove unnecessary setting of CMAKE_MODULE_PATH 2017-05-16 08:05:32 +10:00
FindVulkan Tests/FindVulkan: Run clang-format 2016-06-08 12:56:50 -04:00
FindX11 clang-format: Normalize headers presentation 2019-10-01 12:25:48 -04:00
FindXalanC Tests: Remove unnecessary setting of CMAKE_MODULE_PATH 2017-05-16 08:05:32 +10:00
FindXercesC Tests: Remove unnecessary setting of CMAKE_MODULE_PATH 2017-05-16 08:05:32 +10:00
ForceInclude Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Fortran Remove now-unused code once used for MIPSpro on IRIX 2019-02-21 11:12:51 -05:00
FortranC
FortranModules Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
FortranOnly replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
Framework Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FunctionTest
GeneratorExpression add_custom_command: Delay slash conversion until after genex evaluation 2019-09-13 10:56:26 -04:00
GhsMulti GHS: Update tests and notes 2019-04-11 13:15:51 -04:00
GoogleTest Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
ImportedSameName Fix transitive usage requirements through same-name imported targets 2018-09-10 07:51:44 -04:00
IncludeDirectories Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
IncludeDirectoriesCPATH Do not exclude include directories made implicit by CPATH 2019-05-30 09:24:59 -04:00
InterfaceLibrary Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
InterfaceLinkLibraries Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
iOSNavApp Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
JacocoCoverage
Java FindJava: tests clean-up 2019-10-02 14:47:11 +02:00
JavaExportImport replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
JavaJavah FindJava: tests clean-up 2019-10-02 14:47:11 +02:00
JavaNativeHeaders FindJava: tests clean-up 2019-10-02 14:47:11 +02:00
JavascriptCoverage
JCTest Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
Jump Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
LibName Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
LinkDirectory Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
LinkFlags Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
LinkLanguage Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
LinkLine Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
LinkLineOrder Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
LinkStatic
LoadCommand Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
LoadCommandOneConfig Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
MacroTest
MacRuntimePath replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
MakeClean Tests: Extend MakeClean test to test various target types 2019-08-26 09:31:03 -04:00
MathTest math(EXPR): Implement ~(exp_NOT) expression as documented 2019-07-23 07:33:50 -04:00
MFC Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
MissingInstall GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
MissingSourceFile
Module bindexplib: supporting llvm bitcode formats using llvm-nm 2019-08-30 11:30:38 -04:00
ModuleDefinition Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
MSManifest Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
MSVCRuntimeLibrary Flang: Implement MSVC runtime library abstraction 2019-08-09 10:18:54 -04:00
MumpsCoverage CTest: Fix GTM coverage handling of entry point named "%" 2018-10-16 10:59:09 -04:00
NewlineArgs Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
ObjC Tests: Organize Objective C/C++ test directories 2019-11-14 10:57:42 -05:00
ObjCXX Tests: Organize Objective C/C++ test directories 2019-11-14 10:57:42 -05:00
ObjectLibrary Relax the usage of TARGET_OBJECTS generator expression 2019-04-19 13:52:50 -04:00
OutDir Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
OutName Fix regression in target output file naming logic 2018-09-19 08:14:48 -04:00
OutOfBinary Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
OutOfSource Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
PDBDirectoryAndName Tests: fix some Clang failures on Windows 2019-07-09 11:30:25 -04:00
PerConfig Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Plugin Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
Policy0002
PolicyScope cmake_policy: Add undocumented PARENT_SCOPE option to GET 2018-04-18 08:09:56 -04:00
PositionIndependentTargets clang-format.bash: update to clang-format-6.0 2018-06-01 09:52:02 -04:00
PrecompiledHeader Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
PreOrder Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
Preprocess Tests: fix some Clang failures on Windows 2019-07-09 11:30:25 -04:00
Properties Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
PythonCoverage
Qt4And5Automoc
Qt4Autogen Autogen: Sort tests 2018-11-14 19:21:03 +01:00
Qt4Deploy GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
Qt4Targets Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
Qt5Autogen Autogen: Sort tests 2018-11-14 19:21:03 +01:00
QtAutogen AutoGen: Use moc's feature to output dependencies 2020-01-28 11:16:11 -05:00
QtAutomocNoQt
ReturnTest
RunCMake AutoGen: Use moc's feature to output dependencies 2020-01-28 11:16:11 -05:00
RuntimePath Fix rpath-link for shared lib with only private deps 2019-08-02 14:50:57 -04:00
SBCS Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
Server Help: Mark default CMake generator with asterisk 2019-01-18 12:57:34 -05:00
SetLang Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
Simple Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
SimpleCOnly Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
SourceFileIncludeDirProperty sourceFile properties: add property INCLUDE_DIRECTORIES 2018-01-24 15:10:10 +01:00
SourceFileProperty Tests: Collect SourceFileProperty tests 2019-08-27 22:28:34 +05:30
SourceGroups source_group command ensures that FILES arguments are actually files 2019-04-25 20:51:40 +02:00
SourcesProperty
StagingPrefix replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
StringFileTest Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
SubDir replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
SubDirSpaces replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
SubProject Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
SwiftMix SwiftMix: properly export SwiftMain method 2019-05-01 13:30:14 +02:00
SwiftOnly Swift: Restore support for enabling with INTERFACE libraries 2019-07-29 15:24:29 -04:00
SystemInformation Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
TargetName Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
TestDriver Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
Testing Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
TestsWorkingDirectory Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
TryCompile ObjC: Add try_compile support 2019-11-09 11:25:32 +01:00
Unset If: Support the 'DEFINED CACHE{}' syntax 2018-11-09 10:38:07 -05:00
UseSWIG FindPython*: Manage weak link for Python modules 2019-05-07 16:37:24 +02:00
VariableUnusedViaSet
VariableUnusedViaUnset
VariableUsage
Visibility Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
VSExcludeFromDefaultBuild
VSExternalInclude Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
VSGNUFortran GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
VSMASM Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
VSMidl replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
VSNASM VS: Properly quote arguments in nasm.xml 2018-07-02 18:50:12 -04:00
VSNsightTegra Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04: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
VSWindowsFormsResx Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
VSWinStorePhone Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
VSXaml Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
WarnUnusedCliUnused Test: Improve WarnUnusedCliUnused to run on all generators 2019-05-15 15:28:37 +02:00
Wrapping Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
X11 Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
XCTest XCTest: Speed up test by only enabling C language 2017-06-28 22:00:36 +02:00
.NoDartCoverage
bootstrap.bat.in
BootstrapTest.cmake BootstrapTest: Use --parallel=... argument. 2016-10-21 18:22:44 +02:00
CheckFortran.cmake Tests: Avoid hanging on check for Fortran 2017-11-06 10:21:11 -05:00
CheckSwift.cmake Tests: add a check for the Swift compiler 2019-05-17 10:09:35 -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 Merge topic 'tutorial' 2020-01-14 09:06:40 -05:00
CTestUpdateBZR.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
CTestUpdateCommon.cmake Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestUpdateCVS.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
CTestUpdateGIT.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
CTestUpdateGIT.sh.in
CTestUpdateHG.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
CTestUpdateP4.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
CTestUpdateSVN.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
EnforceConfig.cmake.in Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same name 2019-10-18 14:37:33 -04:00
README.rst Tests: Document test directory layout in a README.rst 2017-06-14 15:04:19 -04:00
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.