CMake/Tests
Craig Scott 5b7eb38e8e Merge topic 'fix-warn-uninitialized-in-configure'
cbf0c0fce4 cmake: Enable --warn-uninitialized inside string(CONFIGURE) and configure_file
1d32a35c10 cmCommandArgumentParserHelper: use cmMakefile::MaybeWarnUninitialized
67ac4ed1dc cmMakefile: Move uninitialized vars logic into MaybeWarnUninitialized()
5257af3634 cmMakefile: move common logic to IsProjectFile function

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2676
2019-01-07 15:33:52 -05:00
..
AliasTarget Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Architecture Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
ArgumentExpansion
Assembler Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
BuildDepends LINK_DEPENDS: add support of 'generator expressions' 2018-06-27 18:38:36 +02:00
BundleGeneratorTest Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
BundleTest Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
BundleUtilities Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CFBundleTest Fix trivial typos in text 2017-11-03 10:25:05 -04:00
CheckCompilerRelatedVariables
CMakeCommands link_directories(): enhance capabilities 2018-09-25 23:59:59 +10:00
CMakeLib String: Add str_if_stable() as a const alternative to str() 2018-12-12 08:10:16 -05:00
CMakeOnly CMakeParseArguments: Remove superfluous includes of CMakeParseArguments 2018-12-13 19:51:01 -05:00
CMakeServerLib cmake: specify source file extensions 2018-01-09 09:21:09 -05:00
CMakeTestAllGenerators Tests: Drop machine-specific logic from CMakeTestAllGenerators 2017-04-18 15:12:22 -04:00
CMakeTestMultipleConfigures
CMakeTests cmMakefile: Fix @CMAKE_CURRENT_LIST_LINE@ for ExpandVariablesInStringNew 2018-12-12 08:29:14 -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 Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CompileOptions Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Complex Fix misc. typos 2018-06-04 10:32:49 -04:00
ComplexOneConfig Fix misc. typos 2018-06-04 10:32:49 -04:00
ConfigSources cmTarget: Don't allow relative paths in INTERFACE_SOURCES 2014-11-29 12:24:59 +01:00
COnly Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Contracts Tests: Restore PLplot contract test repository https URL 2018-03-22 07:08:35 -04:00
CPackComponents Tests: Fix CPackComponents NSIS install root 2017-03-09 10:20:35 -05:00
CPackComponentsDEB Various typo fixes 2018-01-04 06:52:01 +11:00
CPackComponentsForAll Fix misc. typos 2018-06-04 10:32:49 -04:00
CPackComponentsPrefix CPack: Enable DEB and RPM tests more reliably 2015-05-12 08:56:34 -04: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 C++ coding style using clang-format 2016-05-16 16:05:19 -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 Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +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 CUDA: Add test for device linking when host linking uses threads 2018-10-24 10:15:48 -04:00
CudaOnly CUDA: Add test for device linking when host linking uses threads 2018-10-24 10:15:48 -04:00
CustComDepend Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CustomCommand Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CustomCommandByproducts GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11: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 Tests: Fix DelphiCoverage test file selection 2015-10-20 11:13:25 -04:00
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 LINK_DIRECTORIES: Add new properties and commands 2018-09-25 23:59:58 +10:00
ExternalOBJ Various typo fixes 2018-01-04 06:52:01 +11:00
ExternalProject ExternalProject: option LOG_MERGED_STDOUTERR to combine stdout and stderr 2018-10-19 15:32:51 +01:00
ExternalProjectLocal ExternalProject: add LOG_PATCH option to log the patch command 2018-10-26 16:50:23 +01:00
ExternalProjectSourceSubdir ExternalProject: Add SOURCE_SUBDIR option 2016-08-16 13:18:18 -04:00
ExternalProjectSubdir Drop Visual Studio 6 generator 2016-03-09 09:42:18 -05:00
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 FindBoost: provide the version in x.y.z format 2018-11-20 10:45:24 -05:00
FindBZip2 Tests: Add FindBZip2 unit tests 2016-09-09 11:42:35 -04:00
FindCURL FindCURL: add test for component 2018-12-06 11:49:04 -05:00
FindDoxygen FindDoxygen: Add tests for ALL option 2018-05-27 18:18:40 +10:00
FindEXPAT FindEXPAT: Add unit test of target and variables 2017-09-01 16:02:57 +01:00
FindFontconfig FindFontconfig: Add module to find Fontconfig 2018-10-18 20:32:09 +02: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 FindGIF: Add test 2018-11-20 21:07:03 +01:00
FindGSL Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
FindGTest FindGTest: Improve test to catch link error 2017-09-18 10:01:15 -04:00
FindGTK2 Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindIconv FindIconv: Add the FindIconv module. 2017-11-29 14:51:32 +01:00
FindICU Tests: Run clang-format on FindICU test code 2016-07-13 10:01:02 -04:00
FindJPEG FindJPEG: handle multiarch installs of libjpeg-turbo 2018-11-06 16:45:52 -05:00
FindJsonCpp FindJsonCpp: Drop new module due to upstream jsoncpp providing package 2015-02-20 08:22:02 -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::LibXml2 2018-03-08 18:31:12 +01:00
FindLTTngUST Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindMatlab FindMatlab: Fix compilation error in one specific test configuration. 2018-10-28 23:12:26 -06: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
FindOctave FindOctave: Add module to find GNU octave 2018-12-06 14:16:44 -05:00
FindODBC Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -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 Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindOpenSSL MAINT: Misc. typos 2018-01-10 12:34:14 -05:00
FindPackageModeMakefileTest FindPackageModeMakefileTest: Explicitly use C linkage 2018-08-29 13:02:09 -04:00
FindPackageTest Tests: Factor out RunCMake.WriteBasicConfigVersionFile test 2018-11-14 10:46:08 -05: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 Tests/FindPostgreSQL: add a test for FindPostgreSQL 2018-11-01 13:23:38 -04:00
FindProtobuf FindProtobuf: add flag to allow descriptor files to be generated 2017-10-02 08:08:24 -04:00
FindPython FindPython*: New implementation for Python stuff 2018-03-20 09:29:44 +01:00
FindSQLite3 FindSQLite3: Add module to find SQLite3 2018-11-06 15:05:04 -05: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 Tests/FindX11: add a test 2018-11-15 13:08:18 -05: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 Various typo fixes 2018-01-04 06:52:01 +11:00
FortranC Tests: Fix CMAKE_MAKE_PROGRAM selection in FortranC.Flags test 2015-08-11 10:18:05 -04:00
FortranModules Fortran: Fix module dependency scanning with upper-case SUBMODULE 2018-11-20 14:16:26 -05:00
FortranOnly Various typo fixes 2018-01-04 06:52:01 +11:00
Framework Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FunctionTest
GeneratorExpression Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
GhsMulti Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
GhsMultiDuplicateSourceFilenames GHS: Use shorter object file names on collision 2016-05-18 09:27:19 -04:00
GoogleTest GoogleTest: Modify test to verify that empty files can be scanned 2018-09-10 16:21:48 +08:00
ImportedSameName Fix transitive usage requirements through same-name imported targets 2018-09-10 07:51:44 -04:00
IncludeDirectories Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
InterfaceLibrary Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04: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
IPO
JacocoCoverage CTest: Fix Jacoco Coverage 2015-03-06 11:18:19 -05:00
Java UseJava: OUTPUT_DIR must exists in all cases. 2017-10-10 10:00:23 +02:00
JavaExportImport GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
JavaJavah Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
JavaNativeHeaders add_jar: add option GENERATE_NATIVE_HEADERS 2018-01-22 17:15:59 +01:00
JavascriptCoverage CTest: Add Javascript coverage parser 2014-10-29 11:27:11 -04:00
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 LINK_DIRECTORIES: Add new properties and commands 2018-09-25 23:59:58 +10: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 Avoid if() quoted auto-dereference 2014-10-20 11:49:16 -04:00
LoadCommand Tests: Remove ancient workaround in LoadCommand tests 2017-10-04 09:42:52 -04:00
LoadCommandOneConfig Tests: Remove ancient workaround in LoadCommand tests 2017-10-04 09:42:52 -04:00
MacroTest
MacRuntimePath Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
MakeClean Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
MathTest math: Add options to calculate and format output as hexadecimal 2018-07-03 09:55:58 -04:00
MFC Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
MissingInstall GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
MissingSourceFile
Module Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -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
MumpsCoverage CTest: Fix GTM coverage handling of entry point named "%" 2018-10-16 10:59:09 -04:00
NewlineArgs Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
ObjC++
ObjectLibrary Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
OutDir GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11: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 Add generator expression support to PDB_OUTPUT_DIRECTORY target property 2018-05-21 11:00:12 -04:00
PerConfig Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Plugin Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -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 Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -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 C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Qt5Autogen Autogen: Sort tests 2018-11-14 19:21:03 +01:00
QtAutogen Autogen: Revert passing compiler implicit includes to moc 2018-12-07 08:01:02 -05:00
QtAutomocNoQt
ReturnTest
RunCMake Merge topic 'fix-warn-uninitialized-in-configure' 2019-01-07 15:33:52 -05:00
RuntimePath Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
SBCS Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
Server CMake build: Use new FindPython module 2018-03-20 09:29:55 +01: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 test: test source file properties with case-insensitivity 2014-12-02 10:56:36 -05:00
SourceGroups source_group: Fix TREE argument parsing 2018-01-30 12:49:26 -05:00
SourcesProperty cmTarget: Don't allow relative paths in INTERFACE_SOURCES 2014-11-29 12:24:59 +01:00
StagingPrefix GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests 2017-12-30 09:35:56 +11:00
StringFileTest Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
SubDir Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
SubDirSpaces Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
SubProject Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
SwiftMix Swift: Simplify mixed test case to make it version agnostic 2017-03-29 15:36:05 +02:00
SwiftOnly Xcode: Add option to set Swift language version 2016-09-26 08:46:23 -04:00
SystemInformation Revise C++ coding style using clang-format 2016-05-16 16:05:19 -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 C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
TryCompile Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Tutorial Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
Unset If: Support the 'DEFINED CACHE{}' syntax 2018-11-09 10:38:07 -05:00
UseSWIG SWIG: Add support for custom Swig source file extensions 2019-01-03 09:36:15 +05:30
VariableUnusedViaSet
VariableUnusedViaUnset
VariableUsage
Visibility Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
VSExcludeFromDefaultBuild VS: Add option to put INSTALL target in .sln default build 2015-05-06 10:31:39 -04:00
VSExternalInclude VS15: Add Visual Studio 15 generator 2016-09-07 15:49:08 -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 Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
VSNASM VS: Properly quote arguments in nasm.xml 2018-07-02 18:50:12 -04:00
VSNsightTegra Tests: Fix VSNsightTegra test on Android NDK r12b 2016-10-18 13:32:50 -04:00
VSProjectInSubdir
VSResource Ninja: Fix quoting of RC language depfile in cmcldeps call 2017-09-25 10:07:48 -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 C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
VSXaml Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
WarnUnusedCliUnused Revise C++ coding style using clang-format 2016-05-16 16:05:19 -04:00
Wrapping Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
X11 Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -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
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 FindLibLZMA: add imported target 2018-12-13 09:40:11 +09: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
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.