summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindPython-WIN32-DEBUG'Brad King2024-05-1438-42/+48
|\ | | | | | | | | | | | | | | | | c164404b2e FindPython: On Windows, Enhance python debug version support Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Osyotr <zhenchik35026@gmail.com> Merge-request: !9482
| * FindPython: On Windows, Enhance python debug version supportMarc Chevrier2024-05-0938-42/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following variables: * Python_EXECUTABLE_DEBUG * Python_INTERPRETER * Python_DEBUG_POSTFIX and target Python::InterpreterDebug. python_add_library() command Manage DEBUG_POSTFIX target property based on the value of Python_DEBUG_POSTFIX variable. Fixes: #25874
* | Tests: Avoid running VS 16+ tests when using a pre-v140 toolsetBrad King2024-05-132-2/+4
| |
* | Merge topic 'test-race-aix'Brad King2024-05-131-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | b3245f33ef Tests/RunCMake/install: Avoid intermittent failures on AIX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9507
| * | Tests/RunCMake/install: Avoid intermittent failures on AIXBrad King2024-05-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 3a739d4dcb (EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate, 2024-03-12, v3.29.0-rc4~6^2) a case has intermittently failed due to CMake rerunning during the case's build step and printing the feature gate warning to stderr. Redirect all build output to stdout as we do in similar cases elsewhere. Although we don't expect CMake to re-run in this case, somehow an AIX host's filesystem is occasionally recording high-resolution timestamps out of order among files saved in quick succession.
* | | Help: Document TARGET_PROPERTY genex behavior on unset propertyBrad King2024-05-103-0/+8
|/ / | | | | | | | | | | Also add an explicit test for the case. Fixes: #25968
* | Merge topic 'remove-vs9-generator'Brad King2024-05-0934-135/+35
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 03c31b0395 Drop Visual Studio 9 2008 generator 88c70dde34 cmGlobalVisualStudioGenerator: Use member 'Version' more directly 0bdcf1cb17 cmLocalVisualStudio7Generator: Make vfproj conditions more explicit acc5ea7390 cmLocalVisualStudio7Generator: Reset per-target members after every target 252702bb35 cmVisualStudioGeneratorOptions: Order version check branches consistently Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9496
| * Drop Visual Studio 9 2008 generatorBrad King2024-05-0834-135/+35
| | | | | | | | This generator has been deprecated since CMake 3.27. Remove it.
* | Tests/RunCMake/file-DOWNLOAD: Add option to control TLS_VERIFY failure URLBrad King2024-05-083-2/+6
|/
* Merge topic 'FindBoost-remove'Brad King2024-05-0617-0/+81
|\ | | | | | | | | | | | | | | | | e0355c4ea9 FindBoost: Add policy to remove this module Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Christoph Grüninger <foss@grueninger.de> Merge-request: !9488
| * FindBoost: Add policy to remove this moduleBrad King2024-05-0317-0/+81
| | | | | | | | | | | | | | | | | | | | Upstream Boost 1.70 and above provide a proper `BoostConfig.cmake` package configuration file. Packages for all major distros now provide it in at least one LTS release. Add a policy to pretend that the `FindBoost` module does not exist so that projects calling `find_package(Boost)` use the upstream package directly. Closes: #19402
* | Merge topic 'cpack-support-all-component-names'Brad King2024-05-065-0/+81
|\ \ | |/ |/| | | | | | | | | | | | | | | d7e2fede03 CPack: Add tests for component containing problematic characters a1af593291 CPack: Support arbitrary component name when packaging 9e67ad47a9 cmLocalGenerator: Support arbitrary component name when installing Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9436
| * CPack: Add tests for component containing problematic charactersDeniz Bahadir2024-05-015-0/+81
| |
* | Merge topic 'cxxmodules-no-import-std-reason'Brad King2024-05-037-1/+58
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | e89e819398 Tests/CXXModules: add tests for C++26 `import std` support 6dad18f060 cxxmodules: give a reason for unavailability of `import std` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9486
| * | Tests/CXXModules: add tests for C++26 `import std` supportBen Boeckel2024-05-026-0/+52
| | |
| * | cxxmodules: give a reason for unavailability of `import std`Ben Boeckel2024-05-021-1/+6
| | | | | | | | | | | | | | | If the `CMAKE_CXX<STANDARD>_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE` variable is set, include its value in the error message.
* | | Merge topic 'cxxmodules-build-export-different-directory'Brad King2024-05-0310-0/+149
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | 1fba6d3233 Merge branch 'cxxmodules-build-export-different-directory-3.28' into cxxmodules-build-export-different-directory ec35251510 cmDyndepCollation: look at all `export(TARGETS)` calls Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9485
| * | Merge branch 'cxxmodules-build-export-different-directory-3.28' into ↵Ben Boeckel2024-05-0210-0/+149
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | cxxmodules-build-export-different-directory * cxxmodules-build-export-different-directory-3.28: cmDyndepCollation: look at all `export(TARGETS)` calls
| | * | cmDyndepCollation: look at all `export(TARGETS)` callsBen Boeckel2024-05-0210-0/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, only `export()` calls in the same directory were noticed. Also add a test that exports in a different directory than the target itself resides in. Fixes: #25813
| * | | Merge topic 'export-name-safe-name' into release-3.29Brad King2024-05-017-0/+298
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 142a85f9c1 cxxmodules: use filesystem-safe export names in filenames 4452d41488 cmGeneratorTarget: add method to get a filesystem-safe export name Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9474
| * \ \ \ Merge topic 'exported-modules-with-headers' into release-3.29Brad King2024-04-3010-0/+184
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2041f7c9bf cmGeneratorTarget: add the original target as a COMPILE_ONLY link 051c2110c8 Tests/CXXModules: test exporting modules which include headers Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9469
* | \ \ \ \ Merge topic 'vs-filter-props'Brad King2024-05-022-21/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56a96d1f1f VS: Add option to import .props in .vcxproj.filters files Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9478
| * | | | | | VS: Add option to import .props in .vcxproj.filters fileshalx992024-05-012-21/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new target property VS_FILTER_PROPS Fixes: #25948
* | | | | | | Merge topic 'fphsa-before-project'Brad King2024-05-0210-9/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68a8c89430 FPHSA: Add hint for failure when called before project() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9480
| * | | | | | | FPHSA: Add hint for failure when called before project()Brad King2024-05-0110-9/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Help project authors recognize an ordering mistake. Inspired-by: Jeremy Rifkin @jeremy-rifkin Closes: #25941
* | | | | | | | Merge topic 'FindOpenMP-runtime-msvc'Brad King2024-05-021-0/+13
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b07c637e42 FindOpenMP: Add option to control OpenMP runtime with MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9475
| * | | | | | | FindOpenMP: Add option to control OpenMP runtime with MSVCAxel Huebl2024-05-011-0/+13
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MSVC compiler's `-openmp` flag accepts `:{experimental,llvm}` values. Add an option to specify one. Closes: #25570
* | | | | | | Merge topic 'genex-link-properties'Brad King2024-05-0116-2/+174
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ddb9442f48 GenEx: Fix TARGET_PROPERTY evaluation of transitive link properties 862b8e28ad GenEx: Teach TARGET_PROPERTY evaluation to optionally pierce LINK_ONLY 8d1d6a1437 Tests: Cover TARGET_PROPERTY genex evaluation of transitive link properties abf607c2ec Tests: Cover TARGET_PROPERTY genex evaluation of transitive build properties 7d3d728a72 Help: Clarify CMP0099 documentation and summary text 79a3ae9a0d cmGeneratorExpressionDAGChecker: Simplify transitive property table e8010b67c7 cmGeneratorExpressionDAGChecker: Make local generator available in constructor b36fb3f6f1 cmGeneratorExpressionNode: Remove outdated lint suppression Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9473
| * | | | | | | GenEx: Fix TARGET_PROPERTY evaluation of transitive link propertiesBrad King2024-04-298-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit bbba701899 (Link properties: must be transitive over private dependency on static library, 2019-12-06, v3.17.0-rc1~323^2) and commit af9d4f24ae (Link properties: must be transitive over private dependency on static library, 2019-12-11, v3.17.0-rc1~305^2) we neglected to implement CMP0099 NEW behavior for `TARGET_PROPERTY` evaluation. Add policy CMP0166 to fix this.
| * | | | | | | Tests: Cover TARGET_PROPERTY genex evaluation of transitive link propertiesBrad King2024-04-294-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Demonstrate that TARGET_PROPERTY does not honor CMP0099 from CMake 3.17.
| * | | | | | | Tests: Cover TARGET_PROPERTY genex evaluation of transitive build propertiesBrad King2024-04-299-0/+96
| |/ / / / / /
* | | | | | | Merge topic 'export-name-safe-name'Brad King2024-05-017-0/+298
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 142a85f9c1 cxxmodules: use filesystem-safe export names in filenames 4452d41488 cmGeneratorTarget: add method to get a filesystem-safe export name Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9474
| * | | | | | cxxmodules: use filesystem-safe export names in filenamesBen Boeckel2024-04-307-0/+298
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add tests. Fixes: #25828
* | | | | | Merge topic 'lang-standard-latest'Brad King2024-05-0122-0/+114
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c38e6bb52 Add CMAKE_<LANG>_STANDARD_LATEST variables fddb165c6c AppleClang: Fix Objective C 23 support detection 1dff17108d Modules: Fix ARMClang and TIClang language standard compile options Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9314
| * | | | | | Add CMAKE_<LANG>_STANDARD_LATEST variablesTyler2024-04-3022-0/+114
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a variable to indicate the latest standard known to be supported for each language: * `CMAKE_C_STANDARD_LATEST` * `CMAKE_CXX_STANDARD_LATEST` * `CMAKE_CUDA_STANDARD_LATEST` * `CMAKE_HIP_STANDARD_LATEST` * `CMAKE_OBJC_STANDARD_LATEST` * `CMAKE_OBJCXX_STANDARD_LATEST` These variables, more generally referred to as `CMAKE_<LANG>_STANDARD_LATEST`, are assigned an integer value which represents the minimum between the latest version of the associated language standard supported by the current compiler and the latest version supported by CMake. Add documentation for these variables in a new page called `CMAKE_<LANG>_STANDARD_LATEST` was added under the "Variables for Languages" section of the `cmake-variables(7)` page. Update each compiler-specific CMake script under `${CMAKE_ROOT}\Modules\Compiler` to manually define the relevant `CMAKE_<LANG>_STANDARD_LATEST` variable as necessary. This will require updating and maintaining as newer compiler versions become recognized by CMake. Closes: #25717
* | | | | | Merge topic 'ps1-not-exe'Brad King2024-05-011-0/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f9817b7cb Remove unnecessary executable permission from .ps1 scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9477
| * | | | | | Remove unnecessary executable permission from .ps1 scriptsBrad King2024-04-301-0/+0
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Powershell scripts cannot be launched as commands on Windows. They must be run through the `powershell` or `pwsh` tool.
* | | | | | Merge topic 'tests-xcodebuild-version-scleanup'Brad King2024-05-014-45/+27
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40fa2c1c90 Tests: Cleanup CMake_TEST_XCODE_VERSION code abd1b02dfa Tests/Architecture: Have test support Xcode 10+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9466
| * | | | | Tests: Cleanup CMake_TEST_XCODE_VERSION codeJuan Ramos2024-04-293-21/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Consolidate calls to xcodebuild -version - Handles cases where CMake_TEST_XCODE_VERSION is 0 to allow running tests with only command-line tools.
| * | | | | Tests/Architecture: Have test support Xcode 10+Juan Ramos2024-04-292-24/+17
| |/ / / /
* | | | | Merge topic 'exported-modules-with-headers'Brad King2024-04-3010-0/+184
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | | | | | 2041f7c9bf cmGeneratorTarget: add the original target as a COMPILE_ONLY link 051c2110c8 Tests/CXXModules: test exporting modules which include headers Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9469
| * | | Tests/CXXModules: test exporting modules which include headersBen Boeckel2024-04-2710-0/+184
| |/ / | | | | | | | | | | | | Test that headers that are part of the same target are available to modules in the target itself.
* | | Merge topic 'test-dir-preset'Brad King2024-04-252-3/+30
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c971212703 ctest: Allow --test-dir override when using presets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9448
| * | | ctest: Allow --test-dir override when using presetscastro-ma2024-04-242-3/+30
| | | | | | | | | | | | | | | | Fixes: #23982
* | | | Merge topic 'ci-fedora-40'Brad King2024-04-251-8/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | acf1179e74 ci: Verify that C++26 modes work with GCC and Clang on Fedora b05f94fa10 ci: Enable FindOpenACC tests in LLVM/Clang jobs on Fedora c722bde0e3 ci: Enable FindOpenACC test for each language independently b84b0fdd89 ci: Enable FindOpenMP tests in LLVM/Clang jobs on Fedora 4590255c63 ci: Subsume GCC C++ modules testing in main Fedora jobs 9c004ddb3d ci: use Fedora 40 images and environments 0f56cc9a4e ci: update Linux image to Fedora 40 21ef873660 clang-tidy module: Update to build against LLVM/Clang 18 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9462
| * | | ci: Enable FindOpenACC test for each language independentlyBrad King2024-04-241-8/+2
| | | |
* | | | Merge topic 'ninja-swift-verbosity'Brad King2024-04-241-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5ef7fac23 Swift/Ninja: Add description to Swift object build steps Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9451
| * | | | Swift/Ninja: Add description to Swift object build stepsJeremy Day2024-04-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, Ninja displays the full build command for the object which is very verbose. Warnings are often lost in the noise, and compile errors take some searching to find. If a build step fails, Ninja will still print out the full build command, so there's no loss of useful information. Fixes: #25853
* | | | | Merge topic 'xcode-default-file-type'Brad King2024-04-241-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 3071660247 Xcode: Use builtin "default" file type Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9446
| * | | | Xcode: Use builtin "default" file typeIlya Kulakov2024-04-231-1/+1
| |/ / / | | | | | | | | | | | | | | | | "sourcecode" is not appropriate for binary files, such as video, and hinders Xcode performance.