FeRD (Frank Dana)
6c3311d53b
Help: Document property redefinition semantics
...
Add a section to the `define_property()` documentation which
details the behavior when attempting to redefine an existing
property. (The command is silently ignored.)
Provide an example using `get_property()` to examine a property
definition created with `define_property()`.
2024-01-29 05:23:37 -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
Brad King
ef6aec22a1
Merge topic 'doc-xcframeworks-stubs-apple' into release-3.28
...
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:50 -05:00
Craig Scott
e831eef933
Help: Note case where IMPORTED_IMPLIB isn't needed for (xc)frameworks
2023-12-13 11:36:22 +11:00
Brad King
9642647646
Merge topic 'create_test_sourcelist-full-filepath'
...
a29ca55b1f create_test_sourcelist: use the full path to the driver
609af7734f cmCreateTestSourceList: simplify string operations
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9060
2023-12-12 08:41:57 -05:00
Brad King
532c30a654
Merge topic 'Help-create_test_sourcelist'
...
464bc12bb7 Help/create_test_sourcelist: format arguments in the signature docs
131f9c9efa Help/create_test_sourcelist: add formatting markup
8540520902 Help/create_test_sourcelist: reflow prose
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9059
2023-12-12 08:35:07 -05:00
Ben Boeckel
a29ca55b1f
create_test_sourcelist: use the full path to the driver
...
When using `FILE_SET` syntax, full paths to out-of-source files are
needed as they are not searched for.
2023-12-11 12:15:28 -05:00
Ben Boeckel
464bc12bb7
Help/create_test_sourcelist: format arguments in the signature docs
2023-12-09 23:15:29 -05:00
Ben Boeckel
131f9c9efa
Help/create_test_sourcelist: add formatting markup
2023-12-09 10:17:45 -05:00
Ben Boeckel
8540520902
Help/create_test_sourcelist: reflow prose
2023-12-09 10:17:16 -05:00
Brad King
2040b79a39
Merge topic 'compute-compiler-linker'
...
df025444b2 LinkerId: Identify AIX and SunOS system linkers
c1e48a19a5 LinkerId: Try multiple flags to detect linker id and version
1e42a0cf18 LinkerId: Match linker id and version more robustly
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9057
2023-12-09 08:16:01 -05:00
Brad King
243f56c8e0
Merge topic 'LLVMFlang-Fortran-link-enhancements'
...
0502b345f2 LLVMFlang Fortran: enhance link capabilities
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9025
2023-12-09 08:14:06 -05:00
Brad King
143f5abb3b
Merge topic 'find-rustc-importlibs'
...
f20c5c6f20 MSVC: Teach find_library to consider Rust's '${name}.dll.lib' convention
7598ea5389 Tests: Add case covering find_library behavior when targeting MSVC ABI
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9046
2023-12-09 08:11:56 -05:00
Craig Scott
01735badee
Help: XCFrameworks and stubs are supported on all Apple, not just macOS
2023-12-09 16:15:19 +11:00
Craig Scott
6ac50df591
Help: Add missing versionadded directives for IMPORTED_IMPLIB
2023-12-09 15:10:25 +11:00