Brad King
efb21962fb
Merge topic 'cxxmodules-try-compile'
...
be53c75852 cmExperimental: recycle the C++ modules API UUID
deb1c3cbd5 cmCoreTryCompile: forward module-related binutils variables
b768d293c5 cmCoreTryCompile: use the source type context for source files
93993c7ad4 cmArgumentParser: support storing a context value with parsing
c9ca5f6326 cmCoreTryCompile: parse `SOURCES_TYPE` argument
07551f35de cmCoreTryCompile: use `target_sources` for `try_compile` targets
aad9033b56 cmExperimental: support forwarding associated variables to `try_compile`
f6cf433256 cmExperimental: only forward C++ module support to non-ABI checks
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8639
2023-08-07 11:57:00 -04:00
Brad King
da51e8f59b
Help: Cross-reference install command signatures as commands
...
Replace manual anchors with proper command signature cross-references.
2023-08-02 13:43:53 -04:00
Brad King
7a54bdf0c1
Help: Use signature directive for 'install' command
...
Replace manual anchors with signature directives. Indent each
signature's documentation inside its directive.
2023-08-02 13:43:32 -04:00
Ben Boeckel
c9ca5f6326
cmCoreTryCompile: parse SOURCES_TYPE argument
...
This will serve to add context for the source listing in order to
properly mark sources as `FILE_SET TYPE CXX_MODULES` in the generated
code.
2023-07-31 11:37:47 -04:00
Kyle Edwards
4cf5eab79d
Merge topic 'xcframework-find-library'
...
9bf8f7de06 find_library(): Add support for .xcframework
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8661
2023-07-28 14:59:14 -04:00
Kyle Edwards
9bf8f7de06
find_library(): Add support for .xcframework
...
Issue: #21752
2023-07-28 14:41:45 -04:00
Brad King
e49ff2b2f2
Merge topic 'ExportTestLabelToJUnit'
...
2b99e64413 set_test_properties: link to the test properties in the documentation
b11e8afbfa ctest: export test labels to junit xml
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8635
2023-07-28 09:12:23 -04:00
Kyle Edwards
07ac0c0ae0
Merge topic 'xcframework-target-link-libraries'
...
7050ac56a1 macOS: Add support for linking against .xcframework folders
93ed53790c bootstrap: Unconditionally build libjsoncpp
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8619
2023-07-27 10:06:22 -04:00
Brad King
c46182cf55
Merge topic 'doc-if-exists'
...
3ab132d86f Help: Document that if(EXISTS) requires paths to be readable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8656
2023-07-27 09:59:20 -04:00
Kyle Edwards
7050ac56a1
macOS: Add support for linking against .xcframework folders
...
Issue: #21752
2023-07-26 17:00:01 -04:00
Alex Neundorf
2b99e64413
set_test_properties: link to the test properties in the documentation
...
It was linking to the target properties, this was probably an oversight.
2023-07-26 22:59:59 +02:00
Brad King
3ab132d86f
Help: Document that if(EXISTS) requires paths to be readable
...
Issue: #25125
2023-07-26 11:06:53 -04:00
Kyle Edwards
ff12a57d5e
exec_program(): Remove by policy CMP0153
2023-07-25 11:09:56 -04:00
Brad King
6194193a8a
Merge topic 'file-REAL_PATH-relative'
...
6b5f2dbbfe file(REAL_PATH): resolve symlinks before '..' components
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8605
2023-07-24 08:43:19 -04:00
Robert Maynard
6b5f2dbbfe
file(REAL_PATH): resolve symlinks before '..' components
...
Previously REAL_PATH would collapse paths before resolving any symlinks
so if `..` crossed a symlink the output from `REAL_PATH` would be wrong.
It looked like REAL_PATH did this by mistake since it was a side-effect
of ensuring we had an absolute path before resolving symlinks.
2023-07-20 17:02:58 -04:00
Brad King
88c6dc75ba
Merge topic 'command-job-server-aware'
...
95941fd990 add_custom_{target,command}: Add argument JOB_SERVER_AWARE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8547
2023-07-20 10:23:31 -04:00
Chris Mahoney
95941fd990
add_custom_{target,command}: Add argument JOB_SERVER_AWARE
...
Issue: #16273
2023-07-19 10:45:33 -04:00
Brad King
18d9a54ba6
Merge topic 'export-doc-config-map'
...
38737e3970 Help: Mention imported config mapping in export() and install() docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8637
2023-07-18 13:51:16 -04:00
Brad King
38737e3970
Help: Mention imported config mapping in export() and install() docs
...
Suggest the `CMAKE_MAP_IMPORTED_CONFIG_<CONFIG>` variable for mapping
configurations of dependent projects to configurations exported by these
commands.
Issue: #25096
2023-07-18 11:11:14 -04:00
Brad King
d1538805b5
Merge topic 'doc-add_custom_command'
...
e588d29eaf Help: add_custom_command(TARGET) does not support USES_TERMINAL
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: William Jones <william.luke.jones@gmail.com >
Merge-request: !8602
2023-06-29 11:49:35 -04:00
Brad King
7952e11466
Merge topic 'doc-add_custom_command' into release-3.27
...
e588d29eaf Help: add_custom_command(TARGET) does not support USES_TERMINAL
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: William Jones <william.luke.jones@gmail.com >
Merge-request: !8602
2023-06-29 11:49:34 -04:00
Brad King
e588d29eaf
Help: add_custom_command(TARGET) does not support USES_TERMINAL
...
Build events are attached to existing build statements so we cannot
independently control the job pool.
Issue: #25040
2023-06-29 10:57:38 -04:00
Brad King
6d549cd9fe
Merge topic 'doc-target_precompile_headers'
...
a3dfaf8a5c Help: Fix wrong command name in target_precompile_headers docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8600
2023-06-29 10:07:02 -04:00
Brad King
c7e3668b00
Merge topic 'doc-target_precompile_headers' into release-3.27
...
a3dfaf8a5c Help: Fix wrong command name in target_precompile_headers docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8600
2023-06-29 10:07:01 -04:00
Brad King
28dc0ef040
Merge topic 'doc-list-xref'
...
60b393096f Help: Link to cmake-language(7) list docs from list() command docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8597
2023-06-29 09:54:14 -04:00
Craig Scott
a3dfaf8a5c
Help: Fix wrong command name in target_precompile_headers docs
2023-06-29 09:27:10 +10:00
Brad King
60b393096f
Help: Link to cmake-language(7) list docs from list() command docs
...
Fixes : #25036
2023-06-28 07:51:37 -04:00
Brad King
024791a702
Merge topic 'alias-set-target-prop'
...
aed550410a Help: Clarify that you can't set properties on ALIAS targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8591
2023-06-27 11:03:37 -04:00
Ryan Friedman
aed550410a
Help: Clarify that you can't set properties on ALIAS targets
...
Issue: #19445
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com >
2023-06-26 12:47:26 -04:00
Brad King
9189a59f8b
Merge topic 'doc-project-none'
...
9dd2dd5b77 Help: Restore project command docs for default languages and NONE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Robert Maynard <robertjmaynard@gmail.com >
Merge-request: !8585
2023-06-23 10:42:25 -04:00
Brad King
5fb68744d4
Merge topic 'doc-project-none' into release-3.27
...
9dd2dd5b77 Help: Restore project command docs for default languages and NONE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Robert Maynard <robertjmaynard@gmail.com >
Merge-request: !8585
2023-06-23 10:42:24 -04:00
Brad King
9dd2dd5b77
Help: Restore project command docs for default languages and NONE
...
In commit b787be2714 (Help: Update supported languages in project and
enable_language, 2023-01-20, v3.26.0-rc1~53^2) the relevant paragraph
was accidentally moved to the `enable_language` command documentation.
Fixes : #25016
2023-06-22 13:12:24 -04:00
Brad King
536c1de1d4
Drop Visual Studio 11 2012 generator
...
This generator has been deprecated since CMake 3.25. Remove it.
2023-06-13 14:20:48 -04:00
Craig Scott
99b2ccf80d
cmake_file_api: New project command
...
Projects can use the new command to request file API replies for the current
run. No query files are generated, the query is tracked internally. Replies are
created in the file system at generation time in the usual way.
Fixes : #24951
2023-06-05 06:20:50 -04:00
Ben Boeckel
6ff5cdc533
cxxmodules: remove support for CXX_MODULE_HEADER_UNITS filesets
...
There's no backing implementation for header units anyways, so just
remove it for now.
2023-05-31 10:57:11 -04:00
Brad King
77aaf1b04a
Merge topic 'help_configure_file'
...
b2b97d015e Help: configure_file: add $CACHE{VAR} and $ENV{VAR} to description
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8500
2023-05-23 11:02:43 -04:00
Brad King
04b0d5c862
codespell: Fix typos
2023-05-22 16:51:15 -04:00
Torsten Rasmussen
b2b97d015e
Help: configure_file: add $CACHE{VAR} and $ENV{VAR} to description
...
The configure_file(...) and string(CONFIGURE ...) functions also
substitutes variables of the form: $CACHE{VAR} and $ENV{VAR}.
Therefore add this information to the help documentation so that this
behavior is described to users
2023-05-22 12:46:04 -04:00
Craig Scott
949dcdb3bc
Help: Clarify PRE_BUILD option for add_custom_command()
...
Fixes : #24889
2023-05-19 12:40:36 +10:00
Leonid Pospelov
c64f6d5a5a
Help: Document append functionality of string(JSON)
2023-05-03 04:41:53 -04:00
Alex Neundorf
c584882b26
Help: change links to point to the env.vars, not to the cmake vars
...
The documentation of the find-commands was pointing to the
cmake variables CMAKE_PREFIX_PATH, CMAKE_INCLUDE_PATH etc.
also in the section for environment variables. Now they point
to the documentation for the respective environment variables.
2023-05-01 15:12:23 +02:00
Marc Chevrier
31675964e7
GenEx LIST: list operations
...
Fixes : #24550 , #24547
2023-04-16 12:00:20 +02:00
Brad King
561ae21f40
Help: Clarify that {add,target}_compile_options are not used for linking
...
Link to alternatives that can be used for adding link options.
Issue: #24662
2023-03-31 11:30:51 -04:00
Brad King
f93b13151e
Help: Link to COMPILE_LANGUAGE genex from add_compile_options
...
Follow-up commit e2830cf16b (Help: Link to COMPILE_LANGUAGE genex
from target_compile_options, 2023-03-28).
Issue: #24639
2023-03-31 11:01:13 -04:00
Brad King
e2830cf16b
Help: Link to COMPILE_LANGUAGE genex from target_compile_options
...
Issue: #24639
2023-03-28 10:57:31 -04:00
Brad King
eb890ba3fc
Merge topic 'file-GET_RUNTIME_DEPENDENCIES-windows-casing'
...
5922c86ed6 file(GET_RUNTIME_DEPENDENCIES): Document case-preserving change on Windows
7dffe99ad8 Tests: Restore CudaOnly.RuntimeControls cudart verification on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Kyle Edwards <kyle.edwards@kitware.com >
Merge-request: !8367
2023-03-28 08:13:31 -04:00
Brad King
5922c86ed6
file(GET_RUNTIME_DEPENDENCIES): Document case-preserving change on Windows
...
In commit fa45594407 (file(GET_RUNTIME_DEPENDENCIES): Preserve casing
for Windows PE binaries, 2023-03-06) we neglected to update associated
documentation.
2023-03-27 09:49:51 -04:00
Brad King
512f64289a
Help: Clarify that set(VAR) unsets VAR
...
Also call out possible exposure of an existing cache entry of the same
name, as we have for the `unset` command since commit 1a0f1a25a4 (Help:
Clarify the unset command, 2018-08-17, v3.13.0-rc1~199^2).
Issue: #24633
2023-03-24 14:44:45 -04:00
Matthew Woehlke
c8f65d2b67
Help: Improve file command signatures
...
Fix a couple of file command signatures that were not using angle
brackets to mark arguments.
2023-03-15 10:53:25 -04:00
Matthew Woehlke
68fb1572a8
Help: Convert signatures of file command
...
Convert `file` command to use new `signature` directive. Use '<HASH>'
rather than 'HASH' for relevant signature targets, as this is arguably
more correct, results in less need to specify explicit targets, but
still produces '#hash' as the HTML anchor.
Although actual textual changes to `file` are fairly minimal, large
portions of the content have been re-indented and in many cases,
re-flowed. Some tabular content in literal text blocks has also been
converted to actual tables.
2023-03-15 10:53:25 -04:00