summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | zlib: Fix 1.2.13 version and date noticeBrad King2024-01-301-2/+2
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #25576
* | | | | | | | | | | | CMake Nightly Date StampKitware Robot2024-01-311-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'test-define-prop'Brad King2024-01-303-0/+125
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c3311d53b Help: Document property redefinition semantics 7aacae4e0e Tests: Add unit tests for property redefinition Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9136
| * | | | | | | | | | | | Help: Document property redefinition semanticsFeRD (Frank Dana)2024-01-291-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a section to the `define_property()` documentation which details the behavior when attempting to redefine an existing property. (The command is silently ignored.) Provide an example using `get_property()` to examine a property definition created with `define_property()`.
| * | | | | | | | | | | | Tests: Add unit tests for property redefinitionFeRD (Frank Dana)2024-01-292-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From reading `Source/cmDefinePropertyCommand.cxx` and `Source/cmPropertyDefinition.cxx`, attempts to use `define_property()` to redefine an existing property will be silently ignored. Once a property is defined, it cannot be redefined. Add some unit tests to confirm this behavior of `define_property()` remains as expected based on the current implementation.
* | | | | | | | | | | | | Merge topic 'FindICU-include-dir-advanced'Brad King2024-01-301-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 005e50f5b0 FindICU: Mark ICU_INCLUDE_DIR as advanced variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9199
| * | | | | | | | | | | | FindICU: Mark ICU_INCLUDE_DIR as advanced variablePeter Kokot2024-01-291-0/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | CMake Nightly Date StampKitware Robot2024-01-301-1/+1
| |_|_|_|/ / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'release-3.28'Brad King2024-01-291-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | / / / / | |_|_|_|_|_|_|/ / / / |/| | | | | | | | | |
| * | | | | | | | | | CMake 3.28.2v3.28.2Brad King2024-01-292-4/+4
| | | | | | | | | | |
* | | | | | | | | | | Merge topic 'test-launcher-emulator-genex'Brad King2024-01-2923-78/+181
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13ece67a58 Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATOR b9ad73fcb2 cmTestGenerator: De-duplicate TEST_LAUNCHER and CROSSCOMPILING_EMULATOR impl Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9198
| * | | | | | | | | | | Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATORBrad King2024-01-2923-59/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluate generator expressions in these properties, as they apply to `add_test`, `add_custom_command`, and `add_custom_target`. The `CMAKE_CROSSCOMPILING_EMULATOR` variable's `try_run` behavior occurs at configure time and so cannot support generator expressions.
| * | | | | | | | | | | cmTestGenerator: De-duplicate TEST_LAUNCHER and CROSSCOMPILING_EMULATOR implBrad King2024-01-291-20/+20
| | |/ / / / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | 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.