Brad King
c3977582b7
CMake 3.27.4
2023-08-23 09:25:28 -04:00
Brad King
741755f637
Help: Document cmake_minimum_required deprecation of old versions
...
Document the deprecation warnings added by commit 5845c218d7 (Deprecate
compatibility with CMake versions older than 2.8.12, 2020-06-12,
v3.19.0-rc1~629^2) and commit 3a4791548d (Deprecate compatibility with
CMake versions older than 3.5, 2023-02-09, v3.27.0-rc1~508^2).
Fixes : #25196
2023-08-19 09:03:53 -04:00
Brad King
a69c783749
CMake 3.27.3
2023-08-16 13:46:35 -04:00
Brad King
89b611ab32
VS: Select latest Windows SDK even when targeting Windows 8.1 and below
...
The policy added by commit f90c8ab54e (VS: Select latest available
Windows SDK version by default, 2023-04-03, v3.27.0-rc1~206^2~1) applied
only when targeting Windows 10+. Apply it to older versions too.
Fixes : #25170
Issue: #16202
2023-08-10 09:59:25 -04:00
Brad King
ae97d82e83
VS: Teach CMAKE_GENERATOR_PLATFORM to support Windows 8.1 SDK selection
...
Honor an explicit `version=8.1` field value regardless of the Windows
target version.
Issue: #25170
2023-08-10 09:57:00 -04:00
Brad King
15ff89654b
VS: Teach CMAKE_GENERATOR_PLATFORM to use Windows 10 SDKs for older versions
...
Honor an explicit `version=` field selecting a Windows 10 SDK regardless
of the Windows target version.
Issue: #25170
2023-08-10 09:34:50 -04:00
Brad King
4776a584ad
Help: Add 3.27 release note on VS default SDK selection
...
This was accidentally left out of commit f90c8ab54e (VS: Select latest
available Windows SDK version by default, 2023-04-03,
v3.27.0-rc1~206^2~1).
Issue: #16202
2023-08-08 20:35:02 -04:00
Brad King
a707bc1349
Merge topic 'help-importing-exporting-lib' into release-3.27
...
b7704e8818 Help/guide/importing-exporting: Update line numbers in prose
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8691
2023-08-08 10:04:57 -04:00
Adrien Ollier
b7704e8818
Help/guide/importing-exporting: Update line numbers in prose
...
These were missed in commit aef057d0e8 (Help/guide: fix
MathFunctionsTargets.cmake path in importing-exporting, 2023-05-26,
v3.27.0-rc1~39^2) when a line was added to the example code.
2023-08-07 18:39:03 -04:00
Craig Scott
1285fe27ff
Help: Improve formatting and fix wording for ENABLE_EXPORTS
2023-08-06 18:22:51 +10:00
Craig Scott
91336d061c
Help: Improve formatting and cross-references for DEPENDS_EXPLICIT_ONLY
2023-08-04 19:16:28 +10:00
Craig Scott
03208d9e18
Help: Fix indenting within TARGET_RUNTIME_DLLS genex docs
2023-08-04 19:16:28 +10:00
Brad King
3ab132d86f
Help: Document that if(EXISTS) requires paths to be readable
...
Issue: #25125
2023-07-26 11:06:53 -04:00
Brad King
b5c54d9c8a
CMake 3.27.1
2023-07-25 13:58:09 -04:00
Brad King
8ea4a99d28
Merge branch 'release-3.26' into release-3.27
2023-07-19 14:40:17 -04:00
Brad King
01c62f4ff0
CMake 3.26.5
2023-07-19 13:56:04 -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
Craig Scott
326a73a328
Help: Improve formatting and wording of LIST generator expressions
2023-07-13 08:46:14 -04:00
Craig Scott
69bc89758f
Help: Fix typos, formatting and wording for TARGET_IMPORT_FILE genexes
2023-07-13 09:28:58 +10:00
Craig Scott
9c0c844fbd
Help: Add TARGET_IMPORT_FILE... genexes to 3.27 release notes
...
Fixes : #25060
2023-07-13 09:27:28 +10:00
Craig Scott
88277d15e7
Help: Add missing versionadded for TARGET_IMPORT_FILE_DIR genex
...
Issue: #25060
2023-07-13 09:16:28 +10: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
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
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
f9fe9099ab
Merge topic 'alias-set-target-prop' into release-3.27
...
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:36 -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
529b818378
Merge topic 'link-depends-is-OFF' into release-3.27
...
5945a98ced link dependencies: deactivate the feature
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8587
2023-06-26 09:43:55 -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
Marc Chevrier
5945a98ced
link dependencies: deactivate the feature
...
Unfortunately it breaks in combination with LTO due to a bug in the GNU
linker.
Fixes : #25014
2023-06-23 10:35:04 -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
Robert Maynard
c3a364cae9
Help: Remove incorrect command from list that marks GENERATED
...
The `file(GENERATE)` does not mark the output as `GENERATED` currently
or when the documentation that says so was added by commit 11615b297f
(GENERATED: Improve the documentation of the GENERATED file property,
2018-01-03, v3.11.0-rc1~145^2).
2023-06-21 14:19:38 -04:00
Markus Ferrell
a8679c997d
Tutorial: Extend literal include to contain full code changes in solution
...
The solution for step 7 todo 5 did not include all of the code changes.
Modify it to include the needed `#endif` code change.
2023-06-15 09:29:16 -04:00
Brad King
acce355673
Help: Add 3.27 release note for TARGET_RUNTIME_DLL_DIRS
...
This was accidentally left out of commit 2ce3d62ffb (Help: add
documentation for the new TARGET_RUNTIME_DLL_DIRS genex, 2023-02-26,
v3.27.0-rc1~400^2~2).
2023-06-13 10:59:28 -04:00
Robert Maynard
f9579ffaa6
FindCUDAToolkit: Add cupti nvperf and pcsampling targets
2023-06-07 13:58:09 -04:00
Brad King
d3f07fbb9d
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2023-06-06 13:36:21 -04:00
Brad King
5e77c6e558
Merge topic 'doc-3.27-relnotes'
...
6bc97b453c Help: Update Sphinx versionadded directives for 3.27 release
78d2c9fef0 Help: Organize and revise 3.27 release notes
e6bcda8c39 Help: Consolidate 3.27 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8539
2023-06-06 13:31:07 -04:00
Brad King
6bc97b453c
Help: Update Sphinx versionadded directives for 3.27 release
...
Run the script:
Utilities/Sphinx/update_versions.py --since v3.26.0 --overwrite
Manually remove directives added to new documentation of existing
environment variables.
2023-06-06 13:18:16 -04:00
Brad King
78d2c9fef0
Help: Organize and revise 3.27 release notes
...
Add section headers similar to the 3.26 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2023-06-06 11:15:19 -04:00
Kyle Edwards
36ec89639a
VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTING
...
Fixes : #24972
2023-06-06 10:45:22 -04:00
Brad King
e6bcda8c39
Help: Consolidate 3.27 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.27.rst`.
2023-06-05 11:13:54 -04:00
Brad King
3760ac9845
Merge topic 'file-api-query-command'
...
99b2ccf80d cmake_file_api: New project command
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8530
2023-06-05 09:45:02 -04:00
Brad King
7838ae4fd8
Merge topic 'ctest-timeout-signal'
...
54c5654f7d ctest: Optionally terminate tests with a custom signal on timeout
e38c05688e CTest/cmProcess: Adopt field tracking reason for the process timeout
25c1468314 cmCTestTestHandler: Remove outdated comment
41e8507ab7 IWYU: Add mapping for bits/chrono.h to chrono
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8472
2023-06-05 06:33:36 -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
Brad King
54c5654f7d
ctest: Optionally terminate tests with a custom signal on timeout
...
CTest normally terminates test processes on timeout using `SIGKILL`.
Offer tests a chance to exit gracefully, on platforms supporting POSIX
signals, by setting `TIMEOUT_SIGNAL_{NAME,GRACE_PERIOD}` properties.
Fixes : #17288
2023-06-02 06:51:13 -04:00
Ben Boeckel
0183e1bca3
cxxmodules: remove CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP variable
...
It is now subsumed by the UUID setting completely.
2023-06-01 14:43:26 -04:00
Brad King
f6435f799e
Merge topic 'automoc-moc-options-test'
...
1f4b374d6e cmQtAutoGenInitializer: Reduce string copies
b6f66b445a cmQtAutoGenInitializer: Remove no-op calls
55d93bdabf cmQtAutoGenInitializer: Improve const correctness
feb56a666f cmTarget: Improve const correctness of AddUtility
5e513e562f Help: Add AUTOMOC_MOC_OPTIONS example
5380ad9d58 Tests: Add test for AUTOMOC_MOC_OPTIONS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8523
2023-06-01 11:19:19 -04:00
Orkun Tokdemir
5e513e562f
Help: Add AUTOMOC_MOC_OPTIONS example
2023-05-31 12:59:28 -04:00
Ben Boeckel
7b62a83c6f
cxxmodules: update the experimental UUID
...
Syntactic support for C++ header units has been removed, so a new UUID
is warranted.
2023-05-31 10:57:11 -04:00