Brad King
56ee75a135
Merge topic 'create-test-source-list-extern'
...
78983cb85e create_test_source_list: declare functions as `extern`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10274
2025-02-03 10:06:12 -05:00
Kitware Robot
6ca13692a8
CMake Nightly Date Stamp
2025-02-03 00:04:56 -05:00
Brad King
eacc728729
Merge topic 'enum_set-enhancements'
...
77ab2446d4 enum_set enhancements, step 2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10272
2025-02-02 07:23:15 -05:00
Brad King
d65f522a50
Merge topic 'FindRuby-compat-vars'
...
2d86cf314f FindRuby: Drop upper-case RUBY_ results in favor of Ruby_ variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10273
2025-02-02 07:03:10 -05:00
Kitware Robot
321b71cfde
CMake Nightly Date Stamp
2025-02-02 00:14:20 -05:00
Brad King
4a11fd8dde
Merge topic 'help-formatting'
...
d1d134534d Help: Add formatting to FindGettext and FindGnuplot
d138555959 Help: Use Title Case for all "Imported Targets" sections
bbbf3536c9 Help: Make sure all deprecated utility modules have a notice
969b039f40 Help: Reference correct variables in 3.6 release notes
9c963de998 Help: Remove stray spaces and one colon
51e4d81f16 Help: Remove accidental blockquotes around lists
718043b540 Help: Convert some literal blocks into tables and lists
914d580a4f Utilities/Sphinx: Ignore warning in generated texinfo documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10269
2025-02-01 07:19:04 -05:00
Brad King
fddb15f67b
Merge topic 'use-launchers'
...
7d2a6bc67d launchers: issue a message when rules are not defined
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10268
2025-02-01 07:17:58 -05:00
Brad King
765eb70fa0
Merge topic 'cpack-tar'
...
09d5a4d7f0 CPack: add uncompressed TAR support
9d4be239b2 Help: Improve CPack Archive generator format list layout
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10265
2025-02-01 07:16:43 -05:00
Brad King
9bc8dacf2f
Merge topic 'FindRuby-debug'
...
8d1f9e5408 FindRuby: Port debug output to message(DEBUG)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10263
2025-02-01 07:15:34 -05:00
Brad King
2d86cf314f
FindRuby: Drop upper-case RUBY_ results in favor of Ruby_ variables
...
Add policy CMP0185 for compatibility.
Fixes : #26640
2025-02-01 07:12:30 -05:00
Kitware Robot
05627bffbc
CMake Nightly Date Stamp
2025-02-01 00:09:00 -05:00
Ben Boeckel
78983cb85e
create_test_source_list: declare functions as extern
...
This avoids linting thinking that `func_name` can be declared `static`.
It is actually in a separate file and found at link time, so explicitly
mark it as such.
2025-01-31 22:39:25 +01:00
Marc Chevrier
77ab2446d4
enum_set enhancements, step 2
...
* remove support of size computation based on "magic" enum element because
Oracle SunPro compilers crash on it.
* enhance handling of enum_set with explicit size.
2025-01-31 19:14:36 +01:00
Nikita Nemkin
d1d134534d
Help: Add formatting to FindGettext and FindGnuplot
2025-01-31 12:23:29 -05:00
Nikita Nemkin
d138555959
Help: Use Title Case for all "Imported Targets" sections
2025-01-31 12:23:29 -05:00
Nikita Nemkin
bbbf3536c9
Help: Make sure all deprecated utility modules have a notice
2025-01-31 12:23:29 -05:00
Nikita Nemkin
969b039f40
Help: Reference correct variables in 3.6 release notes
2025-01-31 12:23:29 -05:00
Nikita Nemkin
9c963de998
Help: Remove stray spaces and one colon
2025-01-31 12:23:29 -05:00
Nikita Nemkin
51e4d81f16
Help: Remove accidental blockquotes around lists
...
Indenting a list relative to the previous paragraph creates
a blockquote. Combined with the natural list indent it results
in an overly large left margin.
2025-01-31 12:23:29 -05:00
Nikita Nemkin
718043b540
Help: Convert some literal blocks into tables and lists
...
Also, ensure that header-less tables have a top border in cmake.css.
2025-01-31 12:23:29 -05:00
Brad King
914d580a4f
Utilities/Sphinx: Ignore warning in generated texinfo documentation
2025-01-31 12:23:29 -05:00
Johnny Jazeix
09d5a4d7f0
CPack: add uncompressed TAR support
...
Fixes : #26646
2025-01-31 10:11:32 -05:00
Brad King
9d4be239b2
Help: Improve CPack Archive generator format list layout
2025-01-31 10:09:56 -05:00
Charlie Savage
8d1f9e5408
FindRuby: Port debug output to message(DEBUG)
2025-01-31 09:07:19 -05:00
Brad King
f28d76aeb4
Merge topic 'module-include-fphsa'
...
7afa58b15d Modules/Find*: Include FindPackageHandleStandardArgs normally
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10257
2025-01-31 09:01:18 -05:00
Brad King
13cb4913c5
Merge topic 'ci-cuda-12.6'
...
7f1250ca68 ci: Drop redundant job testing cuda12.2 with nvcc -ccbin=clang++-18
1ffa199c55 ci: add jobs testing cuda12.6 with nvcc and clang 18
07ddceea84 ci: add cuda12.6 base image
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10261
2025-01-31 09:00:26 -05:00
Daniel Pfeifer
7d2a6bc67d
launchers: issue a message when rules are not defined
2025-01-31 14:04:02 +01:00
Kitware Robot
f0cc688c10
CMake Nightly Date Stamp
2025-01-31 00:06:36 -05:00
Brad King
7f1250ca68
ci: Drop redundant job testing cuda12.2 with nvcc -ccbin=clang++-18
...
It has been superseded by an equivalent job with cuda12.6,
which does not need `--allow-unsupported-compiler`.
2025-01-30 12:00:33 -05:00
Brad King
1ffa199c55
ci: add jobs testing cuda12.6 with nvcc and clang 18
2025-01-30 09:34:41 -05:00
Brad King
07ddceea84
ci: add cuda12.6 base image
2025-01-30 09:31:09 -05:00
Brad King
7afa58b15d
Modules/Find*: Include FindPackageHandleStandardArgs normally
...
Since commit d74210a8bd (CMP0017: Remove support for OLD behavior,
2024-11-17) we can rely on CMP0017's NEW behavior unconditionally.
Calling `include(FindPackageHandleStandardArgs)` in a builtin module
will always get the builtin `FindPackageHandleStandardArgs`.
2025-01-30 08:53:12 -05:00
Brad King
78bc455454
Merge topic 'update-kwsys'
...
768f2e00b3 Merge branch 'upstream-KWSys' into update-kwsys
7342114155 KWSys 2025-01-30 (936c606c)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10260
2025-01-30 08:51:07 -05:00
Brad King
3a93def224
Merge topic 'issue_FindPython_SABI'
...
1995557885 FindPython : fix a misspelled variable name in __python_import_library macro.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10255
2025-01-30 08:49:17 -05:00
Brad King
3e64c6a56e
Merge topic 'msvc-runtime-checks'
...
2b2344b412 MSVC: Add abstraction for runtime checks
49dcd1ce5d Help: Fix MSVC_DEBUG_INFORMATION_FORMAT description of example
2f8e643d9d CMP0141: Fix documentation copied from CMP0091
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !10214
2025-01-30 08:48:01 -05:00
Brad King
0870e6c06b
Merge topic 'enum_set-enhancements'
...
35dafcb5a1 cmext/enum_set: add various enhancements to increase usability
a3ae58c9c5 C++ features: add cm::is_scoped_enum from C++23
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10248
2025-01-30 08:44:35 -05:00
Brad King
a832d31474
Merge topic 'cmake_sarif_output'
...
abbe41578d cmake: Add SARIF diagnostics output support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !10139
2025-01-30 08:43:11 -05:00
Brad King
892204764f
Merge topic 'help-code-block'
...
9890cfc4ec Help: More syntax highlighting for literal blocks
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10258
2025-01-30 08:41:16 -05:00
Brad King
a9e201677b
Merge topic 'FindRuby-formatting'
...
64e4b4c638 FindRuby: Reformat code so it is consistent
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10256
2025-01-30 08:38:47 -05:00
Brad King
768f2e00b3
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2025-01-30 (936c606c)
2025-01-30 06:53:36 -05:00
KWSys Upstream
7342114155
KWSys 2025-01-30 (936c606c)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 936c606c086f2e9bf045a03f4d8b61a779001d4d (master).
Upstream Shortlog
-----------------
Peter Kokot (1):
08b9f90d Use lower case style for CMake commands
2025-01-30 06:53:36 -05:00
Kitware Robot
0c3f99d3fd
CMake Nightly Date Stamp
2025-01-30 00:09:10 -05:00
Nikita Nemkin
9890cfc4ec
Help: More syntax highlighting for literal blocks
...
Covers almost all blocks containing actual code, except:
* Parsed-literal blocks can't be highlighted, including many command
summaries and substitution-heavy docs like find_... commands.
This is a Sphinx limitation.
* Code with errors, like CMP0049, DEPLOYMENT_ADDITIONAL_FILES,
DEPLOYMENT_REMOTE_DIRECTORY, @PACKAGE_INIT@ substitution in the
tutorial, bracket arguments/comments in cmake-language.7 and
cmake-developer.7.
* FindQt4 module, which needs reformatting.
2025-01-29 16:48:53 -05:00
Charlie Savage
64e4b4c638
FindRuby: Reformat code so it is consistent
2025-01-29 10:29:16 -08:00
AJIOB
2b2344b412
MSVC: Add abstraction for runtime checks
...
Replace our hard-coded default for `/RTC1` with a first-class
abstraction to select runtime checks from an enumeration of logical
names. Add a `MSVC_RUNTIME_CHECKS` target property and corresponding
`CMAKE_MSVC_RUNTIME_CHECKS` variable.
Removing the old default flag requires a policy because existing
projects may rely on string processing to edit them and choose
runtime checks under the old behavior. Add policy CMP0184 to
provide compatibility.
Fixes : #26614
2025-01-29 13:07:41 -05:00
Brad King
e806a490b6
Merge topic 'update-kwsys'
...
10742bb679 Merge branch 'upstream-KWSys' into update-kwsys
1f29e3eaf5 KWSys 2025-01-29 (6f535da1)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10247
2025-01-29 11:43:21 -05:00
Brad King
baeaffd79f
Merge topic 'windows-longPathAware'
...
329643556d Windows: Enable longPathAware for cmake binaries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10249
2025-01-29 11:38:56 -05:00
Brad King
ec7cc80370
Merge topic 'patch-lower-case-style'
...
4e6a13f211 Use lower case style for commands
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Alex Turbov <i.zaufi@gmail.com >
Merge-request: !10245
2025-01-29 11:37:51 -05:00
Brad King
e509c0a423
Merge topic 'patch-else'
...
9f2efc3270 Remove optional arguments from else() and end*() commands
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Alex Turbov <i.zaufi@gmail.com >
Merge-request: !10243
2025-01-29 11:35:30 -05:00
Brad King
bc137d6225
Merge topic 'compile_only_genex_support_object_libraries'
...
c87004fdc3 COMPILE_ONLY: Genex now stops object libraries from linking
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Robert Maynard <robertjmaynard@gmail.com >
Merge-request: !10240
2025-01-29 11:34:08 -05:00