Commit Graph

66194 Commits

Author SHA1 Message Date
Brad King 1f8bcd0a7c Merge topic 'adsp-asm-support'
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
2024-05-23 08:28:47 -04:00
Brad King 44133f86b7 Merge topic 'ohos'
93a1a17d4c OHOS: Add support for OpenHarmony OS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9540
2024-05-23 08:28:02 -04:00
Kitware Robot f0074159d7 CMake Nightly Date Stamp 2024-05-23 00:01:10 -04:00
Brad King 50252733c4 Merge topic 'readme-build-with-cmake-first'
b46c5f2af8 README: Document non-bootstrap build instructions first

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9539
2024-05-22 09:40:53 -04:00
Dave Abrahams b46c5f2af8 README: Document non-bootstrap build instructions first
They are preferred in the now-common case that `cmake` is already
available.
2024-05-22 09:39:19 -04:00
Brad King ef5e806f3f Merge topic 'test-CMAKE_Swift_MODULE_DIRECTORY'
acfcce7e1b Swift: test that CMAKE_Swift_MODULE_DIRECTORY is respected.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9524
2024-05-22 09:26:22 -04:00
Brad King c8c1e1a9ca Merge topic 'custom-transitive-properties'
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
2024-05-22 09:20:51 -04:00
Jonathan Schwender 93a1a17d4c OHOS: Add support for OpenHarmony OS
Closes #25987
2024-05-22 09:45:55 +02:00
Kitware Robot 78a2bef26b CMake Nightly Date Stamp 2024-05-22 00:01:18 -04:00
Rupert Clarke 23c91b55d6 ADSP: Treat .s files as asm sources 2024-05-21 10:16:11 -04:00
Rupert Clarke 43b5e88fe6 ADSP: Preserve ASM output ext and flags as we do for C and CXX
Revise commit 0e828b92f1 (ADSP: Add support for assembler, 2023-10-12,
v3.29.0-rc1~568^2).
2024-05-21 10:15:48 -04:00
Brad King c16acd35b3 GenEx: Add support for custom transitive link properties
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
2024-05-21 09:22:52 -04:00
Brad King b9ee79b8a1 GenEx: Add support for custom transitive compile properties
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
2024-05-21 09:22:51 -04:00
Brad King 633afa0b2e cmGeneratorExpressionDAGChecker: Make config name available in constructor 2024-05-21 09:22:51 -04:00
Brad King e64d09a729 cmGeneratorTarget: Add GetLinkImplementationClosure mode for linking
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>`.
2024-05-21 09:22:51 -04:00
Brad King a11cbcc268 cmGeneratorTarget: Add TransitiveProperty constructor to help some compilers
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
2024-05-21 09:22:51 -04:00
Brad King af59289904 Help: Format TARGET_PROPERTY special evaluation rules as a definition list 2024-05-21 09:22:51 -04:00
Brad King 886b07a41c Merge topic 'split-cmGeneratorTarget'
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
2024-05-21 09:21:38 -04:00
Brad King 85e9025f80 Merge topic 'test-race-aix'
9ced5932cf Tests/RunCMake/CompileFeatures: Avoid intermittent failures on AIX

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9537
2024-05-21 09:20:29 -04:00
Brad King 6c08be8ea5 Merge topic 'test-ninja-explain'
c46faaee4f Tests/RunCMake/Swift: Update for ninja post-1.12 development

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9535
2024-05-21 09:19:45 -04:00
Brad King 645ca62b1b Merge topic 'doc-macro'
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
2024-05-21 09:17:17 -04:00
Dave Abrahams 67171a99be Help: Fix inaccurate use of "function" in macro docs 2024-05-21 09:13:57 -04:00
Kitware Robot 0bfffb0c98 CMake Nightly Date Stamp 2024-05-21 00:01:18 -04:00
Brad King 9ced5932cf Tests/RunCMake/CompileFeatures: Avoid intermittent failures on AIX
Apply the fix from commit b3245f33ef (Tests/RunCMake/install: Avoid
intermittent failures on AIX, 2024-05-10) to `RunCMake.CompileFeatures`
too.
2024-05-20 20:11:19 -04:00
Brad King 09c74c6d0c cmGeneratorTarget: Factor transitive property methods into own source 2024-05-20 19:29:15 -04:00
Brad King feaca40931 cmGeneratorTarget: Factor link interface/impl methods into own source 2024-05-20 19:28:06 -04:00
Brad King b4924c562a cmGeneratorTarget: Factor compatible interface properties into own source 2024-05-20 19:26:05 -04:00
Brad King cdd7112a5d cmGeneratorTarget: Factor options-like usage requirements into own source 2024-05-20 19:24:48 -04:00
Brad King 881a46819e cmGeneratorTarget: Factor LINK_DIRECTORIES impl into own source 2024-05-20 19:23:13 -04:00
Brad King 0a3c97308d cmGeneratorTarget: Factor INCLUDE_DIRECTORIES impl into own source 2024-05-20 19:21:45 -04:00
Brad King 7ffb92022c cmGeneratorTarget: Factor SOURCES impl into own source 2024-05-20 19:20:21 -04:00
Brad King d0fc932528 cmGeneratorTarget: Factor TargetPropertyEntry into own source 2024-05-20 19:16:57 -04:00
Brad King abf60adfa6 cmGeneratorTarget: Move TargetPropertyEntry creation method to header 2024-05-20 19:12:53 -04:00
Brad King ed983b1a5d cmTargetTraceDependencies: Factor out of cmGeneratorTarget 2024-05-20 19:12:19 -04:00
Brad King ba5a1be70a Merge topic 'typo-fix-issue'
ea544235e5 Tutorial: Fix grammar typo in Step 11

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9529
2024-05-20 19:05:35 -04:00
Brad King f9b85f331e Merge topic 'cmp0097-fetchcontent'
eda17e76e2 Help: Document that CMP0097 is always NEW for FetchContent

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9527
2024-05-20 19:04:42 -04:00
Brad King c46faaee4f Tests/RunCMake/Swift: Update for ninja post-1.12 development
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.
2024-05-20 18:53:14 -04:00
Kitware Robot 506d1752de CMake Nightly Date Stamp 2024-05-20 00:03:54 -04:00
Kitware Robot 10a50f58e9 CMake Nightly Date Stamp 2024-05-19 00:01:11 -04:00
Craig Scott 2d653179dc Merge topic 'fetchcontent-direct'
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
2024-05-18 05:05:03 -04:00
Kitware Robot ff12b19786 CMake Nightly Date Stamp 2024-05-18 00:01:15 -04:00
FrankYin ea544235e5 Tutorial: Fix grammar typo in Step 11
Fix and improve wording in the "Adding Export Configuration" step.
2024-05-17 11:25:39 -04:00
Brad King bd79ab9e0c Merge branch 'release-3.29' 2024-05-17 11:17:05 -04:00
Brad King 123f1b7f23 Merge branch 'release-3.28' 2024-05-17 11:17:01 -04:00
Brad King cbe26bdeda Merge branch 'release-3.28' into release-3.29 2024-05-17 11:16:54 -04:00
Brad King 321884dfec Merge branch 'release-3.29' 2024-05-17 11:16:18 -04:00
Brad King 76fa2e8f13 Merge topic 'cxxmodules-gcc-binary-mode'
9e2f31ec23 cmCxxModuleMapper: add a query for the open mode for the modmap

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9525
2024-05-17 11:16:18 -04:00
Brad King ea44e63a7c Merge topic 'cxxmodules-gcc-binary-mode' into release-3.29
9e2f31ec23 cmCxxModuleMapper: add a query for the open mode for the modmap

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9525
2024-05-17 11:16:16 -04:00
Brad King 32a8d5a4ac Merge topic 'cxxmodules-gcc-binary-mode' into release-3.28
9e2f31ec23 cmCxxModuleMapper: add a query for the open mode for the modmap

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9525
2024-05-17 11:15:38 -04:00
Brad King 42e8237f35 Merge topic 'cleanup-custom-command-code'
f9028379f7 cmAddCustomCommandCommand: Move SOURCE signature error messages

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9523
2024-05-17 11:14:10 -04:00