summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | Merge branch 'libuv-win-process-no-extra-stdio'Brad King2024-05-221-0/+7
| |\ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / | | |/| | | | | | | |
| | * | | | | | | | | libuv: win/spawn: disable extra-file-descriptor support not needed by CMakeBrad King2024-05-221-0/+7
| | | |/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream libuv supports passing file descriptors >= 3 to child processes via `STARTUPINFOW` members reserved by the MSVC C run-time. However, some programs use `GetStartupInfoW` to initialize a `STARTUPINFOW` structure to pass to `CreateProcessW` without clearing the reserved members. If we launch such programs with non-zero values in the reserved members, the MSVC C run-time in *their* children may not correctly associate the stdin/stdout/stderr streams' file descriptors with the corresponding `HANDLE`s. Patch our copy of libuv to avoid using the reserved members. This restores `execute_process` support for the above-described programs as we had prior to commit 5420639a8d (cmExecuteProcessCommand: Replace cmsysProcess with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8). It also enables support for such programs when launched by `ctest`. Fixes: #25996 Fixes: #25889
* | | | | | | | | | Merge topic 'fetchcontent_policies_block'Craig Scott2024-05-281-3/+41
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a837f15ebf FetchContent: Set policies for most commands Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9551
| * | | | | | | | | | FetchContent: Set policies for most commandsCraig Scott2024-05-271-3/+41
| | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, FetchContent was relying on the policies of the includer being compatible with the module. That made the module vulnerable to subtle problems where policy settings might lead to unexpected behavior. With this change, we now specify the policies for as much of the module as we can without breaking backward compatibility. Only a few specific implementation details of the FetchContent_MakeAvailable() macro have to remain uncontrolled due to the way those parts can invoke user or project code which may be relying on the includer's policy settings (intentionally or not).
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-281-1/+1
| | | | | | | | | |
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-271-1/+1
| |_|_|_|_|_|_|/ / |/| | | | | | | |
* | | | | | | | | Merge topic 'cmp0168_fetchcontent_populate'Craig Scott2024-05-262-3/+43
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2efceb290e FetchContent: Make FetchContent_Populate() honor CMP0168 Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9550
| * | | | | | | | | FetchContent: Make FetchContent_Populate() honor CMP0168Craig Scott2024-05-252-3/+43
| |/ / / / / / / /
* | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-261-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-251-1/+1
|/ / / / / / / /
* | | | | | | | Merge branch 'release-3.29'Brad King2024-05-240-0/+0
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | |
| * | | | | | | Merge topic 'cuda-vs-17.10' into release-3.29Brad King2024-05-241-1/+1
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 69f26d8156 VS: Fix compiler identification of nvcc with unsupported host compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9546
* | | | | | | | Merge topic 'cuda-vs-17.10'Brad King2024-05-241-1/+1
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 69f26d8156 VS: Fix compiler identification of nvcc with unsupported host compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9546
| * | | | | | | VS: Fix compiler identification of nvcc with unsupported host compilerBrad King2024-05-231-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `nvcc` from CUDA < 12.4 does support the MSVC 14.40.17.10 toolset. Users may specify `CUDAFLAGS=-allow-unsupported-compiler` to bypass the check. However, we do not use arbitrary user-specified flags during compiler identification in the VS generator because escaping them for the `AdditionalOptions` of the `.vcxproj` file requires non-trivial logic that we currently only implement in the C++ generator code. Instead, just always pass `-allow-unsupported-compiler` during CUDA compiler identification in the VS generator. Fixes: #26003
* | | | | | | Merge topic 'doc-test-RunCMake'Brad King2024-05-242-30/+205
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0dbf2c24bf Tests/RunCMake: Document how to write multi-step test cases 61a08b0856 Tests/RunCMake: Document commands/variables available to RunCMakeTest scripts aebf6b8b29 Tests/RunCMake: Clarify documentation of platform-specific output matching c2f8a6729f Tests/RunCMake: Rename "sub-test" terminology to "case" 0add7a802f Tests/RunCMake: Organize README as multiple sections aff4dc47c4 Tests/RunCMake: Cross-reference README from main Tests/README Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9548
| * | | | | | | Tests/RunCMake: Document how to write multi-step test casesBrad King2024-05-231-0/+26
| | | | | | | |
| * | | | | | | Tests/RunCMake: Document commands/variables available to RunCMakeTest scriptsBrad King2024-05-231-8/+132
| | | | | | | |
| * | | | | | | Tests/RunCMake: Clarify documentation of platform-specific output matchingBrad King2024-05-231-5/+2
| | | | | | | |
| * | | | | | | Tests/RunCMake: Rename "sub-test" terminology to "case"Brad King2024-05-231-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've long used the latter term in commit messages and comments.
| * | | | | | | Tests/RunCMake: Organize README as multiple sectionsBrad King2024-05-231-1/+13
| | | | | | | |
| * | | | | | | Tests/RunCMake: Cross-reference README from main Tests/READMEBrad King2024-05-232-2/+18
| | | | | | | |
* | | | | | | | Merge topic 'genex-compiler-frontend-variant'Brad King2024-05-2415-17/+274
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af81b8667e GenEx: Add generator expr. for CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT 8a11a39c51 Help: Use correct programming language names in docs of generator expr. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9538
| * | | | | | | | GenEx: Add generator expr. for CMAKE_<LANG>_COMPILER_FRONTEND_VARIANTDeniz Bahadir2024-05-2215-7/+264
| | | | | | | | |
| * | | | | | | | Help: Use correct programming language names in docs of generator expr.Deniz Bahadir2024-05-221-10/+10
| | |_|_|_|_|/ / | |/| | | | | |
* | | | | | | | Merge topic 'qcc-ipo'Brad King2024-05-241-8/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95cac24867 QCC: Enable IPO support, inheriting from GNU Compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9545
| * | | | | | | | QCC: Enable IPO support, inheriting from GNU CompilerPablo Romero2024-05-231-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #26007
* | | | | | | | | Merge topic 'ninja-parallel'Brad King2024-05-2420-11/+157
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e5250e63c Ninja: Add option for parallel install daeb8fffa2 Help: Add Builtin Targets section to Ninja help Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9505
| * | | | | | | | | Ninja: Add option for parallel installMartin Duffy2024-05-2320-4/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the global property ``INSTALL_PARALLEL`` to enable a parallel install target for Ninja. Fixes: #25459
| * | | | | | | | | Help: Add Builtin Targets section to Ninja helpMartin Duffy2024-05-221-7/+22
| | | | | | | | | |
* | | | | | | | | | Merge topic 'add-test-macro-doc'Brad King2024-05-241-2/+10
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 190cdce7d5 Tests: Improve documentation of ADD_TEST_MACRO Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9542
| * | | | | | | | | | Tests: Improve documentation of ADD_TEST_MACRODave Abrahams2024-05-231-2/+10
| | |_|/ / / / / / / | |/| | | | | | | |
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-241-1/+1
| |_|_|/ / / / / / |/| | | | | | | |
* | | | | | | | | Merge topic 'adsp-asm-support'Brad King2024-05-231-3/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23c91b55d6 ADSP: Treat .s files as asm sources 43b5e88fe6 ADSP: Preserve ASM output ext and flags as we do for C and CXX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9530
| * | | | | | | | | ADSP: Treat .s files as asm sourcesRupert Clarke2024-05-211-1/+1
| | | | | | | | | |
| * | | | | | | | | ADSP: Preserve ASM output ext and flags as we do for C and CXXRupert Clarke2024-05-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise commit 0e828b92f1 (ADSP: Add support for assembler, 2023-10-12, v3.29.0-rc1~568^2).
* | | | | | | | | | Merge topic 'ohos'Brad King2024-05-231-0/+2
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93a1a17d4c OHOS: Add support for OpenHarmony OS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9540
| * | | | | | | | | OHOS: Add support for OpenHarmony OSJonathan Schwender2024-05-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #25987
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-231-1/+1
| |_|/ / / / / / / |/| | | | | | | |
* | | | | | | | | Merge topic 'readme-build-with-cmake-first'Brad King2024-05-221-18/+18
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b46c5f2af8 README: Document non-bootstrap build instructions first Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9539
| * | | | | | | | | README: Document non-bootstrap build instructions firstDave Abrahams2024-05-221-18/+18
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They are preferred in the now-common case that `cmake` is already available.
* | | | | | | | | Merge topic 'test-CMAKE_Swift_MODULE_DIRECTORY'Brad King2024-05-221-0/+11
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | acfcce7e1b Swift: test that CMAKE_Swift_MODULE_DIRECTORY is respected. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9524
| * | | | | | | | | Swift: test that CMAKE_Swift_MODULE_DIRECTORY is respected.Dave Abrahams2024-05-161-0/+11
| | | | | | | | | |
* | | | | | | | | | Merge topic 'custom-transitive-properties'Brad King2024-05-2239-93/+1020
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c16acd35b3 GenEx: Add support for custom transitive link properties b9ee79b8a1 GenEx: Add support for custom transitive compile properties 633afa0b2e cmGeneratorExpressionDAGChecker: Make config name available in constructor e64d09a729 cmGeneratorTarget: Add GetLinkImplementationClosure mode for linking a11cbcc268 cmGeneratorTarget: Add TransitiveProperty constructor to help some compilers af59289904 Help: Format TARGET_PROPERTY special evaluation rules as a definition list Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !9516
| * | | | | | | | | GenEx: Add support for custom transitive link propertiesBrad King2024-05-2116-7/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the `$<TARGET_PROPERTY:...>` generator expression to check for a new `TRANSITIVE_LINK_PROPERTIES` property in the target's link closure to enable transitive evaluation of named properties through the link closure, including entries guarded by `$<LINK_ONLY:...>`. Fixes: #20416
| * | | | | | | | | GenEx: Add support for custom transitive compile propertiesBrad King2024-05-2127-10/+643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the `$<TARGET_PROPERTY:...>` generator expression to check for a new `TRANSITIVE_COMPILE_PROPERTIES` property in the target's link closure to enable transitive evaluation of named properties through the link closure, excluding entries guarded by `$<LINK_ONLY:...>`. Issue: #20416
| * | | | | | | | | cmGeneratorExpressionDAGChecker: Make config name available in constructorBrad King2024-05-2115-54/+70
| | | | | | | | | |
| * | | | | | | | | cmGeneratorTarget: Add GetLinkImplementationClosure mode for linkingBrad King2024-05-214-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this method always returned the closure for compile-only usage requirements. Add an option to get the closure for linking, which pierces `$<LINK_ONLY>`.
| * | | | | | | | | cmGeneratorTarget: Add TransitiveProperty constructor to help some compilersBrad King2024-05-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some compilers have trouble initializing TransitiveProperty as a parent class using an initializer list unless there is an explicit constructor: * SunPro fails to compile * XLClang seems to miscompile, exhibiting strange runtime behavior
| * | | | | | | | | Help: Format TARGET_PROPERTY special evaluation rules as a definition listBrad King2024-05-211-16/+18
| | | | | | | | | |
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-221-1/+1
|/ / / / / / / / /