summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release-3.28'Brad King2024-01-290-0/+0
|\
| * Merge topic 'autogen-makefile-depfile' into release-3.28Brad King2024-01-297-2/+40
| |\ | | | | | | | | | | | | | | | | | | | | | d0bedb2170 Autogen: Forward dependencies when both Makefile and DEPFILE are used 4deb9c41b8 cmQtAutoGenInitializer: Improve Const-correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9190
* | \ Merge topic 'autogen-makefile-depfile'Brad King2024-01-297-2/+40
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | d0bedb2170 Autogen: Forward dependencies when both Makefile and DEPFILE are used 4deb9c41b8 cmQtAutoGenInitializer: Improve Const-correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9190
| * | Autogen: Forward dependencies when both Makefile and DEPFILE are usedOrkun Tokdemir2024-01-287-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit ebc9e448b3 (Autogen: Add depfile support for Makefiles, 2023-09-07, v3.28.0-rc1~101^2~1) CMake does not generate the correct dependency graph when both `Makefile` and `DEPFILE` are used. The build of `<target_name>_autogen_timestamp_deps` fails due to missing dependencies. To tackle that problem, forward target dependencies to both `<target_name>_autogen_timestamp_deps` and `<target_name>_autogen` instead of just `<target_name>_autogen`. Fixes: #25600
| * | cmQtAutoGenInitializer: Improve Const-correctnessOrkun Tokdemir2024-01-261-1/+1
| | |
* | | Merge topic 'productbuild-domains-policy'Brad King2024-01-2914-3/+100
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 339ae33e55 CPack: Change CPACK_PRODUCTBUILD_DOMAINS default to true (CMP0161) 4e7f2397e4 CPack: Clear temporary variable after it is no longer needed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9197
| * | | CPack: Change CPACK_PRODUCTBUILD_DOMAINS default to true (CMP0161)Craig Scott2024-01-2814-3/+99
| | | | | | | | | | | | | | | | Fixes: #23351
| * | | CPack: Clear temporary variable after it is no longer neededCraig Scott2024-01-281-0/+1
| | | |
* | | | Merge topic 'fortrancinterface-extra-newline'Craig Scott2024-01-291-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0534624b10 FortranCInterface: Skip appending an unnecessary newline to Output.cmake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9196
| * | | | FortranCInterface: Skip appending an unnecessary newline to Output.cmakeCraig Scott2024-01-271-1/+0
| |/ / /
* | | | CMake Nightly Date StampKitware Robot2024-01-291-1/+1
| | | |
* | | | Merge topic 'test-launcher-emulator'Brad King2024-01-2834-121/+389
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb766ff638 Tests: Improve RunCMake.add_test TEST_LAUNCHER coverage c5b58b0842 Tests: Improve RunCMake.add_test error formatting b440e0af3f Tests: Improve RunCMake.CrosscompilingEmulator coverage 54edf3471e Tests: Improve RunCMake.CrosscompilingEmulator error formatting 2b5447d4a8 Tests: Shorten RunCMake.CrosscompilingEmulator executable names 10f906106e Tests: Teach pseudo_emulator helper to pass by default Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9192
| * | | | Tests: Improve RunCMake.add_test TEST_LAUNCHER coverageBrad King2024-01-279-41/+89
| | | | | | | | | | | | | | | | | | | | Verify that ctest actually runs the test command lines as expected.
| * | | | Tests: Improve RunCMake.add_test error formattingBrad King2024-01-271-7/+13
| | | | |
| * | | | Tests: Improve RunCMake.CrosscompilingEmulator coverageBrad King2024-01-276-5/+172
| | | | | | | | | | | | | | | | | | | | Verify that ctest actually runs the test command lines as expected.
| * | | | Tests: Improve RunCMake.CrosscompilingEmulator error formattingBrad King2024-01-275-24/+45
| | | | |
| * | | | Tests: Shorten RunCMake.CrosscompilingEmulator executable namesBrad King2024-01-2715-44/+58
| | | | | | | | | | | | | | | | | | | | Also switch to pure C.
| * | | | Tests: Teach pseudo_emulator helper to pass by defaultBrad King2024-01-272-1/+13
| | | | |
* | | | | Merge topic 'fortrancinterface-IS_NEWER_THAN'Brad King2024-01-281-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1db1132c67 FortranCInterface: Fix wrong path when deciding if redetection is needed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9194
| * | | | | FortranCInterface: Fix wrong path when deciding if redetection is neededCraig Scott2024-01-271-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d7c8030541 (FortranCInterface: Fix misuse of IS_NEWER_THAN in timestamp check, 2021-02-21) updated the IS_NEWER_THAN logic, but it introduced a couple of errors. 2a00e5072d (FortranCInterface: Fix regression in timestamp check, 2021-09-30) addressed one of those errors, but there was still one left behind that wasn't noticed. The Output.cmake file is in the build directory, but there was still one reference to it that incorrectly used a path to it in the source directory. Issue: #22709
* | | | | Merge topic 'ep-url-special-characters'Brad King2024-01-282-27/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54cb65b197 ExternalProject: Prevent URL list-splitting on special characters aab6be9aad ExternalProject: Catch empty REMOTE or LOCAL earlier e72791ecf6 ExternalProject: Update foreach() calls to use IN LISTS and IN ITEMS 873b2ad2eb ExternalProject: Remove N^2 add_dependencies() calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9193
| * | | | | ExternalProject: Prevent URL list-splitting on special charactersCraig Scott2024-01-272-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a URL contains special characters like parentheses and a few others, they would previously have caused a foreach() call that iterates over the URLs to parse those special characters as separate, unquoted arguments. They would then have effectively split the list of URLs at unexpected places. Prepare the arguments for the foreach() call by using use bracket syntax to robustly handle any URLs that do have unescaped special characters. Issue: #25148
| * | | | | ExternalProject: Catch empty REMOTE or LOCAL earlierCraig Scott2024-01-272-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we are given an empty string for URL, or we have a logic error that leads to the file we download to being an empty string, we will now catch this at CMake configure time instead of whenever the download is attempted at build time.
| * | | | | ExternalProject: Update foreach() calls to use IN LISTS and IN ITEMSCraig Scott2024-01-271-13/+13
| | | | | |
| * | | | | ExternalProject: Remove N^2 add_dependencies() callsCraig Scott2024-01-271-5/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ExternalProject_Add_StepDependencies() contained a foreach() loop that had another foreach() loop inside it iterating over the same set of values (the dependencies). This resulted in add_dependencies() calls that added the same dependencies to the step target N^2 times. A single call to add_dependencies() with the list of dependencies provides the necessary relationships without the N^2 behavior, and it removes the inner foreach() loop.
* | | | | CMake Nightly Date StampKitware Robot2024-01-281-1/+1
| | | | |
* | | | | Merge topic 'doc-configure_file'Brad King2024-01-271-63/+77
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 682a513bbb Help: Organize configure_file documentation into sections Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Merge-request: !9191
| * | | | | Help: Organize configure_file documentation into sectionsBrad King2024-01-261-63/+77
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2024-01-271-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'stdio-streams-always'Brad King2024-01-261-28/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 96010cc968 Ensure stdin, stdout, stderr FILE streams are open on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9189
| * | | | | Ensure stdin, stdout, stderr FILE streams are open on WindowsBrad King2024-01-251-28/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend commit c85524a94a (Ensure stdin, stdout, and stderr pipes are always open, 2019-05-02, v3.15.0-rc1~171^2) to cover the `stdin`, `stdout`, and `stderr` FILE streams from `<stdio.h>`. Issue: #25625
* | | | | | Merge topic 'ctest-tests-from-file'Brad King2024-01-2617-0/+207
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 701029726f ctest_test: add options INCLUDE_FROM_FILE and EXCLUDE_FROM_FILE dbacc1d5a8 ctest: add command line option to exclude tests listed in a given file 022f20f663 ctest: add command line option to run the tests listed in a given file Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9128
| * | | | | | ctest_test: add options INCLUDE_FROM_FILE and EXCLUDE_FROM_FILEAlex Neundorf2024-01-258-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These options can be used to specify files which can be used to restrict the set of tests that will be executed. Fixes: #25455
| * | | | | | ctest: add command line option to exclude tests listed in a given fileAlex Neundorf2024-01-258-5/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `--exclude-from-file <filename>` to exclude the tests listed in the given file. Issue: #25455
| * | | | | | ctest: add command line option to run the tests listed in a given fileAlex Neundorf2024-01-259-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `--tests-from-file <filename>` to run only the tests listed in the given file. The test names must match exactly, no regexps or something. The listed tests can still be filtered with a regexp using -R. Issue: #25455
* | | | | | | Merge topic 'simplify-emacs-cmake-mode'Brad King2024-01-261-14/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 91336c7469 cmake-mode.el: Simplify jumping to begin/end of functions/macros Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9185
| * | | | | | | cmake-mode.el: Simplify jumping to begin/end of functions/macrosJoerg Bornemann2024-01-251-14/+4
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change was spawned by the desire to use `narrow-to-defun` in CMake files. However, there was no "CMake version" of that function, and it turns out that we don't need one if we make `beginning-of-defun` and `end-of-defun` work in `cmake-mode`. In the setup code of `cmake-mode` we now set the local variables `beginning-of-defun-function` and `end-of-defun-function`. This makes `beginning-of-defun` and `end-of-defun` work as expected. Functions that use this facility also work now: `mark-defun` and `narrow-to-defun` and possibly others. We remove `cmake-mark-defun` since it's superfluous now. We remove the defun-related key bindings since the standard functions that are bound globally work fine with this patch.
* | | | | | | Merge branch 'release-3.28'Brad King2024-01-260-0/+0
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Merge topic 'revert-FindFreetype-use-config' into release-3.28Brad King2024-01-261-98/+0
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5725ae619 FindFreetype: Revert use of upstream freetype cmake package Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9187
* | \ \ \ \ \ \ Merge topic 'revert-FindFreetype-use-config'Brad King2024-01-261-98/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5725ae619 FindFreetype: Revert use of upstream freetype cmake package Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9187
| * | | | | | | FindFreetype: Revert use of upstream freetype cmake packageBrad King2024-01-251-98/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The upstream freetype cmake package uses generator expressions and imported target to express its dependencies. That's fine on its own. However, our use of it since commit d83d925045 (FindFreetype: use `freetype-config.cmake` if available, 2023-09-06, v3.28.0-rc1~130^2) causes the `FREETYPE_LIBRARIES` result variable to reference those imported targets and create a package-level dependency for clients that did not exist previously. Revert that change for now, along with its follow-up fixes. Further investigation will be needed to solve the motivating use case another way. Fixes: #25635
* | | | | | | | Merge branch 'release-3.28'Brad King2024-01-260-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge topic 'find-matlab-docs-mcr-version-mapping' into release-3.28Brad King2024-01-261-1/+11
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 29fece7ef3 FindMatlab: Document that version mappings do not apply to MCR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9184
* | \ \ \ \ \ \ \ Merge topic 'find-matlab-docs-mcr-version-mapping'Brad King2024-01-261-1/+11
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 29fece7ef3 FindMatlab: Document that version mappings do not apply to MCR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9184
| * | | | | | | | FindMatlab: Document that version mappings do not apply to MCRHermann von Kleist2024-01-251-1/+11
| | | | | | | | |
* | | | | | | | | Merge branch 'release-3.28'Brad King2024-01-260-0/+0
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge topic 'find-matlab-fix-nonzero-patch-version' into release-3.28Brad King2024-01-261-4/+5
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b1e27b1b9d FindMatlab: Some versions use major.minor.patch in the registry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9183
* | | | | | | | | Merge topic 'find-matlab-fix-nonzero-patch-version'Brad King2024-01-261-4/+5
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b1e27b1b9d FindMatlab: Some versions use major.minor.patch in the registry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9183
| * | | | | | | | FindMatlab: Some versions use major.minor.patch in the registryHermann von Kleist2024-01-251-4/+5
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes #25631.
* | | | | | | | CMake Nightly Date StampKitware Robot2024-01-261-1/+1
| | | | | | | |