Brad King
c6d69d84db
Merge topic 'file-strings-regex-match'
...
fa00928bcd file: `STRINGS` + `REGEX` store match results
ff0085cf74 Help: Drop incorrect versionadded mark from CMAKE_MATCH_<n>
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9124
2024-01-11 10:07:48 -05:00
Brad King
446abdf324
Merge topic 'cxxmodules-no-unity'
...
63bbb3768d cmLocalGenerator: ignore scanned sources for unity builds
76b5383123 cmGlobalGenerator: add unity sources after computing target compile features
7fc2a83fe6 Tests/CXXModules: add a test with unity build support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9118
2024-01-10 10:15:46 -05:00
Cristian Le
fa00928bcd
file: STRINGS + REGEX store match results
...
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de >
2024-01-09 16:36:55 -05:00
Brad King
ff0085cf74
Help: Drop incorrect versionadded mark from CMAKE_MATCH_<n>
...
It was added by commit 496ec6036f (Help: Add Sphinx 'versionadded'
directives to each top-level document, 2020-07-06, v3.19.0-rc1~558^2)
because the document happened to be added during the 3.9 release series,
but the variable has existed since the beginning.
2024-01-09 16:31:53 -05:00
Brad King
38234058ff
Merge topic 'ctest-cli-http-headers'
...
20adf8cfce ctest: allow HTTP headers via command line
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9123
2024-01-09 10:54:54 -05:00
Brad King
60175f073c
Merge topic 'doc-INSTALL_PREFIX'
...
925f9f18dd Help: INSTALL_PREFIX in install(CODE|SCRIPT) was added in CMake 3.27
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Acked-by: Frank Dana <ferdnyc@gmail.com >
Merge-request: !9135
2024-01-09 10:51:29 -05:00
Matthew Woehlke
20adf8cfce
ctest: allow HTTP headers via command line
...
Add ability to specify HTTP headers via `ctest -T Submit`.
2024-01-08 14:11:40 -05:00
Peter Kokot
925f9f18dd
Help: INSTALL_PREFIX in install(CODE|SCRIPT) was added in CMake 3.27
...
In commit 18e02ace5b (install(CODE|SCRIPT): Support $<INSTALL_PREFIX>
genex, 2023-02-24, v3.27.0-rc1~431^2) we documented the feature without
stating what version added it.
2024-01-08 12:51:02 -05:00
Brad King
ddb608b1d9
Merge topic 'fix-tutorial'
...
6d48bd21ac Tutorial: Clarify the expected change to target_include_directories
4d56db038d Tutorial: Make `INSTALL_DESTINATION` consistent with installed destination
da22b269b2 Tutorial: Add missing `$` in generator expression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9120
2024-01-08 09:43:29 -05:00
Robert Maynard
63e20653f8
add_test: Fix version of CMake introducing CMP0158 (to 3.29)
...
This was missed in commit ca5a300d7f (add_test: Honor
CROSSCOMPILING_EMULATOR only when cross-compiling, 2023-11-02) when it
slipped from the 3.28 release.
2024-01-05 17:01:01 -05:00
Ben Boeckel
63bbb3768d
cmLocalGenerator: ignore scanned sources for unity builds
2024-01-05 14:21:27 -05:00
Kevin Albertson
6d48bd21ac
Tutorial: Clarify the expected change to target_include_directories
...
The expectation is to modify the existing `target_include_directories`,
not add add a new `target_include_directories` command.
2024-01-05 13:22:39 -05:00
Kevin Albertson
4d56db038d
Tutorial: Make INSTALL_DESTINATION consistent with installed destination
2024-01-05 13:21:08 -05:00
Kevin Albertson
da22b269b2
Tutorial: Add missing $ in generator expression
2024-01-05 13:21:08 -05:00
Brad King
951656385d
Merge topic 'doc-get-properties-inherited'
...
8086badba4 Help: Fix wrong return values for unset inherited properties
1ca5ec67b0 Help: Add missing DIRECTORY keyword to set_tests_properties() signature
34379f005b Help: Use <variable> consistently in property getter commands
29ccc9a4cd Help: Use <xxx> for non-keyword arguments in property command signatures
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9131
2024-01-05 10:18:42 -05:00
Craig Scott
8086badba4
Help: Fix wrong return values for unset inherited properties
...
Since ff6234509e (Help: Clarify behavior of INHERITED properties, 2018-03-21),
the docs for some get_..._property() commands incorrectly describe
the behavior for inherited properties. When a property is not set, even
in a parent scope, the returned result from the get_..._property()
command is the same whether the property is inherited or not.
The docs incorrectly stated that an empty string would be returned
for inherited properties in such cases.
2024-01-05 17:40:16 +11:00
Craig Scott
1ca5ec67b0
Help: Add missing DIRECTORY keyword to set_tests_properties() signature
2024-01-05 16:45:27 +11:00
Craig Scott
34379f005b
Help: Use <variable> consistently in property getter commands
...
Property-related commands used a mix of <VAR>, <var>, or
<variable> to specify the variable to store the result in. The <VAR>
form is particularly confusing, since being uppercase it looks more
like a keyword. Use <variable> consistently across all the commands
so that the behavior is clear.
2024-01-05 15:37:39 +11:00
Craig Scott
29ccc9a4cd
Help: Use <xxx> for non-keyword arguments in property command signatures
2024-01-05 15:31:39 +11:00
Brad King
d8d9b3f9e6
Merge topic 'fix_documentation'
...
20f74231db Help: Fix Step3 Mathfunction example
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9101
2024-01-04 11:52:20 -05:00
Brad King
2b4bc8d469
Merge topic 'HELP-string_LENGTH-link-error'
...
9702a01dc9 Help: string(LENGTH): Fix synopsis link to command description
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9113
2024-01-04 11:44:14 -05:00
Brad King
f11f0f52b7
Merge topic 'HELP-string_LENGTH-link-error' into release-3.28
...
9702a01dc9 Help: string(LENGTH): Fix synopsis link to command description
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9113
2024-01-04 11:44:13 -05:00
Brad King
5dd4d3d4e3
Merge topic 'revert-ExternalProject-download-byproducts'
...
fd3c9876c6 ExternalProject: revert `BYPRODUCTS` for download outputs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9097
2024-01-04 11:35:11 -05:00
Brad King
cab0ec1f75
Merge topic 'revert-ExternalProject-download-byproducts' into release-3.28
...
fd3c9876c6 ExternalProject: revert `BYPRODUCTS` for download outputs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9097
2024-01-04 11:35:10 -05:00
Ben Boeckel
fd3c9876c6
ExternalProject: revert BYPRODUCTS for download outputs
...
Xcode has been reported to not work at all with this when
ExternalProject projects share download files.
Revert commit 872daff159 (ExternalProject: declare byproducts for the
download step, 2023-09-21, v3.28.0-rc1~27^2) pending further
investigation.
Fixes : #25525
2024-01-03 14:18:35 -05:00
Marc Chevrier
9702a01dc9
Help: string(LENGTH): Fix synopsis link to command description
...
Make the link target explicit to avoid ambiguity with `JSON LENGTH`.
Fixes : #25546
2024-01-03 14:14:18 -05:00
Craig Scott
688eae3625
Merge topic 'doc-dynamic-resource-spec-file'
...
9b63f92f27 Help: Update missed text for dynamically generated resource spec files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9117
2024-01-02 06:01:00 -05:00
Craig Scott
9b63f92f27
Help: Update missed text for dynamically generated resource spec files
2024-01-01 17:37:14 +11:00
Craig Scott
4253a41a67
Merge topic 'fix-redirect-links'
...
5a7927d028 Help: update lua.org links to be HTTPS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9114
2023-12-31 19:59:11 -05:00
Craig Scott
d12c9d62f4
Merge topic 'fix-redirect-links' into release-3.28
...
5a7927d028 Help: update lua.org links to be HTTPS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9114
2023-12-31 19:59:10 -05:00
Ben Boeckel
5a7927d028
Help: update lua.org links to be HTTPS
...
This is now a permanent redirect, so update links accordingly.
2024-01-01 11:32:32 +11:00
Craig Scott
581c2b6240
Merge topic 'doc-toolchains-apple'
...
315cf74025 Help: Note CMAKE_IOS_INSTALL_COMBINED deprecation in toolchains example
af2e4379fc Help: Fix typo not accounting for addition of visionOS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9112
2023-12-31 19:29:44 -05:00
Craig Scott
315cf74025
Help: Note CMAKE_IOS_INSTALL_COMBINED deprecation in toolchains example
2023-12-30 18:38:05 +11:00
Craig Scott
af2e4379fc
Help: Fix typo not accounting for addition of visionOS
2023-12-30 18:36:34 +11:00
Bhavith C
20f74231db
Help: Fix Step3 Mathfunction example
...
- TODO 6 has to be Link SqrtLibrary
- TODO 7 has to be Link MathFunctions
Signed-off-by: Bhavith C <bhavithc.acharya@gmail.com >
2023-12-23 22:57:00 +05:30
Brad King
e6cd118f02
Merge topic 'package-dispatch-apple'
...
4ac5a2f866 CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file()
b9f81ee9f9 CMakePackageConfigHelpers: Remove outdated documentation summary paragraph
68a03cf3d4 generate_apple_platform_selection_file: Add INSTALL_PREFIX option
ff21f0f70f Tests: Verify generate_apple_platform_selection_file file paths
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9092
2023-12-20 09:12:49 -05:00
Brad King
a350d92c06
Merge topic 'add_test-CROSSCOMPILING_EMULATOR-exclusive'
...
ca5a300d7f add_test: Honor CROSSCOMPILING_EMULATOR only when cross-compiling
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8947
2023-12-20 09:09:48 -05:00
Brad King
3df386a7c2
Merge topic 'doc-typo-dep-provider-method'
...
d0ab70d57d Help: Fix typo in dependency provider method keyword
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9079
2023-12-20 09:04:57 -05:00
Ralf Habacker
ca5a300d7f
add_test: Honor CROSSCOMPILING_EMULATOR only when cross-compiling
...
Add policy CMP0158 to provide compatibility for existing projects.
Fixes : #23672
2023-12-19 10:00:55 -05:00
Brad King
4ac5a2f866
CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file()
...
Add a helper to select architecture-specific implementations of a
package on an Apple-specific platform.
Fixes : #25516
2023-12-19 08:56:30 -05:00
Brad King
bee73bce08
Merge topic 'doc-fileapi-launchers'
...
6d962f3700 Help: Fix indentation level in fileapi docs for target attribute 'launchers'
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9084
2023-12-19 08:11:48 -05:00
Ralf Habacker
6d962f3700
Help: Fix indentation level in fileapi docs for target attribute 'launchers'
...
The mentioned attribute is on the top level, not below the `install`
attribute.
This was missed in commit 80a64c9ce5 (fileapi: Add cross-compilation
emulator to codemodel-v2, 2023-11-11).
Issue: #25408
2023-12-18 08:51:30 -05:00
Craig Scott
d0ab70d57d
Help: Fix typo in dependency provider method keyword
...
The cmake.vim file is generated by scanning for keyword-like
strings in the docs. Update the corresponding wrong entry
there too directly for now, which will fix the wrong entry until
the next full regeneration of the file.
Fixes : #25503
2023-12-16 10:27:39 +11:00
Craig Scott
ba5882a6c1
Help: Document Xcode project visibility constraints for embedding
...
Fixes : #22412
2023-12-16 09:41:09 +11:00
Brad King
6ba3bb0563
Merge topic 'cmake-test-launcher'
...
88863d83d6 fileapi: Add test launcher to codemodel-v2
1ec0372ed4 add_test: Optionally use a launcher for tests running in-project targets
478a5f4e04 fileapi: Make launcher attribute 'arguments' optional
b44e38a397 cmFileAPICodemodel: Add missing std::move()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8963
2023-12-15 09:34:20 -05:00
Brad King
6eafd7a37c
Merge branch 'release-3.28'
2023-12-14 11:20:14 -05:00
Brad King
1eed682d7c
CMake 3.28.1
2023-12-14 10:47:27 -05:00
Ralf Habacker
88863d83d6
fileapi: Add test launcher to codemodel-v2
...
We do not need to bump the minor version because it was recently bumped
by addition of the cross-compiling emulator as another kind of launcher.
2023-12-13 10:20:43 -05:00
Ralf Habacker
1ec0372ed4
add_test: Optionally use a launcher for tests running in-project targets
...
Add a `CMAKE_TEST_LAUNCHER` variable and corresponding `TEST_LAUNCHER`
target property.
Issue: #23672
2023-12-13 10:20:43 -05:00
Brad King
f522cf4546
Merge topic 'doc-xcframeworks-stubs-apple'
...
e831eef933 Help: Note case where IMPORTED_IMPLIB isn't needed for (xc)frameworks
01735badee Help: XCFrameworks and stubs are supported on all Apple, not just macOS
6ac50df591 Help: Add missing versionadded directives for IMPORTED_IMPLIB
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9058
2023-12-13 09:34:51 -05:00