Brad King
a621340e03
Merge topic 'cxxmodules-nmc-duplicate-synthetic-targets'
...
5261af9424 cmGeneratorTarget: store synthetic targets in its cache
e0633a9517 Tests/CXXModules: add a test importing from a `Ninja` install
150d7dbd68 Tests/CXXModules: support building a project with `Ninja`
e48e5e5506 Tests/CXXModules: document `CMake_TEST_MODULE_COMPILATION` items
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9263
2024-02-19 09:23:22 -05:00
Kitware Robot
be67b4baf2
CMake Nightly Date Stamp
2024-02-19 00:02:02 -05:00
Kitware Robot
e75afeae5c
CMake Nightly Date Stamp
2024-02-18 00:01:11 -05:00
Kitware Robot
eb7b504471
CMake Nightly Date Stamp
2024-02-17 00:01:20 -05:00
Ben Boeckel
5261af9424
cmGeneratorTarget: store synthetic targets in its cache
...
The synthetic target cache was never actually updated, so record them in
the cache so that reuses can actually be discovered.
Fixes : #25568
2024-02-16 11:09:56 -05:00
Brad King
c404c6fa7e
Merge topic 'generate-buildable-product-runnable-for-profile-action'
...
021492038e Xcode: Generate BuildableProductRunnable for ProfileAction
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9155
2024-02-16 09:54:43 -05:00
Brad King
b1126ce2d9
Merge topic 'update-kwsys'
...
c845da5dfb Merge branch 'upstream-KWSys' into update-kwsys
e34aa12e66 KWSys 2024-02-15 (aad06964)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9260
2024-02-16 09:52:28 -05:00
Brad King
7d1356517d
Merge topic 'cxxmodules-dyndep-error-on-private-usage'
...
3f8a59a05c cxxmodules: return failure from the collator when private usage is found
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9257
2024-02-16 09:41:27 -05:00
Brad King
fb0988a276
Merge topic 'cxxmodules-dyndep-error-on-private-usage' into release-3.28
...
3f8a59a05c cxxmodules: return failure from the collator when private usage is found
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9257
2024-02-16 09:40:07 -05:00
Brad King
d6c81c085c
Merge topic 'cxxmodules-collation-restat'
...
a7424b636b Ninja: make the collator rule use `restat = 1`
e24eecfc33 Tests/CXXModules: add a test to ensure that `restat` works for collation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9259
2024-02-16 09:32:16 -05:00
Brad King
d713896171
Merge topic 'cxxmodules-collation-restat' into release-3.28
...
a7424b636b Ninja: make the collator rule use `restat = 1`
e24eecfc33 Tests/CXXModules: add a test to ensure that `restat` works for collation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9259
2024-02-16 09:30:50 -05:00
Brad King
4c4951efa8
Merge topic 'cxxmodules-visibility-change-rebuild'
...
60a8736378 cmNinjaTargetGenerator: scanning depends on the module metadata
52036ce090 Tests/CXXModules: test that objects depend on dependent modules json files
9a45c9fbd5 cmNinjaTargetGenerator: use `emplace_back` for scanning deps
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9247
2024-02-16 09:26:50 -05:00
Brad King
d8fd8c2cb1
Merge topic 'cxxmodules-visibility-change-rebuild' into release-3.28
...
60a8736378 cmNinjaTargetGenerator: scanning depends on the module metadata
52036ce090 Tests/CXXModules: test that objects depend on dependent modules json files
9a45c9fbd5 cmNinjaTargetGenerator: use `emplace_back` for scanning deps
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9247
2024-02-16 09:22:32 -05:00
Brad King
f8eaf22182
Merge topic 'cxxmodules-depend-on-modmap-file'
...
363300ace5 cxxmodules: depend on the modmap contents
940628d48d Tests/CXXModules: test that objects depend on their modmap files
681ee92030 Tests/CXXModules: support testing rebuild conditions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9248
2024-02-16 09:20:54 -05:00
Brad King
2808c49d82
Merge topic 'cxxmodules-depend-on-modmap-file' into release-3.28
...
363300ace5 cxxmodules: depend on the modmap contents
940628d48d Tests/CXXModules: test that objects depend on their modmap files
681ee92030 Tests/CXXModules: support testing rebuild conditions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9248
2024-02-16 09:20:09 -05:00
Kitware Robot
93da029fbf
CMake Nightly Date Stamp
2024-02-16 00:01:09 -05:00
Brad King
145d88c612
Merge topic 'cmake-language-exit-code'
...
86698eea85 cmake_language: Fix EXIT inside control flow blocks
a3033d1a06 Tests: Remove unnecessary RunCMake.cmake_language expected result files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !9250
2024-02-15 12:57:57 -05:00
Brad King
c8da7b0f5c
Merge topic 'cxxmodules-collapse-source-paths' into release-3.28
...
0f0d853de7 cmDyndepCollation: collapse full path before looking up
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9249
2024-02-15 12:55:28 -05:00
Brad King
e1e384c999
Merge topic 'cxxmodules-collapse-source-paths'
...
0f0d853de7 cmDyndepCollation: collapse full path before looking up
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9249
2024-02-15 12:54:41 -05:00
Brad King
e9d88df971
Merge topic 'genex-quote'
...
879690ba14 GeneratorExpression: Add $<QUOTE> generator expression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9242
2024-02-15 12:46:50 -05:00
Brad King
12160f2a16
Merge topic 'cppcheck-fixes'
...
c934a881e7 Reduce scope of variable
01c22dfaee Range-for loop with const reference
3850def5e6 Use prefix ++ operators for non-primitive types
95a9494974 Remove unused variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9254
2024-02-15 12:43:20 -05:00
Tor Arne Vestbø
021492038e
Xcode: Generate BuildableProductRunnable for ProfileAction
...
Similarly to the LaunchAction we need to associate a runnable
executable with the launch action.
2024-02-15 16:37:07 +01:00
Brad King
c845da5dfb
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2024-02-15 (aad06964)
2024-02-15 08:37:03 -05:00
Kitware Robot
4838861883
CMake Nightly Date Stamp
2024-02-15 00:01:15 -05:00
Ben Boeckel
a7424b636b
Ninja: make the collator rule use restat = 1
...
This avoids rebuilds when the module metadata does not change.
2024-02-14 23:01:25 -05:00
Ben Boeckel
60a8736378
cmNinjaTargetGenerator: scanning depends on the module metadata
...
Fixes : #25531
2024-02-14 22:36:37 -05:00
Ben Boeckel
9a45c9fbd5
cmNinjaTargetGenerator: use emplace_back for scanning deps
2024-02-14 20:38:06 -05:00
Ben Boeckel
363300ace5
cxxmodules: depend on the modmap contents
...
If the modmap changes, we need to recompile. It is not just a file that
needs to exist to compile.
Fixes : #25511
2024-02-14 20:36:47 -05:00
Ben Boeckel
3f8a59a05c
cxxmodules: return failure from the collator when private usage is found
2024-02-14 20:26:59 -05:00
Christoph Grüninger
c934a881e7
Reduce scope of variable
...
Found by Cppcheck (variableScope)
2024-02-14 20:46:03 +01:00
Christoph Grüninger
3850def5e6
Use prefix ++ operators for non-primitive types
...
Prevent unnecessary calls to copy constructor
Found by Cppcheck (postfixOperator)
2024-02-14 20:46:02 +01:00
Christoph Grüninger
95a9494974
Remove unused variable
...
Found by Cppcheck.
2024-02-14 20:46:02 +01:00
Robert Maynard
879690ba14
GeneratorExpression: Add $<QUOTE> generator expression
...
Support inserting '"' literals in generator expressions
Fixes #20869
2024-02-14 14:23:18 -05:00
Ben Boeckel
0f0d853de7
cmDyndepCollation: collapse full path before looking up
...
`cmSourceFile::GetFullPath()` performs a `CollapseFullPath` before
storing the path. Match this behavior when looking up paths from the
source file set constructions.
Fixes : #25614
2024-02-14 11:51:05 -05:00
Brad King
86698eea85
cmake_language: Fix EXIT inside control flow blocks
...
These were missed in commit 1bb1769235 (cmake_language: Add EXIT
subcommand, 2024-01-05, v3.29.0-rc1~112^2).
Fixes : #25674
2024-02-14 08:51:48 -05:00
Kitware Robot
d6f32880c6
CMake Nightly Date Stamp
2024-02-14 00:01:36 -05:00
Brad King
105cb4ee02
CMake 3.29.0-rc1
2024-02-13 09:07:34 -05:00
Kitware Robot
90c285e801
CMake Nightly Date Stamp
2024-02-13 00:01:23 -05:00
Brad King
8a6a36748e
Merge topic 'autogen-rcc-zstd'
...
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
2024-02-12 10:51:12 -05:00
Brad King
f3acc9b1ce
Merge topic 'autogen-rcc-zstd' into release-3.29
...
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
2024-02-12 10:51:11 -05:00
Brad King
361e5fd441
Merge topic 'visionOS'
...
5b5acb557a Tests: Enable RunCMake.CMakePackage visionOS cases with Xcode 15.2
871a4c5aac Merge branch 'backport-3.28-visionOS' into visionOS
22eb1b6d67 Tests: Enable visionOS tests with Xcode 15.2
f6fa34839c Tests: Update RunCMake.XcodeProject-Device for visionOS in Xcode 15.1 beta
40be88a92e visionOS: Update deployment-target flag for Xcode 15.1 beta
3ece4553c2 cmLocalGenerator: Avoid unnecessary lookup without a deployment target
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Volodymyr B. <v.boichentsov@elsevier.com >
Merge-request: !9239
2024-02-12 10:45:33 -05:00
Kitware Robot
55d1de4240
CMake Nightly Date Stamp
2024-02-12 00:02:00 -05:00
Kitware Robot
014e4fa884
CMake Nightly Date Stamp
2024-02-11 00:01:08 -05:00
Kitware Robot
6c31c787c3
CMake Nightly Date Stamp
2024-02-10 00:01:20 -05:00
Brad King
871a4c5aac
Merge branch 'backport-3.28-visionOS' into visionOS
2024-02-09 11:37:11 -05:00
Brad King
40be88a92e
visionOS: Update deployment-target flag for Xcode 15.1 beta
...
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
2024-02-09 11:32:13 -05:00
Brad King
3ece4553c2
cmLocalGenerator: Avoid unnecessary lookup without a deployment target
2024-02-09 11:32:13 -05:00
Orkun Tokdemir
9e87df4d46
Autogen/RCC: Disable zstd if it is not supported
...
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
2024-02-09 09:10:41 -05:00
Brad King
0345c01465
Merge topic 'ctest-resource-allocation-spec-error'
...
b9bfd411cb CTest: Throw error if resource spec is invalid
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9230
2024-02-09 09:07:09 -05:00
Brad King
a67d9b5c07
Merge topic 'libuv-1.48'
...
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
2024-02-09 08:58:46 -05:00