summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | Merge topic 'find-hdf5-more-smoothly'Brad King2024-09-191-1/+0
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3137faae6f FindHDF5: Avoid mentioning empty version when not found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9828
| * | | | | | | | | | FindHDF5: Avoid mentioning empty version when not foundMark Abraham2024-09-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the not-found message confusingly mentioned an empty version number: -- Could NOT find HDF5: Found unsuitable version "", ... Don't confuse FindPackageHandleStandardArgs by defining an empty version.
* | | | | | | | | | | Merge topic 'vs-sdk-custom-commands'Brad King2024-09-197-33/+21
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd66818653 VS: Fix custom commands for DOTNET_SDK builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9827
| * | | | | | | | | | | VS: Fix custom commands for DOTNET_SDK buildsCalum Robinson2024-09-187-33/+21
| | |_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23723
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2024-09-191-1/+1
|/ / / / / / / / / /
* | | | | | | | | | Merge topic 'execute_process-encoding'Brad King2024-09-184-0/+12
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20f059d025 execute_process: Warn on unknown ENCODING value Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9825
| * | | | | | | | | | execute_process: Warn on unknown ENCODING valueBrad King2024-09-174-0/+12
| | |/ / / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge topic 'vs-always-restore-net-sdk'Brad King2024-09-184-4/+13
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3283ef47d1 VS: Fix DOTNET_SDK builds when no VS_PACKAGE_REFERENCES set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9807
| * | | | | | | | | | VS: Fix DOTNET_SDK builds when no VS_PACKAGE_REFERENCES setCalum Robinson2024-09-164-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nuget restore always needs to be run for the new DOTNET_SDK style projects, even when VS_PACKAGE_REFERENCES is empty. Fixes: #23405
* | | | | | | | | | | Merge topic 'autogen-exe-per-config'Brad King2024-09-182-11/+22
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32c8cb2960 Autogen: Avoid running multiple cmake_autogen command in Xcode Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9810
| * | | | | | | | | | | Autogen: Avoid running multiple cmake_autogen command in XcodeOrkun Tokdemir2024-09-152-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 7c39dabdbc (Autogen: AUTO*_EXECUTABLE: add support for per-config values, 2023-10-18, v3.29.0-rc1~105^2~1) we were accidentally running cmake_autogen multiple times for each config. Fixes: #26282
* | | | | | | | | | | | Merge topic 'link_deduplication_imported_targets'Brad King2024-09-187-2/+81
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 502610733f Ensure imported targets in sibling dirs are deduplicated Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9821
| * | | | | | | | | | | Ensure imported targets in sibling dirs are deduplicatedMarc Chevrier2024-09-157-2/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #26284
* | | | | | | | | | | | CMake Nightly Date StampKitware Robot2024-09-181-1/+1
| |_|_|/ / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge topic 'execute_process-encoding'Brad King2024-09-1716-9/+83
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e782811cfe execute_process: Change default ENCODING to UTF-8 9a4533405b cmExecuteProcessCommand: Explicitly ignore unknown ENCODING values Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9822
| * | | | | | | | | | execute_process: Change default ENCODING to UTF-8Brad King2024-09-1614-4/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows is heading toward making UTF-8 the preferred MBCS. As CMake's internal encoding, `UTF-8` is effectively equivalent to `NONE`, which was CMake's behavior prior to 3.15's accidental change to `AUTO`. Behavior of `ENCODING UTF-8` is independent of CMake's internal encoding, making it in principle a better default than `NONE`. Add policy CMP0176 for compatibility and to document the default's history. Fixes: #26262
| * | | | | | | | | | cmExecuteProcessCommand: Explicitly ignore unknown ENCODING valuesBrad King2024-09-163-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logic did this implicitly before. Make it easier to follow.
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2024-09-171-1/+1
|/ / / / / / / / / /
* | | | | | | | | | Merge topic 'execute_process-encoding'Brad King2024-09-1613-14/+68
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3898e53e82 execute_process: Document and test ENCODING default d67519fce8 Help/command/execute_process: Improve formatting of ENCODING names e1fc4b9b17 Tests/RunCMake/execute_process: Add test for ENCODING AUTO 56ae758bc5 Tests/RunCMake/execute_process: Improve test for ENCODING UTF-8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9816
| * | | | | | | | | | execute_process: Document and test ENCODING defaultBrad King2024-09-134-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default was originally AUTO in commit 2ed473b3b8 (execute_process: Add ENCODING option for Windows child process output, 2016-11-23, v3.8.0-rc1~232^2) but was changed back to NONE by commit 07c3380a6e (execute_process: Restore no-decoding default behavior, 2017-02-13, v3.8.0-rc2~26^2) for CMake 3.8. Later it was accidentally changed back to AUTO by commit b783e62533 (cmExecuteProcessCommand: Port to cmArgumentParser, 2019-03-25, v3.15.0-rc1~270^2) in CMake 3.15 but the documentation was not updated. Document the current default, AUTO, and add a test case to verify it. Issue: #26262
| * | | | | | | | | | Help/command/execute_process: Improve formatting of ENCODING namesBrad King2024-09-131-4/+11
| | | | | | | | | | |
| * | | | | | | | | | Tests/RunCMake/execute_process: Add test for ENCODING AUTOBrad King2024-09-136-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows the AUTO encoding is based on the console code page, so run the test in an isolated console window.
| * | | | | | | | | | Tests/RunCMake/execute_process: Improve test for ENCODING UTF-8Brad King2024-09-126-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generalize the test infrastructure. Add Chinese text to the sample.
* | | | | | | | | | | Merge topic 'clang-cl-c++23'Brad King2024-09-162-5/+13
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 474eafe28c clang-cl: Add support for C++23 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9818
| * | | | | | | | | | | clang-cl: Add support for C++23Brad King2024-09-132-5/+13
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although there is no `cl -std:c++23` flag, the underlying Clang compiler does have a C++23 mode we can activate by passing `-std=c++23` through a `clang-cl` wrapper flag. Fixes: #26061
* | | | | | | | | | | Merge topic 'ninja-depfile-quoting'Brad King2024-09-1624-134/+218
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b11323f1e4 Ninja: Fix depfile binding with spaces in path ad66be9943 cmNinjaTargetGenerator: Factor out helper to add depfile bindings 269c3a13c8 cmNinjaTargetGenerator: Reduce DEP_FILE binding duplication 48ced5fb12 Tests/RunCMake/BuildDepends: Enable more depfile cases with Ninja b751a857cc Tests/RunCMake/BuildDepends: Simplify CustomCommandDepends case 006891dab9 Tests/RunCMake/BuildDepends: Prepare CompileDepends check for multiple targets 0915320ddf Tests/RunCMake/BuildDepends: Simplify CompileDepends case 24fbfa915c Tests/RunCMake/BuildDepends: Simplify LinkDepends case Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9812
| * | | | | | | | | | | Ninja: Fix depfile binding with spaces in pathBrad King2024-09-138-8/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In build statements we use a single `DEP_FILE = ...` binding that is shared between `depfile = $DEP_FILE` and `command = ... $DEP_FILE ...` bindings in the corresponding rule. In cases that the command's shell argument needs quoting, add a separate `depfile = ...` binding to the build statement to express the depfile path without quoting. Otherwise `ninja` tries to open a file path that contains literal quotes. Fixes: #26287
| * | | | | | | | | | | cmNinjaTargetGenerator: Factor out helper to add depfile bindingsBrad King2024-09-123-27/+39
| | | | | | | | | | | |
| * | | | | | | | | | | cmNinjaTargetGenerator: Reduce DEP_FILE binding duplicationBrad King2024-09-121-27/+16
| | | | | | | | | | | |
| * | | | | | | | | | | Tests/RunCMake/BuildDepends: Enable more depfile cases with NinjaBrad King2024-09-123-3/+29
| | | | | | | | | | | |
| * | | | | | | | | | | Tests/RunCMake/BuildDepends: Simplify CustomCommandDepends caseBrad King2024-09-128-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also rename from "CustomCommandDependencies".
| * | | | | | | | | | | Tests/RunCMake/BuildDepends: Prepare CompileDepends check for multiple targetsBrad King2024-09-121-21/+23
| | | | | | | | | | | |
| * | | | | | | | | | | Tests/RunCMake/BuildDepends: Simplify CompileDepends caseBrad King2024-09-127-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also rename from "CompilerDependencies".
| * | | | | | | | | | | Tests/RunCMake/BuildDepends: Simplify LinkDepends caseBrad King2024-09-124-28/+13
| |/ / / / / / / / / /
* | | | | | | | | | | Merge branch 'release-3.30'Brad King2024-09-160-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge topic 'FindPython-FIND_ABI' into release-3.30Brad King2024-09-163-37/+23
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f885b007b9 FindPython: ensure all ABI are searched by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Tested-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9819
* | \ \ \ \ \ \ \ \ \ \ Merge topic 'FindPython-FIND_ABI'Brad King2024-09-163-37/+23
|\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f885b007b9 FindPython: ensure all ABI are searched by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Tested-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9819
| * | | | | | | | | | | FindPython: ensure all ABI are searched by defaultMarc Chevrier2024-09-123-37/+23
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #26279
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2024-09-161-1/+1
| |_|_|/ / / / / / / |/| | | | | | | | |
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-09-151-1/+1
| | | | | | | | | |
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-09-141-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge topic 'file-REAL_PATH-warn-non-existing'Brad King2024-09-135-0/+22
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00c1161b01 file(REAL_PATH): Warn on non-existing paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9806
| * | | | | | | | | | file(REAL_PATH): Warn on non-existing pathsAlex Overchenko2024-09-125-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command is documented to work only for cases that the referenced path exists. Fixes: #26260
* | | | | | | | | | | Merge topic 'matlab-macos'Brad King2024-09-131-24/+26
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b90d7a3a82 FindMatlab: On macOS search under ~/Applications and /Applications Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9814
| * | | | | | | | | | | FindMatlab: On macOS search under ~/Applications and /Applicationsscivision2024-09-121-24/+26
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | users with locked-down macOS may not be able to install their desired Matlab under /Applications, but may use the standard ~/Applications instead
* | | | | | | | | | | Merge branch 'release-3.30'Brad King2024-09-130-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge topic 'matlab-2024b' into release-3.30Brad King2024-09-131-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20412181e9 FindMatlab: Add R2024b version map Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9813
* | | | | | | | | | | Merge topic 'matlab-2024b'Brad King2024-09-131-0/+1
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20412181e9 FindMatlab: Add R2024b version map Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9813
| * | | | | | | | | | FindMatlab: Add R2024b version mapscivision2024-09-121-0/+1
| |/ / / / / / / / /
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-09-131-1/+1
| |/ / / / / / / / |/| | | | | | | |