summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake 3.29.0-rc1v3.29.0-rc1Brad King2024-02-131-1/+1
|
* Merge topic 'autogen-rcc-zstd' into release-3.29Brad King2024-02-121-0/+21
|\ | | | | | | | | | | | | | | 9e87df4d46 Autogen/RCC: Disable zstd if it is not supported Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !9232
| * Autogen/RCC: Disable zstd if it is not supportedOrkun Tokdemir2024-02-091-0/+21
| | | | | | | | | | | | | | | | | | Add the `--no-zstd` argument for `RCC` when `QT_FEATURE_zstd` is `OFF`. This causes user project builds to fail. That bug is fixed in Qt by https://codereview.qt-project.org/c/qt/qtbase/+/537546 but for the older versions, fix it here too. Fixes: #25664
* | Merge branch 'backport-3.28-visionOS' into visionOSBrad King2024-02-091-8/+43
|\ \ | |/ |/|
| * visionOS: Update deployment-target flag for Xcode 15.1 betaBrad King2024-02-091-3/+36
| | | | | | | | | | | | | | | | Use the same flags Xcode adds for `XROS_DEPLOYMENT_TARGET`. They are `-target arm64-apple-xros1.0` and `-target arm64-apple-xros1.0-simulator`, where `1.0` is the deployment target version. Fixes: #25188
| * cmLocalGenerator: Avoid unnecessary lookup without a deployment targetBrad King2024-02-091-8/+10
| |
* | Merge topic 'libuv-1.48' into release-3.29Brad King2024-02-091-0/+5
|\ \ | |/ | | | | | | | | | | | | | | 077a1d5769 libuv: win/spawn: optionally run executable paths with no file extension f02ac51150 libuv: Revert "win/spawn: run executables with no file extension" 58a271e60b cmUVProcessChain: Implement no-extension-on-Windows support with libuv 1.48 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9238
| * libuv: win/spawn: optionally run executable paths with no file extensionBrad King2024-02-081-1/+3
| | | | | | | | | | | | | | | | Backport libuv commit `3f7191e5` (win/spawn: optionally run executable paths with no file extension, 2024-02-05, v1.48.0~8) to add the `UV_PROCESS_WINDOWS_FILE_PATH_EXACT_NAME` option we now use. Issue: #25450
| * cmUVProcessChain: Implement no-extension-on-Windows support with libuv 1.48Brad King2024-02-081-0/+3
| | | | | | | | | | Use the new `UV_PROCESS_WINDOWS_FILE_PATH_EXACT_NAME` option when building against libuv 1.48 or higher.
| * CMake 3.28.3v3.28.3Brad King2024-02-051-1/+1
| |
* | Merge topic 'doc-autogen' into release-3.29Brad King2024-02-081-9/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | ccaf529c4e Autogen: Update Documentation 16cc011fa5 cmQtAutoGenGlobalInitializer: Improve Const-correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9223
| * | cmQtAutoGenGlobalInitializer: Improve Const-correctnessOrkun Tokdemir2024-02-061-9/+11
| | |
* | | Begin 3.29 release versioningBrad King2024-02-061-3/+3
| | |
* | | CMake Nightly Date StampKitware Robot2024-02-061-1/+1
| | |
* | | Merge topic 'restore-pch-with-unity'Brad King2024-02-053-30/+13
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | 30829da506 Unity: Clarify source comments on unity build transformation 87bf1c6c33 Merge branch 'unity-after-compile-features' into restore-pch-with-unity df08c37a42 cmGlobalGenerator: Add unity/pch sources after computing compile features 004c3c3986 Tests: Add case covering PCH in a unity build Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9215
| * Unity: Clarify source comments on unity build transformationBrad King2024-02-022-1/+3
| |
| * Merge branch 'unity-after-compile-features' into restore-pch-with-unityBrad King2024-02-022-29/+10
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace commit 76b5383123 (cmGlobalGenerator: add unity sources after computing target compile features, 2024-01-01, v3.28.2~17^2~1) with an alternative change. This merge commit resolves conflicts such that future `git blame` calls will follow the second parent for the relevant lines and pretend the replaced commit never existed. Fixes: #25650
| | * cmGlobalGenerator: Add unity/pch sources after computing compile featuresBrad King2024-02-022-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sources that will be scanned for C++ module dependencies need to be excluded from unity builds. We need to compute compile features in order to know which sources will be scanned. Unity build and PCH sources can be added afterward without changing the compile features. This re-implements commit 76b5383123 (cmGlobalGenerator: add unity sources after computing target compile features, 2024-01-01, v3.28.2~17^2~1) using a simpler approach that also preserves support for PCH with Unity builds. Issue: #25650 Co-authored-by: Ben Boeckel <ben.boeckel@kitware.com>
| * | CMake 3.28.2v3.28.2Brad King2024-01-291-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2024-02-051-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2024-02-041-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2024-02-031-1/+1
| | |
* | | Merge topic 'msys-system-name'Brad King2024-02-021-9/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 607051f266 MSYS,CYGWIN: Hard-code host system names when built for these runtimes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Peter Kokot <peterkokot@gmail.com> Merge-request: !9213
| * | | MSYS,CYGWIN: Hard-code host system names when built for these runtimesBrad King2024-02-011-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CMake is built against the MSYS runtime library, `uname()` returns a name that depends on the `MSYSTEM` environment variable. Previously we truncated `MSYS_...` to just `MSYS`, but outside `MSYSTEM=MSYS` environments, names like `MINGW64_NT-10.0-22000` were reported. The latter causes CMake to report an unsupported-platform error, which users report as an issue when the real problem is that they should be using a `MSYSTEM=MSYS` environment or a CMake that is not built against the MSYS runtime. For our purposes, if CMake is built against the MSYS runtime, the host platform is always `MSYS`. Similarly for `CYGWIN`.
* | | | CMake Nightly Date StampKitware Robot2024-02-021-1/+1
|/ / /
* | | Merge topic 'add_custom_command-target-alias'Brad King2024-02-011-2/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3b07ec631d add_custom_command: Allow adding build event via ALIAS target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9201
| * | | add_custom_command: Allow adding build event via ALIAS targetChen Linxuan2024-02-011-2/+8
| | | | | | | | | | | | | | | | Signed-off-by: Chen Linxuan <me@black-desk.cn>
* | | | CMake Nightly Date StampKitware Robot2024-02-011-1/+1
| | | |
* | | | Merge topic 'xcode-pch-swift-cxx'Brad King2024-01-311-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77c4d2f9a2 Xcode: Fix PCH support with Swift & C++ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9203
| * | | | Xcode: Fix PCH support with Swift & C++Mikko Lehtonen2024-01-301-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Previously, when a mixed language target ends up with `Swift` as the `LINKER_LANGUAGE`, the PCH file was not set for the target at all. Fixes: #21224
* | | | CMake Nightly Date StampKitware Robot2024-01-311-1/+1
|/ / /
* | | CMake Nightly Date StampKitware Robot2024-01-301-1/+1
| | |
* | | Merge topic 'test-launcher-emulator-genex'Brad King2024-01-293-34/+51
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-293-15/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 topic 'autogen-makefile-depfile'Brad King2024-01-291-2/+11
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 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-281-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | |
| * | | Revert use of libuv for process execution for 3.28Brad King2024-01-2431-1221/+1186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wide use of CMake 3.28.{1,0[-rcN]} has uncovered some hangs and crashes in libuv SIGCHLD handling on some platforms, particularly in virtualization environments on macOS hosts. Although the bug does not seem to be in CMake, we can restore stability in the CMake 3.28 release series for users of such platforms by reverting our new uses of libuv for process execution. Revert implementation changes merged by commit 4771544386 (Merge topic 'replace-cmsysprocess-with-cmuvprocesschain', 2023-09-06, v3.28.0-rc1~138), but keep test suite updates. Issue: #25414, #25500, #25562, #25589
* | | | Merge topic 'productbuild-domains-policy'Brad King2024-01-291-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-281-1/+3
| | | | | | | | | | | | | | | | | | | | Fixes: #23351
* | | | | CMake Nightly Date StampKitware Robot2024-01-291-1/+1
| |_|/ / |/| | |
* | | | CMake Nightly Date StampKitware Robot2024-01-281-1/+1
| | | |
* | | | 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-266-0/+99
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-252-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-254-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-254-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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