summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ExternalProject-revert-install'Brad King2023-03-035-5/+18
|\ | | | | | | | | | | | | | | | | | | 771387523a ExternalProject: Restore driving install through build system Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8279
| * ExternalProject: Restore driving install through build systemBrad King2023-03-025-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 66b5d51f38 (ExternalProject: Install CMake projects using 'cmake --install', 2022-09-08, v3.25.0-rc1~150^2). It changed the ExternalProject install step command from: cmake --build <dir> --target install --config <cfg> to: cmake --install <dir> --config <cfg> The latter command no longer runs the external project build system during the install step. We could consider using the commands: cmake --build <dir> --target all --config <cfg> cmake --install <dir> --config <cfg> as the install step, but if `CMAKE_SKIP_INSTALL_ALL_DEPENDENCY` is used in the external project, that can change semantics too. Revert the original change pending further investigation on other ways to support its motivating use case. Add a test covering the previously-regressed use case. Fixes: #24567 Issue: #23946
* | Merge branch 'release-3.26'Brad King2023-03-030-0/+0
|\ \
| * \ Merge topic 'doc-block' into release-3.26Brad King2023-03-031-0/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 2931f078dc Help:cmake-language: note new block() command scope Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8276
* | \ \ Merge topic 'doc-block'Brad King2023-03-031-0/+3
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 2931f078dc Help:cmake-language: note new block() command scope Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8276
| * | | Help:cmake-language: note new block() command scopescivision2023-03-021-0/+3
| |/ /
* | | Merge topic 'ninja-multi-output-path-prefix'Brad King2023-03-034-10/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | df38eaab2c Ninja Multi-Config: Write output path prefix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8280
| * | | Ninja Multi-Config: Write output path prefixKyle Edwards2023-03-024-10/+26
| | | | | | | | | | | | | | | | Fixes: #24566
* | | | Merge topic 'doc-IMPORTED_CONFIGURATIONS'Brad King2023-03-032-8/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8adcb73956 Help:IMPORTED_CONFIGURATIONS: Mention relation to IMPORTED_LOCATION e1032a22eb Help:IMPORTED_IMPLIB: Mention IMPORTED_IMPLIB_<CONFIG> variant Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8281
| * | | | Help:IMPORTED_CONFIGURATIONS: Mention relation to IMPORTED_LOCATIONBrad King2023-03-021-8/+17
| | | | |
| * | | | Help:IMPORTED_IMPLIB: Mention IMPORTED_IMPLIB_<CONFIG> variantBrad King2023-03-021-0/+9
| |/ / / | | | | | | | | | | | | This is already done in `IMPORTED_LOCATION` documentation.
* | | | CMake Nightly Date StampKitware Robot2023-03-031-1/+1
| | | |
* | | | Merge topic 'TargetRunTimeDllDirs'Kyle Edwards2023-03-025-27/+90
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a2c9c4f202 Add test for the new TARGET_RUNTIME_DLL_PATHS genex aa68de0a27 TARGET_RUNTIME_DLLS: minor refactoring of shared-check.cmake 2ce3d62ffb Help: add documentation for the new TARGET_RUNTIME_DLL_DIRS genex c351dcd967 TARGET_RUNTIME_DLL_DIRS: add the new genex to cmGeneratorExpressionNode 064c3244da TARGET_RUNTIME_DLLS: fix test for this genex Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8247
| * | | Add test for the new TARGET_RUNTIME_DLL_PATHS genexAlexander Neundorf2023-02-261-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | For one of the shared libraries the RUNTIME_OUTPUT_PATH is set to a subdir and the test is supposed to check that those directories appear in TARGET_RUNTIME_DLL_PATHS genex
| * | | TARGET_RUNTIME_DLLS: minor refactoring of shared-check.cmakeAlexander Neundorf2023-02-261-6/+6
| | | | | | | | | | | | | | | | | | | | Renamed variables and text which mentions dlls to items, since we can use this check also for testing the directories.
| * | | Help: add documentation for the new TARGET_RUNTIME_DLL_DIRS genexAlexander Neundorf2023-02-261-1/+17
| | | |
| * | | TARGET_RUNTIME_DLL_DIRS: add the new genex to cmGeneratorExpressionNodeAlexander Neundorf2023-02-261-10/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds handling for a new genex TARGET_RUNTIME_DLL_DIRS to cmGeneratorExpressionNode. It refactors the code for TARGET_RUNTIME_DLLS a bit, so that both TARGET_RUNTIME_DLL_DIRS and TARGET_RUNTIME_DLLS share the implementation to collect all dlls. The new genex collects the dlls and in a final step puts all the directories into the result variable (and makes sure there are no duplicates).
| * | | TARGET_RUNTIME_DLLS: fix test for this genexAlexander Neundorf2023-02-221-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | In a95cbf38 multiple files were renamed, and check.cmake slipped through, and the test did actually not work correctly since then. This patch renames check.cmake to its correct name shared-check.cmake.
* | | | Merge topic 'test-minver'Brad King2023-03-02147-150/+151
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f53bd6f450 Tests: Bump CMake minimum required in tests to 3.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8274
| * | | | Tests: Bump CMake minimum required in tests to 3.5Brad King2023-03-01147-150/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake 3.27 deprecates compatibility with CMake < 3.5. Update tests that do not cover older interfaces to avoid the deprecation warning. Follow the pattern from: * commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions, 2020-06-15, v3.19.0-rc1~629^2~1) * commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12, 2020-12-22, v3.20.0-rc1~224^2) * commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12, 2021-04-04, v3.21.0-rc1~372^2) Also remove explicit `cmake_policy` settings made redundant by the version.
* | | | | Merge topic 'target_sources-backtrace'Brad King2023-03-0248-140/+144
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b909be9e23 target_sources: Fix backtrace on missing source 4a3e79048b Tests: Add RunCMake.target_sources case covering missing source Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8268
| * | | | | target_sources: Fix backtrace on missing sourceBrad King2023-02-2844-140/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a source file is not found, the error message reports a backtrace. Previously the backtrace pointed at where the target was created. In the case of `target_sources`, the missing source may have been named elsewhere. Fixes: #24538
| * | | | | Tests: Add RunCMake.target_sources case covering missing sourceBrad King2023-02-285-1/+12
| | | | | |
* | | | | | Merge topic 'retry-file-download-on-timeout'Brad King2023-03-021-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 296d2bef06 ExternalProject: Also retry curl download on timeout error Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8270
| * | | | | | ExternalProject: Also retry curl download on timeout errorGreg Thain2023-03-011-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit f24e34975a (ExternalProject: retry download on recoverable errors, 2020-08-08, v3.19.0-rc1~298^2~1) ExternalProject has a list of curl errors which trigger a retry today: 6, 7, 8 and 15. Add curl error 28. It is a "timeout error", and should also trigger a retry attempt at a download of an external project. The complete list of curl errors is https://curl.se/libcurl/c/libcurl-errors.html
* | | | | | Merge topic 'clean-AddCacheEntry'Brad King2023-03-021-12/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87c4eba5cb cmState::AddCacheEntry(): Remove unused overloads Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8269
| * | | | | | cmState::AddCacheEntry(): Remove unused overloadsVitaly Stakhovsky2023-03-011-12/+0
| |/ / / / /
* | | | | | Merge topic 'dont_use_bom_with_cuda'Brad King2023-03-024-20/+25
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5305cf493 Makefile: Don't pass the CUDA compiler response files with UTF8_BOM Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ivan Katalenić <ivankatalenic100@gmail.com> Merge-request: !8267
| * | | | | | Makefile: Don't pass the CUDA compiler response files with UTF8_BOMRobert Maynard2023-02-284-20/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #24544
* | | | | | | Merge topic 'Apple-handle-Text-Stubs'Brad King2023-03-0285-199/+2101
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ede33f30cf Apple: Handle generation and comsuption of text-based stubs (.tbd files) fcbd723a50 Enhance support functions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !8204
| * | | | | | | Apple: Handle generation and comsuption of text-based stubs (.tbd files)Marc Chevrier2023-03-0184-168/+2054
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24123
| * | | | | | | Enhance support functionsMarc Chevrier2023-02-288-32/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid duplicate definiitions for IsExecutableWithExports, etc... * Add helper IsApple()
* | | | | | | | CMake Nightly Date StampKitware Robot2023-03-021-1/+1
| |_|_|/ / / / |/| | | | | |
* | | | | | | Merge branch 'release-3.26'Brad King2023-03-010-0/+0
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | CMake 3.26.0-rc5v3.26.0-rc5Brad King2023-03-011-1/+1
| | | | | | |
* | | | | | | Merge branch 'release-3.26'Brad King2023-03-010-0/+0
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge topic 'check-curses-min-cmake' into release-3.26Brad King2023-03-012-4/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d70582eed8 ccmake: Update minimum required version of CMake for curses check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8272
* | \ \ \ \ \ \ Merge topic 'check-curses-min-cmake'Brad King2023-03-012-4/+2
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d70582eed8 ccmake: Update minimum required version of CMake for curses check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8272
| * | | | | | | ccmake: Update minimum required version of CMake for curses checkBrad King2023-03-012-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should have been part of commit d6b811fb82 (Require CMake 3.13+ to configure CMake itself, 2022-02-22, v3.24.0-rc1~605^2~1).
* | | | | | | | Merge branch 'release-3.26'Brad King2023-03-010-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge topic 'FindPython-fix-CMAKE_SHARED_LIBRARY_SUFFIX-matching' into ↵Brad King2023-03-011-3/+3
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release-3.26 764441e672 FindPython: fix erroneous ${CMAKE_SHARED_LIBRARY_SUFFIX} matching Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8271
* | \ \ \ \ \ \ \ Merge topic 'FindPython-fix-CMAKE_SHARED_LIBRARY_SUFFIX-matching'Brad King2023-03-011-3/+3
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 764441e672 FindPython: fix erroneous ${CMAKE_SHARED_LIBRARY_SUFFIX} matching Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8271
| * | | | | | | | FindPython: fix erroneous ${CMAKE_SHARED_LIBRARY_SUFFIX} matchingMarc Chevrier2023-03-011-3/+3
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes: #24556
* | | | | | | | Merge topic 'FindVulkan-mingw-cross-compiling'Brad King2023-03-011-7/+10
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 829f1b5be4 FindVulkan: Add more search paths for MINGW when cross compiling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8256
| * | | | | | | | FindVulkan: Add more search paths for MINGW when cross compilingRalf Habacker2023-02-281-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24536
* | | | | | | | | Merge topic 'csharp_sdk_win32_exe'Brad King2023-03-011-1/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0dff040f10 VS : Support WIN32_EXECUTABLE on SDK style projects Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Sumit Bhardwaj <bhardwajs@outlook.com> Merge-request: !8263
| * | | | | | | | | VS : Support WIN32_EXECUTABLE on SDK style projectsOlivier PENA2023-02-281-1/+5
| |/ / / / / / / /
* | | | | | | | | Merge topic 'remove-dart-modules'Brad King2023-03-0129-12/+186
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2e469212c8 Dart,FindDart: Add policy to remove these modules 6dd2948b4b Tests: Port "testing" test from Dart module to CTest module 1f5ff4d131 Merge branch 'upstream-KWSys' into remove-dart-modules ec3652a0bd KWSys 2023-02-28 (68534a6a) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8265
| * | | | | | | | | Dart,FindDart: Add policy to remove these modulesBrad King2023-02-2827-1/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These modules and the "DART" tool they support have long been replaced by CTest.
| * | | | | | | | | Tests: Port "testing" test from Dart module to CTest moduleBrad King2023-02-281-6/+2
| | | | | | | | | |