summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | Merge topic 'split-cmGeneratorTarget'Brad King2024-05-2114-4309/+4649
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09c74c6d0c cmGeneratorTarget: Factor transitive property methods into own source feaca40931 cmGeneratorTarget: Factor link interface/impl methods into own source b4924c562a cmGeneratorTarget: Factor compatible interface properties into own source cdd7112a5d cmGeneratorTarget: Factor options-like usage requirements into own source 881a46819e cmGeneratorTarget: Factor LINK_DIRECTORIES impl into own source 0a3c97308d cmGeneratorTarget: Factor INCLUDE_DIRECTORIES impl into own source 7ffb92022c cmGeneratorTarget: Factor SOURCES impl into own source d0fc932528 cmGeneratorTarget: Factor TargetPropertyEntry into own source ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9536
| * | | | | | | | | cmGeneratorTarget: Factor transitive property methods into own sourceBrad King2024-05-204-181/+210
| | | | | | | | | |
| * | | | | | | | | cmGeneratorTarget: Factor link interface/impl methods into own sourceBrad King2024-05-205-1441/+1493
| | | | | | | | | |
| * | | | | | | | | cmGeneratorTarget: Factor compatible interface properties into own sourceBrad King2024-05-204-708/+739
| | | | | | | | | |
| * | | | | | | | | cmGeneratorTarget: Factor options-like usage requirements into own sourceBrad King2024-05-204-624/+659
| | | | | | | | | |
| * | | | | | | | | cmGeneratorTarget: Factor LINK_DIRECTORIES impl into own sourceBrad King2024-05-204-125/+156
| | | | | | | | | |
| * | | | | | | | | cmGeneratorTarget: Factor INCLUDE_DIRECTORIES impl into own sourceBrad King2024-05-204-302/+336
| | | | | | | | | |
| * | | | | | | | | cmGeneratorTarget: Factor SOURCES impl into own sourceBrad King2024-05-204-515/+562
| | | | | | | | | |
| * | | | | | | | | cmGeneratorTarget: Factor TargetPropertyEntry into own sourceBrad King2024-05-204-167/+191
| | | | | | | | | |
| * | | | | | | | | cmGeneratorTarget: Move TargetPropertyEntry creation method to headerBrad King2024-05-202-19/+34
| | | | | | | | | |
| * | | | | | | | | cmTargetTraceDependencies: Factor out of cmGeneratorTargetBrad King2024-05-205-247/+289
| | | | | | | | | |
* | | | | | | | | | Merge topic 'test-race-aix'Brad King2024-05-211-0/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ced5932cf Tests/RunCMake/CompileFeatures: Avoid intermittent failures on AIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9537
| * | | | | | | | | | Tests/RunCMake/CompileFeatures: Avoid intermittent failures on AIXBrad King2024-05-211-0/+1
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply the fix from commit b3245f33ef (Tests/RunCMake/install: Avoid intermittent failures on AIX, 2024-05-10) to `RunCMake.CompileFeatures` too.
* | | | | | | | | | Merge topic 'test-ninja-explain'Brad King2024-05-211-1/+0
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c46faaee4f Tests/RunCMake/Swift: Update for ninja post-1.12 development Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9535
| * | | | | | | | | | Tests/RunCMake/Swift: Update for ninja post-1.12 developmentBrad King2024-05-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream ninja commit `8e6c741a4b` ("explain" debug prints just before each command is run, 2022-01-06) changed the `ninja -d explain` output for our test case. The `IncrementalSwift-second` case primarily needs to match stdout, so update our stderr expectation to work for either form of ninja's output.
* | | | | | | | | | | Merge topic 'doc-macro'Brad King2024-05-211-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 67171a99be Help: Fix inaccurate use of "function" in macro docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Juan Ramos <juan.ramos@kitware.com> Merge-request: !9534
| * | | | | | | | | | | Help: Fix inaccurate use of "function" in macro docsDave Abrahams2024-05-211-1/+1
| | |_|_|/ / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-211-1/+1
| |_|/ / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge topic 'typo-fix-issue'Brad King2024-05-201-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ea544235e5 Tutorial: Fix grammar typo in Step 11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9529
| * | | | | | | | | | Tutorial: Fix grammar typo in Step 11FrankYin2024-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix and improve wording in the "Adding Export Configuration" step.
* | | | | | | | | | | Merge topic 'cmp0097-fetchcontent'Brad King2024-05-201-3/+12
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eda17e76e2 Help: Document that CMP0097 is always NEW for FetchContent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9527
| * | | | | | | | | | Help: Document that CMP0097 is always NEW for FetchContentCraig Scott2024-05-171-3/+12
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25971
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-201-1/+1
| | | | | | | | | |
* | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-191-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge topic 'fetchcontent-direct'Craig Scott2024-05-1833-1615/+2308
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7bf15e49a8 ExternalProject: Fix misleading git update output b2496bf14c FetchContent: Populate directly without a sub-build 173daad58d ExternalProject: Move more internal commands out of main file 462e583267 ExternalProject: Switch download, update and patch to use _EP_ vars 0ccc8e340d ExternalProject: Provide ExternalProject_Add keywords through a macro 91e1015722 ExternalProject: Don't treat YES as a keyword a1743ce1ef ExternalProject: Fix minor formatting error Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9513
| * | | | | | | | | | ExternalProject: Fix misleading git update outputCraig Scott2024-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When re-running the build with the git download method, and where GIT_TAG is set to a tag name that we already have locally from the first run, the second run will skip the update step if it is already at the requested tag. The message in this case was previously printing the commit hash instead of the tag name, which was wrong. This wasn't noticed before because that output wasn't usually shown, but we now do show that message after making message output log levels more consistent between the steps.
| * | | | | | | | | | FetchContent: Populate directly without a sub-buildCraig Scott2024-05-1725-96/+761
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21703
| * | | | | | | | | | ExternalProject: Move more internal commands out of main fileCraig Scott2024-05-139-1528/+1551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commands moved to shared_internal_commands.cmake will soon be used directly by FetchContent, which cannot always include the full ExternalProject.cmake file (e.g. it may be used in CMake script mode). Issue: #21703
| * | | | | | | | | | ExternalProject: Switch download, update and patch to use _EP_ varsCraig Scott2024-05-131-186/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This refactoring prepares for the download, update, and patch steps being called directly from FetchContent instead of always being in a sub-build. When there is no sub-build, there will be no targets to read properties from. This commit moves the information to _EP_... variables, which will always be readable. Issue: #21703
| * | | | | | | | | | ExternalProject: Provide ExternalProject_Add keywords through a macroCraig Scott2024-05-121-49/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows things outside of ExternalProject to have access to the list of supported keywords. This will be used by FetchContent in an upcoming change. Issue: #21703
| * | | | | | | | | | ExternalProject: Don't treat YES as a keywordCraig Scott2024-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ultimately won't change behavior, since YES should never be listed in the "keywords" argument. The original code looks like a bug though, since YES satisfies the criteria for being interpreted as a keyword, and there is logic to short-circuit on TRUE and FALSE. Add YES to that condition to avoid any potential confusion.
| * | | | | | | | | | ExternalProject: Fix minor formatting errorCraig Scott2024-05-121-1/+2
| | | | | | | | | | |
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-181-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'release-3.29'Brad King2024-05-170-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge branch 'release-3.28' into release-3.29Brad King2024-05-170-0/+0
| |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / / | | |/| | | | | | | |
* | | | | | | | | | | Merge branch 'release-3.28'Brad King2024-05-170-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge topic 'cxxmodules-gcc-binary-mode' into release-3.28Brad King2024-05-173-1/+29
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e2f31ec23 cmCxxModuleMapper: add a query for the open mode for the modmap Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9525
* | \ \ \ \ \ \ \ \ \ \ Merge branch 'release-3.29'Brad King2024-05-170-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Merge topic 'cxxmodules-gcc-binary-mode' into release-3.29Brad King2024-05-173-1/+29
| |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e2f31ec23 cmCxxModuleMapper: add a query for the open mode for the modmap Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9525
* | | | | | | | | | | | Merge topic 'cxxmodules-gcc-binary-mode'Brad King2024-05-173-1/+29
|\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e2f31ec23 cmCxxModuleMapper: add a query for the open mode for the modmap Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9525
| * | | | | | | | | | | cmCxxModuleMapper: add a query for the open mode for the modmapBen Boeckel2024-05-163-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC (MinGW) wants to use `\n` on Windows too. Fixes: #25974
* | | | | | | | | | | | Merge topic 'cleanup-custom-command-code'Brad King2024-05-171-6/+11
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f9028379f7 cmAddCustomCommandCommand: Move SOURCE signature error messages Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9523
| * | | | | | | | | | | | cmAddCustomCommandCommand: Move SOURCE signature error messagesJuan Ramos2024-05-161-6/+11
| | |_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Helps readability of the code. All the SOURCE signature code is in the else statement.
* | | | | | | | | | | | Merge topic 'lang-platform-flags'Brad King2024-05-178-475/+116
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0b24c94676 Modules: Fix per-language fallback to platform-specific shared module C flags ae1d5ef47f Modules: Initialize per-language platform-specific flag variables consistently Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9526
| * | | | | | | | | | | | Modules: Fix per-language fallback to platform-specific shared module C flagsBrad King2024-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On platforms that semantically distinguish loadable modules (plugins) from shared libraries, such as macOS and CYGWIN, fix the per-language fall back to create them the same way as with the C toolchain even when the C language has not been enabled.
| * | | | | | | | | | | | Modules: Initialize per-language platform-specific flag variables consistentlyBrad King2024-05-168-475/+116
| | |_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `Platform/<OS>.cmake` modules record platform-specific flag variables for the C toolchain. The `CMake<LANG>Information` modules initialize the per-language platform-specific flag variables to defaults copied from C. However, they have diverged over time, and not all platform-specific flag variables are initialized correctly for all languages. Factor out the CXX language's instance of this logic into a helper macro, and reuse it for all languages for which we previously had the platform-specific flag variables at least partially filled out. Previously the Fortran language's copy of this logic used `if(NOT DEFINED <var>)` instead of just `if(NOT <var>)` to allow `Platform/<OS>-<COMPILER_ID>-<LANG>` modules to specify empty values for some platform-specific flag variables without being overridden. Use this approach in the helper macro so it applies to all languages. Fixes: #25990
* | | | | | | | | | | | Merge topic 'ewilde/swift-static-try-compile'Brad King2024-05-173-1/+19
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c6e52ef7f2 Swift: Support static-library try-compile type Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9520
| * | | | | | | | | | | Swift: Support static-library try-compile typeEvan Wilde2024-05-153-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Top-level code only works as part of executables, which breaks when `CMAKE_TRY_COMPILE_TARGET_TYPE` is set to `STATIC_LIBRARY`. This patch fixes the test to something agnostic between executables and libraries while still verifying that we can import types from the standard library. Fixes: #25984
* | | | | | | | | | | | CMake Nightly Date StampKitware Robot2024-05-171-1/+1
| |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge topic 'LINK_LIBRARY-Feature-properties'Brad King2024-05-1643-41/+452
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e5e7968c3 GenEx $<LINK_LIBRARY>: Add the support of properties attached to features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9510