summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ispc_lang_support'Brad King2020-09-011-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | 5ece12b7e4 gitlab-ci: add ISPC to the Fedora CI image 8976817d6d ISPC: Update help documentation to include ISPC 2368f46ba4 ISPC: Support building with the MSVC toolchain e783bf8aa6 ISPC: Support ISPC header generation byproducts and parallel builds 34cc6acc81 Add ISPC compiler support to CMake 419d70d490 Refactor some swift only logic to be re-used by other languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5065
| * Add ISPC compiler support to CMakeRobert Maynard2020-08-281-0/+4
| |
* | WIN32_EXECUTABLE: Add support for generator expressionsKyle Edwards2020-08-211-0/+4
| |
* | Bootstrap: Add support for NinjaKyle Edwards2020-08-101-0/+1
|/
* CTest: Prefer normative terms to express subprocess failuresRobert Maynard2020-07-271-1/+1
| | | | Issue: #21004
* cmake: Remove broken '--warn-unused-vars' optionBrad King2020-06-291-30/+0
| | | | | | | | | | | | | This option has been broken since commit b9f9915516 (cmMakefile: Remove VarUsageStack., 2015-05-17, v3.3.0-rc1~52^2). That commit removed the check that an initialized variable has actually been used and caused the option to warn on every variable ever set. This was not caught by the test suite because the test for the feature only checked that warnings appear when needed and not that they do not appear when not needed. The option was never very practical to use. Remove it to avoid the runtime cost of usage tracking and checks for every variable (which we were doing even when the option was not used).
* Merge topic 'visual-studio-android'Brad King2020-06-261-16/+45
|\ | | | | | | | | | | | | | | | | | | 6051a49c78 Visual Studio: Add Android support bbcaf9689e Refactor: Add IsAndroidGuiExecutable() method to cmTarget 14456923bd cmGlobalVisualStudio10Generator: Move variable initialization to header d5b5c19278 cmGlobalGenerator: FindMakeProgram() before CMakeDetermineSystem Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4898
| * Visual Studio: Add Android supportKyle Edwards2020-06-241-16/+45
| |
* | Merge topic 'test-all-find-modules'Brad King2020-06-231-1/+0
|\ \ | | | | | | | | | | | | | | | | | | 6c6b227813 Tests: Drop redundant FindModulesExecuteAll test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4930
| * | Tests: Drop redundant FindModulesExecuteAll testBrad King2020-06-231-1/+0
| |/ | | | | | | | | This test has been superseded by `CMakeOnly.AllFindModules`, which does much more checking anyway.
* | Merge topic 'FindSDL-update'Brad King2020-06-191-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 9ffd2c70bf FindSDL: Add SDL_INCLUDE_DIRS, SDL_LIBRARIES, and SDL::SDL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4902
| * | FindSDL: Add SDL_INCLUDE_DIRS, SDL_LIBRARIES, and SDL::SDLFrédéric Simonis2020-06-181-0/+1
| |/ | | | | | | | | | | Also provide `SDL_VERSION[_{MAJOR,MINOR,PATCH}]`. Fixes: #12911
* | Tests: Simplify addition of extra generator testsBrad King2020-06-181-32/+22
|/ | | | | | Do not try to run the `cmake` binary that has not been built yet. Always add the extra generator tests in combination with the corresponding Makefile and Ninja generators.
* Tests: add CUDA labels to tests which are affected by CUDABen Boeckel2020-06-111-0/+4
|
* Tests/CPackWiXGenerator: support suppressing verificationBen Boeckel2020-05-221-0/+1
| | | | | Verification requires access to an active Windows session which may not be the case in all testing environments.
* Utilities/Release: Drop win{32,64} scripts in favor of docker buildBrad King2020-05-051-5/+0
| | | | | | | Also drop the `CMakeNightlyWin{32,64}` tests that use the scripts. Follow the pattern from commit 689fdbfc61 (Utilities/Release: Drop linux64 script in favor of docker build, 2019-08-27, v3.16.0-rc1~184^2).
* FindPython: Add support for 'PyPy'Marc Chevrier2020-05-011-1/+1
|
* Merge topic 'CTestCoverageCollectGCOV-compress-opts'Brad King2020-05-011-3/+0
|\ | | | | | | | | | | | | | | | | 40ca6ef125 CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION option 81e83510a0 Tests: Fix re-running CTestCoverageCollectGCOV on in-source build ab7eda2591 Tests: Remove unnecessary pass regex on CTestCoverageCollectGCOV Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4649
| * Tests: Remove unnecessary pass regex on CTestCoverageCollectGCOVBrad King2020-04-291-3/+0
| | | | | | | | | | The test script uses `message(FATAL_ERROR)` on failure, so we can just let the `ctest` exit code determine the result.
* | Merge topic 'FindLibXslt-targets'Brad King2020-04-291-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 8a90ef5a44 FindLibXslt: use LIBXSLT_LIBRARY as cache variable 1aa7df4114 FindLibXslt: provide imported targets dd506714f4 FindLibXslt: identify libexslt include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4650
| * | FindLibXslt: provide imported targetsMarkus Rickert2020-04-281-0/+1
| |/
* | FindLAPACK: Provide the LAPACK::LAPACK import targetRobert Maynard2020-04-271-0/+1
| |
* | Merge topic 'FindBLAS-target'Brad King2020-04-271-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 85a9813a76 BLAS: Provide the BLAS::BLAS import target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4657
| * | BLAS: Provide the BLAS::BLAS import targetRobert Maynard2020-04-231-0/+1
| | |
* | | Merge topic 'FindPython-fix-python-compiler-validation'Brad King2020-04-241-1/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | f39da773ee FindPython: fix python compiler validation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4655
| * | FindPython: fix python compiler validationMarc Chevrier2020-04-231-1/+2
| | | | | | | | | | | | | | | | | | | | | Ensure also the cache of properties is erased in case of multiple searches. Fixes: #20626, #20627
* | | Merge topic 'win-user-manifest-rc'Brad King2020-04-221-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7ca13e04fa Windows: Merge user-provided manifests into compiled resource Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4484
| * | | Windows: Merge user-provided manifests into compiled resourceKenney Phillis2020-04-211-1/+4
| | |/ | |/| | | | | | | | | | | | | Previously we merged user-provided manifests only into the manifest file given to the linker. Merge them into the manifest file that is compiled as a resource too.
* | | Tests: Enable coverage of special chars in include dirs for MakefilesBrad King2020-04-151-0/+2
|/ / | | | | | | Issue: #20555
* | FindRuby: Add dedicated testsJulien Marrec2020-03-161-0/+4
| | | | | | | | Issue: #20370
* | Tutorial: Update Step 5 to work on WindowsBetsy McPhail2020-02-271-6/+15
|/ | | | | | | `log` and `exp` should be found on Windows systems now, as expected. Update tests to be more specific in looking for the expected outcome of the tutorial.
* Tests: Fix test_clean target missing some test directoriesCraig Scott2020-02-151-11/+12
|
* Merge topic 'tutorial'Brad King2020-01-141-2/+3
|\ | | | | | | | | | | | | | | | | | | a7d25358a0 Tutorial: Add the PRIVATE keyword to target_link_libraries command cf2afb1065 Tutorial: Remove 'Consumer' example 77b515f3eb Tutorial: Improve "MultiPackage" example 3a510a47b0 Tutorial: Add links to relevant CMake documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4113
| * Tutorial: Improve "MultiPackage" exampleBetsy McPhail2020-01-101-2/+3
| | | | | | | | Rename to Step 12 and ensure that it follows Step 11
* | Merge topic 'nsis-headerimage'Kyle Edwards2020-01-101-0/+21
|\ \ | |/ |/| | | | | | | | | ebfffc609e CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4157
| * CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAPJohnny Jazeix2020-01-021-0/+21
| | | | | | | | Fixes: #20120
* | FindPython: Extend virtual environment handling by considering condaSebastian Müller2019-12-211-1/+1
|/ | | | | | - Add functionality to recognize and use CONDA_PREFIX environment variable - Add tests for conda virtual environments - Fixes: #20111
* Tests: Add test for Multi-Configuration Ninja generatorKyle Edwards2019-12-131-6/+7
|
* Ninja: Add multi-config variantKyle Edwards2019-12-131-3/+4
| | | | Co-Authored-by: vector-of-bool <vectorofbool@gmail.com>
* CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) supportRobert Maynard2019-12-101-1/+3
|
* FindLibArchive: create a targetT.J. Corona2019-12-051-0/+1
|
* Merge topic 'objc-tests'Brad King2019-11-151-86/+2
|\ | | | | | | | | | | | | d2e5e6ff1a Tests: Organize Objective C/C++ test directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4051
| * Tests: Organize Objective C/C++ test directoriesBrad King2019-11-141-86/+2
| | | | | | | | Move them all under `Tests/ObjC` and `Tests/ObjCXX`.
* | VS: Add support for per-config sourcesBrad King2019-10-171-2/+6
|/ | | | | | | | | | | | | | | Since commit 97cc29c766 (VS: Teach generators how to mark per-config source files, 2017-04-10, v3.9.0-rc1~268^2~2) the VS generators have known how to generate per-config sources. We've now converted most other code paths to support per-config sources, so drop the check that disallows it. This leaves only per-config support for precompiled headers and unity build transformations, but those are optional features that can be addressed later. Fixes: #18233 Issue: #19789
* Objective-C: Do not treat Objective-C files as C++ filesCristian Adam2019-10-111-0/+12
| | | | | When both C and C++ langauges are enabled, the Objective-C files should be treated as C files and not as C++ files.
* Tests: Enable ConfigSources test on every configurationBrad King2019-10-041-2/+2
| | | | | Revise the test itself to work in all configurations and verify that certain sources are only built by whatever configuration is tested.
* FindJava: tests clean-upMarc Chevrier2019-10-021-43/+7
|
* Languages: Add support for Objective-C++Steve Wilson2019-09-281-0/+36
| | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C++ compiler determination and identification. Add Modules to check Objective-C++ compiler flags, source compilations, program checks, etc... Use OBJCXX as the designator of the language, eg: project(foo OBJCXX) Add various tests for Objective-C++ language features. Add tests to preserve C++ handling of .M and .mm files when Objective-C++ is not a configured language. Co-authored-by: Cristian Adam <cristian.adam@gmail.com>
* Languages: Add support for Objective-CSteve Wilson2019-09-281-0/+37
| | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C compiler determination and identification. Add Modules to check Objective-C compiler flags, source compilations, program checks, etc... Use OBJC as the designator of the language, eg: project(foo OBJC) Add various tests for Objective-C language features. Add tests to preserve C++ handling of .m and .mm files when OBJC is not a configured language. Co-Authored-By: Cristian Adam <cristian.adam@gmail.com>
* Tests: Teach VSWinStorePhone to verify the content of generated appx/msixVedran Vujinovic2019-09-241-0/+3
| | | | | | Add a test to verify the content of generated UWP app package - appx/msix. MSIX format was introduced Visual Studio 2017 version 15.9.0 and Windows SDK version 17763.