summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* FindGnuTLS: add target GnuTLS::GnuTLSDavid Callu2019-09-181-0/+1
| | | | Also add a test case for the module.
* Merge topic 'clang-ipo-support'Brad King2019-09-031-1/+0
|\ | | | | | | | | | | | | | | | | | | dca9c33abc Tests: Remove old IPO test c856d4556b bindexplib: supporting llvm bitcode formats using llvm-nm 079b8e2916 Clang: prefer lld-link over link.exe 6e3655db2c Clang: add LTO support for GNU-command line clang on windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3527
| * Tests: Remove old IPO testZsolt Parragi2019-08-301-1/+0
| | | | | | | | | | This test didn't really result in IPO compilation, there are other better tests for this.
* | Tests: Fix nightly binary tests to fail on errorBrad King2019-08-291-1/+2
| | | | | | | | | | | | | | We generate a small shell script to drive the steps. Previously a failure in the `release_cmake.cmake` script was not diagnosed and hidden from the script exit code by the following upload step. Tell the shell to terminate with failure on the first command that fails.
* | Utilities/Release: Drop linux64 script in favor of docker buildBrad King2019-08-281-2/+0
| | | | | | | | Drop also drop the CMakeNightlyLinux64 test that uses the script.
* | Add option to skip CMake tests that need network accessBrad King2019-08-231-10/+12
|/
* Merge topic 'cmake-tutorial'Brad King2019-08-201-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f6a32a0f6 Tutorial: Improve Step 9 6a35d630dc Tutorial: Improve Step 8 61d4d990d6 Tutorial: Improve Step 7 a36731c634 Tutorial: Improve Step 6 df9cdf629c Tutorial: Improve Step 5 442c0f0d46 Tutorial: Improve Step 4 bc64401c3d Tutorial: Improve Step 3 49ce4d6ff4 Tutorial: Improve Step 2 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3528
| * Tutorial: Improve Step 1Betsy McPhail2019-08-191-3/+3
| | | | | | | | | | | | | | | | | | | | * Update minimum required version to 3.10 * Use VERSION argument to project command rather than separate variables * Replace `endif(USE_MYMATH)` with more modern `endif()` * Simplify the call to 'configure_file()' * Add comments to tutorial.cxx to use as anchors in documentation * Remove CMakeLists and TutorialConfig.h.in files that users should create. Consequently, remove Step1 from CMake tests.
* | FindOpenACC: Provide import targets and OpenACC_<lang>_OPTIONS variableRobert Maynard2019-08-191-0/+1
|/ | | | | | Previously the FindOpenACC module had issues where the contents of OpenACC_<lang>_FLAGS could not be used with target_compile_options when it contained multiple compiler flags.
* Merge topic 'ctest_make_program__propagated_to_cmake_configure_pass'Brad King2019-07-121-101/+47
|\ | | | | | | | | | | | | cd681f1f41 ctest: propagate make program to cmake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3483
| * ctest: propagate make program to cmakeRobert Maynard2019-07-111-101/+47
| |
* | Tests: fix some Clang failures on WindowsZsolt Parragi2019-07-091-2/+4
| | | | | | | | | | | | | | | | | | * Execute MSVCRuntimeLibrary tests for GNU command line mode Clang on Windows using the MSVC ABI * Assembler tests should be executed with the Ninja generator * Assembler tests shouldn't be executed with clang-cl * Fixed a condition in the Preprocess test for clang-cl * Adjusted the conditions on some MSVC specific tests
* | Merge topic 'cuda-msvc-runtime-library'Brad King2019-06-271-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 8fbd25772f CUDA: Implement MSVC runtime library abstraction 07807a2006 VS: Use AddLanguageFlags to de-duplicate CMAKE_{CUDA,ASM*}_FLAGS lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3485
| * | CUDA: Implement MSVC runtime library abstractionBrad King2019-06-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | In commit fb3370b6a1 (MSVC: Add abstraction for runtime library selection, 2019-04-10, v3.15.0-rc1~229^2) we overlooked updating flags for CUDA on Windows, where nvcc uses MSVC as the host compiler. Add them now and update the MSVCRuntimeLibrary test to cover CUDA. Fixes: #19428