Brad King
34f879d99e
Merge topic 'genex-versionadded'
...
7993aa3075 Help: Add versionadded tags to cmake-generator-expressions(7)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6270
2021-06-28 14:01:36 -04:00
Brad King
9b55bd480d
Merge topic 'Help-CMP0102-mention-warning-variable'
...
894645d4a6 Help/CMP0102: mention the varible that controls CMP0102 warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6275
2021-06-28 14:00:28 -04:00
Brad King
cefaff9b84
Merge topic 'doc-3.21-relnotes-supportedPlatforms'
...
82ea0aeae4 Help: Clarify 3.21 release note on supportedPlatforms
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6277
2021-06-28 13:59:18 -04:00
FeRD (Frank Dana)
7993aa3075
Help: Add versionadded tags to cmake-generator-expressions(7)
2021-06-28 10:40:11 -04:00
Brad King
73f3a8f8ba
Merge topic 'p1689r4-updates'
...
cf22263531 Help/dev/experimental: Link to published P1689R4
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6278
2021-06-28 10:13:43 -04:00
Brad King
cf22263531
Help/dev/experimental: Link to published P1689R4
2021-06-28 09:58:52 -04:00
Brad King
82ea0aeae4
Help: Clarify 3.21 release note on supportedPlatforms
...
Avoid implying that the field is always present.
Fixes : #22352
2021-06-28 09:53:48 -04:00
Brad King
c8d2e81e09
Merge topic 'target_compile_features-only-apply-to-enabled-languages'
...
a3cafa4237 compile_features: Ignore features that map to languages that aren't enabled
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6255
2021-06-28 09:26:02 -04:00
Brad King
be78a9bf68
Merge topic 'vs2022'
...
93c718791e VS: Use 64-bit MSBuild in VS 2022
c46b265839 VS: Add Visual Studio 17 2022 generator
b610b7a35c VS: Update v142 CL flag table for VS 17.0 Preview 1
43375c6418 Help: Remove unnecessary Sphinx versionadded markup in VS toolset selection
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6268
2021-06-28 09:22:38 -04:00
Ben Boeckel
894645d4a6
Help/CMP0102: mention the varible that controls CMP0102 warnings
...
This was missed in the review of !4150 , but was noticed during
discussion of #22353 .
2021-06-28 08:17:25 -04:00
Robert Maynard
a3cafa4237
compile_features: Ignore features that map to languages that aren't enabled
...
Remove the Cuda/ConsumeCompileFeatures test as it only existed to
validate that using `cxx_std_XY` would cause the paired language (CUDA) to also build in mode XY.
2021-06-25 13:39:50 -04:00
Brad King
c46b265839
VS: Add Visual Studio 17 2022 generator
...
Fixes : #22339
2021-06-25 12:45:44 -04:00
Brad King
43375c6418
Help: Remove unnecessary Sphinx versionadded markup in VS toolset selection
...
In a document that says "New in version 3.14", we do not need any blocks
that say "New in version 3.8".
2021-06-25 10:07:31 -04:00
Brad King
004a51e0c2
Merge topic 'fortran-compiler-intrinsics'
...
fe3f846e1b Makefiles: Add support for building Fortran intrinsics
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5518
2021-06-24 09:12:15 -04:00
Isuru Fernando
fe3f846e1b
Makefiles: Add support for building Fortran intrinsics
...
Fixes : #21463
2021-06-24 08:39:47 -04:00
Heiko Thiel
0106842af4
Help: Clarify condition of tree command from source_group.
2021-06-23 17:24:09 +02:00
Brad King
6d9fec6c0b
Merge branch 'release-3.20' into release-3.21
2021-06-21 11:49:10 -04:00
Brad King
3bf56de28f
Merge branch 'release-3.20'
2021-06-21 11:48:17 -04:00
Brad King
25e82666e4
Help: Add 3.20 release note section for 3.20.{3,4,5}
...
Make it clear that the notes for these patch releases were not
forgotten, and that there were simply no changes to documented features
or interfaces.
2021-06-21 11:20:33 -04:00
Brad King
7b0cf0da9d
Merge topic 'tutorial-sphinx-targets'
...
73898c4922 Tutorial: Make code snippets linkable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6247
2021-06-21 09:59:57 -04:00
Brad King
6438a03c73
Merge topic 'tutorial-sphinx-targets' into release-3.21
...
73898c4922 Tutorial: Make code snippets linkable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6247
2021-06-21 09:59:56 -04:00
Brad King
9612034cac
Merge topic 'doc-source_group-scope'
...
2abce79409 Help: Clarify the usage scope of source_group
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6246
2021-06-21 09:58:04 -04:00
Brad King
a01a88dc95
Merge topic 'FindPkgConfig-PKG_CONFIG-args'
...
35d3e00e4e FindPkgConfig: split args if loaded from environment
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6222
2021-06-21 09:53:51 -04:00
Brad King
d60d6c269a
Merge topic 'ctest_runtime_labels'
...
bd38749fd4 ctest: allow test output to add labels
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6234
2021-06-21 09:52:36 -04:00
Heiko Thiel
2abce79409
Help: Clarify the usage scope of source_group
...
Fixes : #18856
2021-06-18 12:52:43 -04:00
Brad King
73898c4922
Tutorial: Make code snippets linkable
...
Extend the change from commit 9e5bbb69ea (Tutorial: Add captions for
code blocks, 2021-06-11) to also add a Sphinx named target to code
blocks. Name each target after the change the code block makes.
2021-06-18 12:31:45 -04:00
Christopher Degawa
35d3e00e4e
FindPkgConfig: split args if loaded from environment
...
It's common for some people to use the PKG_CONFIG environment variable
to not only load a custom pkg-config/pkgconf but also to load some
default arguments such as `--static` or `--keep-system-libs` which often
worked since shell scripts would call `$PKG_CONFIG --libs pkg` without
quotes, but this breaks FindPkgConfig since it uses the full string as
`argv[0]` and might try looking for a binary called `pkgconf --static`,
instead of looking for `pkgconf` and adding `--static` as the `argv[1]`
Additionally adds RunCMake.FindPkgConfig ARGN test case
Fixes : #22305
Signed-off-by: Christopher Degawa <ccom@randomderp.com >
2021-06-18 11:10:12 -04:00
Ben Boeckel
f29e1874ad
Compiler/MSVC: use the -external:I flag for system includes
...
See: #17904
2021-06-18 09:54:17 -04:00
Zack Galbreath
bd38749fd4
ctest: allow test output to add labels
...
Parse test output for <CTestLabel>...</CTestLabel>.
If found, add this value to the list of labels associated with this test.
2021-06-17 14:09:01 -04:00
Brad King
11695f5985
Begin post-3.21 development
2021-06-17 13:18:30 -04:00
Brad King
d59b76f7b4
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2021-06-17 13:14:21 -04:00
Brad King
8850f6e23f
Merge topic 'doc-3.21-relnotes'
...
f119fbeec5 Help: Update Sphinx versionadded directives for 3.21 release
45acb61432 Help: Organize and revise 3.21 release notes
046aee0441 Help: Consolidate 3.21 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6226
2021-06-17 13:09:45 -04:00
Brad King
9c703ff741
Tutorial: Add infrastructure to preserve old links when renaming steps
2021-06-17 12:10:14 -04:00
Josef Angstenberger
9e5bbb69ea
Tutorial: Add captions for code blocks
2021-06-17 11:57:56 -04:00
Josef Angstenberger
fe60154fe8
Tutorial: Small formatting improvements
...
- Use inline literals for all code fragments and names.
- Add missing console code-blocks.
- Always use c++, not c as code language.
2021-06-17 11:57:56 -04:00
Josef Angstenberger
25dde20cc5
Tutorial: Fix links after splitting steps
2021-06-17 11:55:18 -04:00
Josef Angstenberger
d1c3e7e78a
Tutorial: Split steps into separate files
...
Fixes : #21737
2021-06-17 11:53:55 -04:00
Brad King
13fdb26323
Tutorial: Break up intro paragraph
2021-06-17 10:33:07 -04:00
Brad King
f119fbeec5
Help: Update Sphinx versionadded directives for 3.21 release
...
Run the script:
Utilities/Sphinx/update_versions.py --since v3.20.0 --overwrite
Manually remove directives generated in documents for long-existing
features for which documentation was added.
2021-06-17 09:48:54 -04:00
Brad King
45acb61432
Help: Organize and revise 3.21 release notes
...
Add section headers similar to the 3.20 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2021-06-17 08:47:49 -04:00
Brad King
046aee0441
Help: Consolidate 3.21 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.21.rst`.
2021-06-14 12:14:28 -04:00
Brad King
6b218d2e26
Merge topic 'objc-std-17-23'
...
e8dc95ae1e ObjectiveC: Add C17 and C23 support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Raul Tambre <raul@tambre.ee >
Merge-request: !6219
2021-06-14 09:49:22 -04:00
Marc Chevrier
4665d1e69a
Help: cmake_path: fix erroneous example for IS_PREFIX
...
Fixes : #22302
2021-06-12 11:23:47 +02:00
Marc Chevrier
e49cbf1d44
Help: cmake_path: fix erroneous example for IS_PREFIX
2021-06-12 11:22:40 +02:00
Gregor Jasny
e8dc95ae1e
ObjectiveC: Add C17 and C23 support
...
Issue: #22297
2021-06-11 14:47:23 +02:00
Brad King
cd2944a303
Merge topic 'p1689r4-updates'
...
ccc0466fc5 cmScanDepFormat: P1689R4: Implement source-path related fields
3e5b609547 cmScanDepFormat: P1689R4: Make work-directory optional
aab9a5fc3e cmScanDepFormat: P1689R4: Factor out primary-output field
b0a8fa959c cmScanDepFormat: P1689R4: Diagnose invalid provides/requires json type
82c867ad85 cmScanDepFormat: P1689R4: Flatten future-compile members into parent
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6202
2021-06-11 06:15:24 -04:00
Brad King
e13704ce72
Add directory property to list imported targets
...
Model the change after commit cbca65826c (Add directory property to list
buildsystem targets, 2016-09-19, v3.7.0-rc1~79^2~1).
Fixes : #22291
2021-06-10 15:52:12 -04:00
Brad King
5fd68d3ef7
Merge topic 'vs-custom-depfile'
...
526e2ef71c VS: Add support for add_custom_command DEPFILE
794ad78abb Help: Generalize release note filename for add_custom_command DEPFILE
7291f31254 cmTransformDepfile: Add support for MSBuild AdditionalInputs format
a6de8ec51b cmTransformDepfile: Make directory for transformed depfile automatically
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6206
2021-06-10 08:23:45 -04:00
Brad King
cf85c6bf85
Merge topic 'ctest_custom_details'
...
02f1271bdf ctest: allow test output to override the 'details' field
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6204
2021-06-10 08:20:18 -04:00
Brad King
49c165450f
Merge topic 'doc-ctest-interactive-popups'
...
cf8710da74 Help: Document ctest(1) --interactive-debug-mode limitation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michael Hirsch <michael@scivision.dev >
Merge-request: !6211
2021-06-10 08:19:00 -04:00