Alex Turbov
1b94770f27
Help: Insert link to cmake --toolchain option
2022-08-14 09:58:42 +04:00
Alex Turbov
2c54cd871a
Help: Turn items of presets manual page into description list
...
It was an ordinal paragraphs (`<p>`) intermixed with blockquote elements.
2022-08-14 09:58:41 +04:00
Alex Turbov
e2198fd9dc
Help: Format -Werror/-Wno-error in the way it can be referenced
...
Replace mentions of these options in the presets manual page.
2022-08-14 09:58:41 +04:00
Alex Turbov
a6070b480f
Help: Use placeholder instead of listing choices in option lines
...
This avoids any ambiguity with whether the choices are literal
values or not. It also makes the option lines more concise.
2022-08-14 09:58:41 +04:00
Alex Turbov
8ba20cb56f
Help: Simplify cmake --log-level option definition
2022-08-14 09:58:41 +04:00
Alex Turbov
146e4e6bad
Help: Split ctest options into groups like cmake man page has
...
Co-Authored-By: Craig Scott <craig.scott@crascit.com >
2022-08-14 09:58:41 +04:00
Alex Turbov
4c1008d739
Help: Use :option: role to reference ctest options
2022-08-14 09:58:41 +04:00
Alex Turbov
c401fc5dee
Help: Simplify optional repeating option
...
Similar form has already been used in the `ctest -M <mode> [-T <step>]...`
synopsis and looks quite clean w/o extra characters.
2022-08-14 09:58:41 +04:00
Alex Turbov
28ecfd1690
Help: Short options first, then long, then Windows style
2022-08-14 09:58:41 +04:00
Alex Turbov
57f23fa8fc
Help: {<…> | <…>} → <…|…>
...
The form of alternative names for "placeholders" has been used already
(e.g., `<file|dir>` in the `cmake(1)` manual).
2022-08-14 09:58:41 +04:00
Alex Turbov
5a20d4c250
Help: Consistent spaces in option args
2022-08-14 09:58:41 +04:00
Alex Turbov
798834ef63
Help: <f> → <file> for --help* option descriptions
2022-08-14 09:58:41 +04:00
Alex Turbov
7f4b90a3a6
Help: Fix ctest options description
...
Missed empty line after `.. option::` and the next paragraph.
2022-08-10 00:46:24 +04:00
Brad King
f7a13beaa4
Merge branch 'release-3.24'
2022-08-09 09:16:44 -04:00
Brad King
8100f11713
Merge topic 'FindThreads-msvc-no-pthread-flag'
...
7203963788 FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7551
2022-08-09 09:16:43 -04:00
Brad King
425f6a0ef6
Merge topic 'FindThreads-msvc-no-pthread-flag' into release-3.24
...
7203963788 FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7551
2022-08-09 09:16:42 -04:00
Kitware Robot
241fc839d5
CMake Nightly Date Stamp
2022-08-09 00:01:12 -04:00
Brad King
7203963788
FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
...
Since commit 3257c34073 (FindThreads: avoid failing in AIX when using
-D_XOPEN_SOURCE=500, 2022-04-30, v3.24.0-rc1~197^2) we no longer check
for `pthreads.h` before checking for the `-pthread` flag. Compilers
targeting the MSVC ABI do not have such a flag, so avoid performing the
check unnecessarily.
Fixes : #23829
2022-08-08 12:41:57 -04:00
Brad King
ed86192cd8
Merge topic 'doc-markup-program-options'
...
a6abdf6c8f Help: Consistent options declaration -- short first, then long
f4563f05db Help: Value for `--graphviz=` option actually is mandatory
04843d743e Help: Replace a bunch of more ``--option`` to `:option:` role
09446266ee Help: Replace mentions of ``-D`` option with :option:`-D` role
b57f27b087 Help: Replace mentions of ``-T`` and ``-A`` options with role
d25b232dee Help: Replace mentions of ``-G`` option with :option:`-G` role
63940e1cab Help: Replace mentions of ``-C`` option with :option:`-C` role
183a49cbfe Help: Replace mentions of ``-S`` option with :option:`-S` role
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7544
2022-08-08 09:39:41 -04:00
Kitware Robot
33d2491449
CMake Nightly Date Stamp
2022-08-08 00:01:11 -04:00
Kitware Robot
767052c372
CMake Nightly Date Stamp
2022-08-07 00:01:05 -04:00
Kitware Robot
40db0c34b6
CMake Nightly Date Stamp
2022-08-06 00:01:10 -04:00
Brad King
c3da25f3d9
Merge topic 'string-JSON-error-typo'
...
e0d3e6e147 string(JSON): Fix typo in error message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7547
2022-08-05 08:54:53 -04:00
Brad King
ac00b37ea2
Merge topic 'swift_debug'
...
20fe9cf7e9 Swift: Disable optimization when compiling in Debug
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7545
2022-08-05 08:53:58 -04:00
Brad King
9274bdff27
Merge topic 'find_package-one-more-path'
...
19366408fe cmFindPackageCommand: Protect overrides of `cmDirectoryListGenerator`
e55c154c5b cmFindPackageCommand: Add one more search path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7542
2022-08-05 08:53:09 -04:00
Kitware Robot
ba2a9fb765
CMake Nightly Date Stamp
2022-08-05 00:01:13 -04:00
Sean Kahler
e0d3e6e147
string(JSON): Fix typo in error message
...
`s/then/than/` in a comparison.
2022-08-04 15:50:59 -04:00
Alex Turbov
a6abdf6c8f
Help: Consistent options declaration -- short first, then long
2022-08-04 19:34:45 +04:00
Alex Turbov
f4563f05db
Help: Value for --graphviz= option actually is mandatory
...
Before it was `[file]` that AFAIK means optional.
2022-08-04 19:34:45 +04:00
Alex Turbov
04843d743e
Help: Replace a bunch of more `--option to :option:` role
2022-08-04 19:34:45 +04:00
Alex Turbov
09446266ee
Help: Replace mentions of `-D option with :option:-D` role
2022-08-04 19:34:45 +04:00
Alex Turbov
b57f27b087
Help: Replace mentions of `-T and -A` options with role
2022-08-04 19:34:45 +04:00
Alex Turbov
d25b232dee
Help: Replace mentions of `-G option with :option:-G` role
2022-08-04 19:34:45 +04:00
Alex Turbov
63940e1cab
Help: Replace mentions of `-C option with :option:-C` role
2022-08-04 19:34:44 +04:00
Alex Turbov
183a49cbfe
Help: Replace mentions of `-S option with :option:-S` role
2022-08-04 19:33:42 +04:00
Alex Turbov
765d2768f1
Help: Turn some mentions of options into links on executables man page
2022-08-04 19:32:56 +04:00
Alex Turbov
8ffc5e1bbb
Help: Use option directive for the executables manual pages
...
It'll allow to refer to a particular option of any executable.
There are two "fake" programs added for the CMake script mode (`cmake_P`)
and CMake CLI Tool mode (`cmake_E`).
2022-08-04 19:15:06 +04:00
Brad King
e95059c867
Merge branch 'release-3.24'
2022-08-04 10:24:30 -04:00
Brad King
4be24f031a
CMake 3.24.0
v3.24.0
2022-08-04 09:53:57 -04:00
David Geldreich
20fe9cf7e9
Swift: Disable optimization when compiling in Debug
...
By default no `-O...` flag is specified for Debug configuration for
Swift so Xcode adds a (wrong) `-O` flag that prevents one from accessing
variables while debugging. Add `-Onone` to the Swift Debug
configuration to avoid this.
Fixes : #23818
2022-08-04 09:45:31 -04:00
Alex Turbov
19366408fe
cmFindPackageCommand: Protect overrides of cmDirectoryListGenerator
...
Move virtual function overrides into a protected section of class.
2022-08-04 09:41:59 -04:00
Alex Turbov
e55c154c5b
cmFindPackageCommand: Add one more search path
...
The `PREFIX/(Foo|foo|FOO).*/(cmake|CMake)/(Foo|foo|FOO).*/` search
path is the similar to the one already exists
`PREFIX/(Foo|foo|FOO).*/(lib/ARCH|lib*|share)/cmake/(Foo|foo|FOO).*/`.
2022-08-04 09:41:59 -04:00
Brad King
ddfccc36de
Merge topic 'doc-CPACK_NUGET_PACKAGE_REQUIRE_LICENSE_ACCEPTANCE'
...
02621e66d0 Help: Add CPACK_NUGET_PACKAGE_REQUIRE_LICENSE_ACCEPTANCE docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7541
2022-08-04 09:39:42 -04:00
Brad King
f05ec53112
Merge topic 'cmake-preset-error-reporting'
...
47929ee98c presets: Add basic error forwarding from cmake preset json parser
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7495
2022-08-04 09:38:34 -04:00
Brad King
52dec3f11f
Merge topic 'enable-intel-llvm-ipo-3'
...
c633bd76d8 Add linker prefix for "-stack" flag on MSVC builds
6823db0c5a Enable IPO for IntelLLVM compilers on Linux and Windows
adbffd204d Propagate OpenMP compiler flags to linker for IntelLLVM
3640842df2 Tests: Update ModuleDefinition for IntelLLVM MSVC Frontend Variant
5d5a712303 IntelLLVM: Pass linker flags to the compiler when used as linker
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7533
2022-08-04 09:37:47 -04:00
Brad King
a4e765b78f
Merge branch 'release-3.24'
2022-08-04 09:35:50 -04:00
Brad King
0104fec300
Merge topic 'makefile-path-consistency'
...
5e0b06fe84 Makefiles: Restore path consistency in the global dispatch makefile
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7543
2022-08-04 09:35:50 -04:00
Brad King
019c75eb9e
Merge topic 'makefile-path-consistency' into release-3.24
...
5e0b06fe84 Makefiles: Restore path consistency in the global dispatch makefile
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7543
2022-08-04 09:35:49 -04:00
Brad King
b4b2ab8ef2
Merge branch 'release-3.24'
2022-08-04 09:34:48 -04:00
Brad King
d4ec1ded39
Merge topic 'fetchcontent-set-CMAKE_VERIFY_INTERFACE_HEADER_SETS'
...
2a9cc3e8e8 FetchContent: Disable header set verification for dependencies
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7535
2022-08-04 09:34:48 -04:00