Brad King
8cfd8a6486
Merge topic 'doc-gen' into release-3.25
...
9e8b8bf4ef Help: Document version when COMPILE_LANGUAGE genex accepts multiple languages
16f37ea7a0 Help: Document comma-separation in some generator expressions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7784
2022-10-12 10:21:02 -04:00
Michael Hirsch
9e8b8bf4ef
Help: Document version when COMPILE_LANGUAGE genex accepts multiple languages
2022-10-12 09:42:36 -04:00
Michael Hirsch
16f37ea7a0
Help: Document comma-separation in some generator expressions
2022-10-12 09:42:19 -04:00
Alex Turbov
26020fdaae
Help: Reference options of sub-commands in some older release notes (>= 3.20)
2022-10-12 09:29:48 -04:00
Alex Turbov
c3ec1b7411
Help: Replace the ref cmake --workflow --preset with option role
...
So, it'll look the same as refs to other commands in this release
notes below.
2022-10-12 09:29:48 -04:00
Alex Turbov
a0349eb13f
Help: Make cmake(1) sub-command options look like other options
...
Particularly,
- options for `cmake -E env`
- options for `cmake -E tar`
2022-10-12 09:29:48 -04:00
Brad King
e4a53a50eb
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2022-10-11 11:12:07 -04:00
Brad King
cfd149387e
Merge topic 'doc-3.25-relnotes'
...
286a40cb5b Help: Update Sphinx versionadded directives for 3.25 release
f93f97d6c2 Help: Organize and revise 3.25 release notes
c174ef23f4 Help: Consolidate 3.25 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7751
2022-10-11 11:10:56 -04:00
Brad King
f5e8251497
Merge topic 'doc-misc-trivial-cleanups'
...
321eb0c33d Help: Tasking compiler supports compile warning as error
f8b3b24915 Help: Minor grammar, typo and formatting cleanups
3de30134f1 Help: Re-sort property, variable and compiler id lists
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7769
2022-10-11 10:12:04 -04:00
Craig Scott
321eb0c33d
Help: Tasking compiler supports compile warning as error
2022-10-09 13:34:05 +11:00
Craig Scott
f8b3b24915
Help: Minor grammar, typo and formatting cleanups
2022-10-09 13:34:05 +11:00
Craig Scott
3de30134f1
Help: Re-sort property, variable and compiler id lists
2022-10-09 13:34:05 +11:00
Craig Scott
248cfb5b6e
Help: The Xcode generator does not support per-config sources
...
Fixes : #23106
2022-10-08 20:11:25 +11:00
Brad King
286a40cb5b
Help: Update Sphinx versionadded directives for 3.25 release
...
Run the script:
Utilities/Sphinx/update_versions.py --since v3.24.0 --overwrite
Manually de-duplicate the directive in FindOpenSP.
2022-10-07 11:29:00 -04:00
Brad King
f93f97d6c2
Help: Organize and revise 3.25 release notes
...
Add section headers similar to the 3.24 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
Drop the `UseSWIG` bullet, as it is a simple bug fix. Drop the
`LINK_LIBRARY` bullet, as it just polishes an existing feature,
and has a corresponding `versionadded` mark anyway.
2022-10-07 11:26:41 -04:00
Brad King
c174ef23f4
Help: Consolidate 3.25 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.25.rst`.
2022-10-07 11:23:58 -04:00
Brad King
a07be2ffd1
Merge topic 'clang-tidy-prefer-p-option'
...
3f4e0839c4 clang-tidy: Don't append compiler commands if using -p
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7753
2022-10-07 11:20:03 -04:00
Craig Scott
3f4e0839c4
clang-tidy: Don't append compiler commands if using -p
...
When the -p option is given to clang-tidy, it doesn't need the compile
command line to be appended. It can get everything it needs from the
compile_commands.json file in the directory specified with the -p option.
When the compiler being used is not the system default compiler,
clang-tidy has been observed to pick up the wrong headers when the
compiler command line is given, but not if only the -p option is used.
Therefore, don't append the compiler command line if -p is present in
the <LANG>_CLANG_TIDY target property.
Fixes : #24017
2022-10-07 10:33:32 -04:00
Brad King
a546a19385
Merge topic 'tutorial_step5_update'
...
92edbce342 Tutorial: Update step 5 style
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7728
2022-10-07 09:40:16 -04:00
Markus Ferrell
92edbce342
Tutorial: Update step 5 style
2022-10-06 12:08:43 -04:00
Brad King
2133cf2c8e
Merge topic 'try_compile-more-debug-logging'
...
7e6b2a92a0 try_compile: Report build dir with --debug-trycompile
cbf3252975 Tests: Remove stray debugging flag from RunCMake.CheckCompilerFlag case
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7746
2022-10-06 08:45:25 -04:00
Matthew Woehlke
7e6b2a92a0
try_compile: Report build dir with --debug-trycompile
...
When `--debug-trycompile` is enabled, issue a log (with trace) for every
`try_compile` noting what directory is being used for the compilation.
This will make it easier to find the corresponding artifacts.
Closes : #24022
2022-10-06 08:13:03 -04:00
Brad King
b768a5e23b
Help: Disambiguate cmake(1) program modes in Sphinx option references
...
Define the entry point to each mode as an option for the `cmake`
program, but reference the options for that mode as part of stand-in
`cmake-<mode>` programs.
2022-10-05 15:27:40 -04:00
Brad King
1394e8e7c1
Merge branch 'release-3.23'
2022-10-04 14:23:17 -04:00
Brad King
34a6da34b8
CMake 3.23.4
2022-10-04 13:26:33 -04:00
Brad King
5e53164acf
Merge topic 'improve-try_compile-debug-documentation'
...
3801785cc3 Help: Improve try_compile debug documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: alcroito <alexandru.croitor@qt.io >
Merge-request: !7735
2022-10-04 10:28:32 -04:00
Brad King
6755539fca
Merge topic 'fix-try_compile-doc-typo'
...
ef05a56387 Help: Fix typo in try_compile documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7736
2022-10-04 10:27:40 -04:00
Matthew Woehlke
3801785cc3
Help: Improve try_compile debug documentation
...
Update the --debug-trycompile documentation to account for recent
changes to try_compile. Mention where in the build tree to find
artifacts when using said option.
2022-10-03 11:44:58 -04:00
Matthew Woehlke
ef05a56387
Help: Fix typo in try_compile documentation
2022-09-30 15:49:35 -04:00
Matthew Woehlke
0f28653ba9
try_compile: Rename SOURCE_FROM_ARG -> SOURCE_FROM_CONTENT
...
Change the SOURCE_FROM_ARG keyword to try_compile to SOURCE_FROM_CONTENT
(which we can do because it was recently added and hasn't been in a
release yet). The new name should be clearer as to what it does, and
also more consistent with the CONTENT arguments to some other commands.
Also, fix a typo in an error message.
2022-09-30 14:50:25 -04:00
Brad King
cadcb6a5f0
Merge topic 'try_compile-no-cache'
...
09b3051524 try_compile: Add NO_CACHE option (also try_run)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7723
2022-09-29 07:59:02 -04:00
Brad King
beb4f5df47
Merge topic 'tutorial_step4_update'
...
37fceb6fd3 Tutorial: Update step 4 style
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7646
2022-09-29 07:54:05 -04:00
Matthew Woehlke
09b3051524
try_compile: Add NO_CACHE option (also try_run)
...
Add NO_CACHE option to try_compile and try_run, which places the results
in regular, rather than cache, variables.
Issue: #22799
2022-09-28 13:41:11 -04:00
Markus Ferrell
37fceb6fd3
Tutorial: Update step 4 style
2022-09-28 11:38:28 -04:00
Brad King
43a0206dad
Merge topic 'vs11-deprecate'
...
6c1337cb79 Deprecate Visual Studio 11 2012 generator
5faf145a5b Tests: Drop unused files from RunCMake.CommandLine
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7720
2022-09-28 10:40:32 -04:00
Brad King
b9968f3006
Merge topic 'cmake-presets-workflow'
...
374d82bbcd cmake: Add --workflow mode
e316812884 CMakePresets.json: Add workflow presets to schema
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7711
2022-09-28 10:38:41 -04:00
Brad King
6c1337cb79
Deprecate Visual Studio 11 2012 generator
...
Update documentation to mark the generator deprecated. Add a warning at
the end of generation plus an option to turn off the warning.
2022-09-27 11:45:50 -04:00
Kyle Edwards
374d82bbcd
cmake: Add --workflow mode
...
Fixes : #23118
2022-09-27 11:09:06 -04:00
Brad King
164a156c7c
Merge topic 'remove-vs10-generator'
...
8d6f015d59 Drop Visual Studio 10 2010 generator
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7718
2022-09-27 10:32:11 -04:00
Brad King
50b668ddc8
Merge topic 'add_subdirectory_system'
...
2eb30a7036 add_subdirectory: Add SYSTEM option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7399
2022-09-27 10:28:49 -04:00
Brad King
954b861dba
Merge topic 'cpack-nsis-arguments-command-line'
...
d1613ac880 CPack/NSIS: Add options to set makensis arguments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7715
2022-09-27 10:26:12 -04:00
Brad King
8d6f015d59
Drop Visual Studio 10 2010 generator
...
This generator has been deprecated since CMake 3.22. Remove it.
2022-09-26 15:43:04 -04:00
Johnny Jazeix
d1613ac880
CPack/NSIS: Add options to set makensis arguments
...
Fixes : #23446
2022-09-26 17:58:12 +02:00
Da Quexian
2eb30a7036
add_subdirectory: Add SYSTEM option
...
Fixes : #22401
Signed-off-by: Da Quexian <daquexian566@gmail.com >
2022-09-26 10:56:54 -04:00
Brad King
eb6e2ef7f6
Merge topic 'doc-typo-fix'
...
e34f543678 Help/CPACK_START_MENU_SHORTCUTS: fix monospace markup
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7714
2022-09-26 09:39:44 -04:00
Brad King
d497b06ee9
Merge topic 'cmake-presets-package-more-doc-fixes'
...
33b1338a92 Tests: Add test for --list-presets=all
4328deb618 Tests: Add test for cpack --list-presets
e909384062 Help: Add package preset to example presets file
16a24b0ab0 Help: List packagePresets field in cmake-presets.7
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7707
2022-09-26 09:38:54 -04:00
Ben Boeckel
e34f543678
Help/CPACK_START_MENU_SHORTCUTS: fix monospace markup
2022-09-23 15:50:51 -04:00
Brad King
98aef0929f
Merge topic 'try_compile-source-from'
...
611d801790 try_compile: Add SOURCE_FROM_FILE
a04eaf6742 Tests: Clean up and simplify TryCompile tests
cb14ae2b87 try_compile: Add SOURCE_FROM_{ARG,VAR}
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7700
2022-09-23 08:52:13 -04:00
Kyle Edwards
e909384062
Help: Add package preset to example presets file
2022-09-22 16:24:38 -04:00
Kyle Edwards
16a24b0ab0
Help: List packagePresets field in cmake-presets.7
2022-09-22 16:14:01 -04:00