CMake/Tests
2020-06-29 11:55:22 -04:00
..
AliasTarget Clang: For MSVC ABI do not use modes older than C++14 2019-07-24 07:40:30 -04:00
Architecture
ArgumentExpansion
Assembler Tests: Update Assembler code generation to select MSVC runtime library 2020-01-31 14:37:34 -05:00
BuildDepends Genex: Add $<LINK_LANGUAGE:...> and $<LINK_LANG_AND_ID:...> 2020-02-26 16:38:42 +01:00
BundleGeneratorTest
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 Tests: Fix CFBundleTest for Ninja Multi-Config 2020-02-25 13:39:46 -05: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 Refactoring: Third-parties public headers are under cm3p prefix 2020-05-07 12:06:08 +02:00
CMakeOnly Merge topic 'CheckLanguage-cuda-host' into release-3.17 2020-05-06 09:27:13 -04:00
CMakeServerLib Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CMakeTestAllGenerators
CMakeTestMultipleConfigures replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
CMakeTests list: add NATURAL sorting on SORT sub-command 2020-04-13 18:26:28 +02:00
CoberturaCoverage
CommandLength
CommandLineTest
CompatibleInterface
CompileCommandOutput
CompileDefinitions
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: Add case for source files named with CONFIG genex 2020-05-18 15:34:18 -04:00
COnly Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
Contracts Tests/Contracts: Update VTK release branch build configuration 2020-04-20 12:46:51 -04:00
CPackComponents Update links to gitlab.kitware.com repos to add -/ 2020-05-26 11:38:01 -04:00
CPackComponentsDEB CPack-deb: don't add a line with a dot to pkg desc 2020-05-27 14:44:28 -04:00
CPackComponentsForAll Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CPackComponentsPrefix
CPackNSISGenerator CPack/NSIS: Add option for setting DPI-aware 2020-04-14 13:47:49 +02:00
CPackTestAllGenerators
CPackUseDefaultVersion
CPackUseProjectVersion
CPackUseShortProjectVersion
CPackWiXGenerator Tests/CPackWiXGenerator: support suppressing verification 2020-05-22 11:34:14 -04:00
CrossCompile
CSharpLinkFromCxx
CSharpLinkToCxx
CSharpOnly CSharp: Add support for source groups with out-of-source builds 2020-02-28 11:42:01 -05:00
CTestBuildCommandProjectInSubdir Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestConfig Ninja Multi-Config: Don't include MinSizeRel by default 2020-02-06 11:07:38 -05:00
CTestCoverageCollectGCOV CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION option 2020-04-30 08:42:00 -04:00
CTestLimitDashJ Update links to gitlab.kitware.com repos to add -/ 2020-05-26 11:38:01 -04:00
CTestScriptMode
CTestTest
CTestTest2
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
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 CudaToolkit: Update for new/removed libraries in CUDA 11 2020-06-18 08:52:58 -04:00
CudaOnly CudaToolkit: Update for new/removed libraries in CUDA 11 2020-06-18 08:52:58 -04:00
CustComDepend Tests: Fix CustComDepend test for Ninja Multi-Config 2020-02-25 13:39:46 -05: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
CxxDialect
CxxOnly VS: Restore compilation of '.C' sources as C++ 2020-06-11 14:15:18 -04:00
CxxSubdirC
DelphiCoverage
Dependency
DoubleProject
EmptyDepends
EmptyLibrary
EmptyProperty
Environment
ExportImport target_link_libraries: Fix out-of-dir linking of a list of targets 2020-01-16 13:24:27 -05:00
ExternalOBJ
ExternalProject ExternalProject: allow DOWNLOAD_NO_EXTRACT OFF 2020-04-02 08:55:04 -04:00
ExternalProjectLocal Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
ExternalProjectSourceSubdir
ExternalProjectSourceSubdirNotCMake ExternalProject: support SOURCE_SUBDIR for BUILD_IN_SOURCE 2019-01-17 13:40:30 -05:00
ExternalProjectSubdir
ExternalProjectUpdate ExternalProject: Remote checkout needs to include the remote name 2020-05-29 12:10:32 -04:00
FindALSA
FindBLAS BLAS: Provide the BLAS::BLAS import target 2020-04-23 13:59:33 -04:00
FindBoost Tests.FindBoost: Don't use BoostConfig in MODULE test 2019-06-18 08:22:50 -04:00
FindBZip2
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: Prevent tests from interfering with each other 2020-05-16 12:20:36 +10:00
FindEnvModules FindEnvMod: Remove unreliable test case 2019-09-16 13:10:40 -04:00
FindEXPAT
FindFontconfig FindFontconfig: Convert module variables to camel case 2019-03-26 14:14:09 -04:00
FindFreetype
FindGDAL
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
FindLAPACK FindLAPACK: Provide the LAPACK::LAPACK import target 2020-04-27 14:19:02 -04:00
FindLibArchive FindLibArchive: create a target 2019-12-05 17:18:28 -05:00
FindLibinput
FindLibLZMA FindLibLZMA: add imported target 2018-12-13 09:40:11 +09:00
FindLibRHash
FindLibUV
FindLibXml2 FindLibXml2: provide imported target LibXml2::xmllint 2019-12-31 12:45:26 +01:00
FindLibXslt FindLibXslt: provide imported targets 2020-04-28 19:14:03 +02:00
FindLTTngUST
FindMatlab FindMatlab: EXCLUDE_FROM_ALL parameter to matlab_add_mex 2019-06-26 19:53:02 +02:00
FindModulesExecuteAll
FindMPI
FindODBC
FindOpenACC FindOpenACC: Provide import targets and OpenACC_<lang>_OPTIONS variable 2019-08-19 15:20:38 -04:00
FindOpenCL
FindOpenGL
FindOpenMP FindOpenMP: Allow try_compile() to find omp.h for AppleClang 2019-10-17 18:50:05 +11:00
FindOpenSSL
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
FindPNG
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 Merge branch 'backport-3.17-FindPython-check-specified-version' into FindPython-check-specified-version 2020-05-07 11:26:22 +02:00
FindRuby FindRuby: Add support for RVM installations 2020-03-23 13:22:23 +01:00
FindSDL FindSDL: Add SDL_INCLUDE_DIRS, SDL_LIBRARIES, and SDL::SDL 2020-06-18 16:33:17 -04: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 FindTIFF: add component CXX to include the C++ wrapper libtiffxx 2020-06-29 11:55:22 -04:00
FindVulkan
FindX11 FindX11: Find additional libraries 2020-03-04 16:55:32 +01:00
FindXalanC
FindXercesC
ForceInclude
Fortran Remove now-unused code once used for MIPSpro on IRIX 2019-02-21 11:12:51 -05:00
FortranC
FortranModules Tests: Enable Fortran submodule tests on XL compilers 2020-02-28 10:37:11 -05:00
FortranOnly Ninja: Skip Fortran preprocessing if Fortran_PREPROCESS is OFF 2020-05-21 11:46:32 -04:00
Framework
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
IncludeDirectories Tests: Enable coverage of special chars in include dirs for Makefiles 2020-04-15 08:34:51 -04: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
iOSNavApp
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
Jump
LibName
LinkDirectory Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
LinkFlags
LinkLanguage
LinkLine
LinkLineOrder
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
MissingSourceFile
Module bindexplib: supporting llvm bitcode formats using llvm-nm 2019-08-30 11:30:38 -04:00
ModuleDefinition
MSManifest Windows: Merge user-provided manifests into compiled resource 2020-04-21 08:10:45 -04:00
MSVCRuntimeLibrary Flang: Implement MSVC runtime library abstraction 2019-08-09 10:18:54 -04:00
MumpsCoverage
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 Fix dependencies on targets linked through object libraries 2020-03-04 13:07:41 -05:00
OutDir Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
OutName
OutOfBinary
OutOfSource
PDBDirectoryAndName Tests: fix some Clang failures on Windows 2019-07-09 11:30:25 -04:00
PerConfig
Plugin Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
Policy0002
PolicyScope
PositionIndependentTargets
PrecompiledHeader
PreOrder
Preprocess Tests: Output the expected value in Preprocess test for debugging 2020-02-28 11:07:38 -05:00
Properties set_source_files_properties: Allow specification of directory scope 2020-05-14 16:31:22 +02:00
PythonCoverage
Qt4And5Automoc
Qt4Autogen Tests: Fix test_clean target missing some test directories 2020-02-15 13:23:37 +11:00
Qt4Deploy
Qt4Targets Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
Qt5Autogen Tests: Fix test_clean target missing some test directories 2020-02-15 13:23:37 +11:00
QtAutogen Update links to gitlab.kitware.com repos to add -/ 2020-05-26 11:38:01 -04:00
QtAutomocNoQt
ReturnTest
RunCMake get_filename_component: make errors fatal 2020-06-18 10:01:45 -04:00
RuntimePath Fix rpath-link for shared lib with only private deps 2019-08-02 14:50:57 -04:00
SBCS
Server Help: Mark default CMake generator with asterisk 2019-01-18 12:57:34 -05:00
SetLang Explicitly specify language flag when source LANGUAGE property is set 2020-06-09 19:41:20 -04:00
Simple
SimpleCOnly
SourceFileIncludeDirProperty
SourceFileProperty Tests: Collect SourceFileProperty tests 2019-08-27 22:28:34 +05:30
SourceGroups source_group: Support forward slashes in group hierarchy 2020-05-11 08:15:25 +10:00
SourcesProperty
StagingPrefix replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
StringFileTest
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
SwiftMix SwiftMix: properly export SwiftMain method 2019-05-01 13:30:14 +02:00
SwiftOnly Swift: Propagate Swift_MODULE_DIRECTORY as include directory 2020-03-12 11:50:43 -04:00
SystemInformation Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
TargetName
TestDriver
Testing
TestsWorkingDirectory Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
TryCompile Makefiles: Do not use '\#' escape sequence with Windows-style make tools 2020-04-15 08:34:18 -04:00
Unset
UseSWIG UseSWIG: Enable SWIG Fortran target language 2020-02-24 12:15:48 -05:00
VariableUnusedViaSet
VariableUnusedViaUnset
VariableUsage
Visibility
VSExcludeFromDefaultBuild
VSExternalInclude Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
VSGNUFortran
VSMASM
VSMidl replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
VSNASM
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
VSWindowsFormsResx Refactoring: Third-parties public headers are under cm3p prefix 2020-05-07 12:06:08 +02:00
VSWinStorePhone VS: Test VS_SETTINGS and VS_SOURCE_SETTINGS_<tool> properties. 2020-03-26 16:01:42 +00: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
X11 Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
XCTest
.NoDartCoverage
bootstrap.bat.in
BootstrapTest.cmake
CheckFortran.cmake Tests: Extend Fortran compiler information 2020-05-25 10:57:06 -04:00
CheckSwift.cmake Tests: add a check for the Swift compiler 2019-05-17 10:09:35 -04:00
CMakeBuildTest.cmake.in
CMakeCopyright.cmake
CMakeInstall.cmake
CMakeLists.txt Merge topic 'FindSDL-update' 2020-06-19 08:16:40 -04:00
CTestUpdateBZR.cmake.in
CTestUpdateCommon.cmake Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestUpdateCVS.cmake.in
CTestUpdateGIT.cmake.in
CTestUpdateGIT.sh.in
CTestUpdateHG.cmake.in
CTestUpdateP4.cmake.in
CTestUpdateSVN.cmake.in
EnforceConfig.cmake.in Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same name 2019-10-18 14:37:33 -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.