Commit Graph

37703 Commits

Author SHA1 Message Date
Brad King f143b8a623 Merge topic 'keyword-project-name-fix'
a38e594340 project: fix keyword argument as project name
7238c8c999 ArgumentParser: implement HasKeyword helper

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10935
2025-07-09 09:44:50 -04:00
Kitware Robot 51e22572ed CMake Nightly Date Stamp 2025-07-09 00:04:52 -04:00
Vito Gamberini a38e594340 project: fix keyword argument as project name
Fixes: #27051
2025-07-08 18:00:00 -04:00
Vito Gamberini 7238c8c999 ArgumentParser: implement HasKeyword helper 2025-07-08 17:44:07 -04:00
Kitware Robot 49d5d9f708 CMake Nightly Date Stamp 2025-07-08 00:04:52 -04:00
Brad King 5525104cd0 Merge topic 'update-kwsys'
14891241ec Merge branch 'upstream-KWSys' into update-kwsys
9d2ef414ba KWSys 2025-07-07 (2f3a7814)
7c8e4687b9 ci: configure 'typos' to tolerate all 8-12 character hex identifiers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10920
2025-07-07 13:23:47 -04:00
Brad King 14891241ec Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-07-07 (2f3a7814)
2025-07-07 11:23:55 -04:00
Kitware Robot 7a5dc2b32b CMake Nightly Date Stamp 2025-07-07 00:07:26 -04:00
Kitware Robot babeb502f4 CMake Nightly Date Stamp 2025-07-06 00:04:40 -04:00
Kitware Robot 6903385999 CMake Nightly Date Stamp 2025-07-05 00:04:17 -04:00
Kitware Robot be4ec6a11e CMake Nightly Date Stamp 2025-07-04 00:04:24 -04:00
Brad King a6245c9bf6 Merge topic 'cps-file-set'
7db44fbfb8 CPS: Support FILE_SET HEADERS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10906
2025-07-03 13:04:50 -04:00
Brad King bc07a21836 Merge topic 'post-rel-dev'
8071304f2e Configure CMake itself with policies through CMake 4.0
f7380d8c4a export: Increase maximum policy version in exported files to 4.0
94ff184a63 Add deprecation warnings for policies CMP0143 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10925
2025-07-03 13:03:14 -04:00
Kitware Robot 7dae5d8aa1 CMake Nightly Date Stamp 2025-07-03 06:44:51 -04:00
Vito Gamberini 7db44fbfb8 CPS: Support FILE_SET HEADERS
Fixes: #26806
2025-07-02 10:34:10 -04:00
Brad King 8071304f2e Configure CMake itself with policies through CMake 4.0 2025-07-02 09:42:26 -04:00
Brad King f7380d8c4a export: Increase maximum policy version in exported files to 4.0
The files generated by `install(EXPORT)`, `export()`, and
`install_jar_exports()` commands are known to work with policies
as of CMake 4.0, so enable them in sufficiently new CMake versions.
2025-07-02 09:41:30 -04:00
Brad King 94ff184a63 Add deprecation warnings for policies CMP0143 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.26 and below to encourage projects to port
away from setting policies to OLD.
2025-07-02 09:38:53 -04:00
Brad King 0a385b880a Merge topic 'ctest-safe-build-id'
2aa2c9af97 ctest: Don't modify build and site names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10911
2025-07-02 08:03:33 -04:00
Brad King cbc3166ca4 Merge topic 'clang-cl-c23'
9a720d96eb clang-cl: Add support for C23

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Acked-by: Raul Tambre <raul@tambre.ee>
Merge-request: !10916
2025-07-02 08:01:58 -04:00
Brad King 2e76b79d80 Merge topic 'clang-cl-c23' into release-4.1
9a720d96eb clang-cl: Add support for C23

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Acked-by: Raul Tambre <raul@tambre.ee>
Merge-request: !10916
2025-07-02 08:01:55 -04:00
Brad King b938922909 Merge topic 'cps-noconfig-fix'
58d9950842 CPS: Fix empty configuration field on noconfig builds

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10922
2025-07-02 08:00:39 -04:00
Kitware Robot e4770e6285 CMake Nightly Date Stamp 2025-07-02 00:05:05 -04:00
Vito Gamberini 58d9950842 CPS: Fix empty configuration field on noconfig builds
Fixes: #27044
2025-07-01 17:01:13 -04:00
Yonggang Luo 9a720d96eb clang-cl: Add support for C23
Although there is no `cl -std:c23` flag, the underlying Clang compiler
does have a C23 mode we can activate by passing `-std=c23` through a
`clang-cl` wrapper flag.

Also port the fix from commit 30139913e9 (VS: Restore support for mixing
C++23 and C in one target with clang-cl, 2024-12-09, v3.31.3~10^2).

Fixes: #27038
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Co-authored-by: Brad King <brad.king@kitware.com>
2025-07-01 11:20:56 -04:00
Brad King 45e1cbc29f Merge topic 'windows-old-sdk'
d63d3bb606 StdIo: Fix compilation on older Windows SDK versions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Joe Snyder <joe.snyder@kitware.com>
Merge-request: !10918
2025-07-01 11:16:59 -04:00
Brad King 33375efebc Merge topic 'windows-old-sdk' into release-4.1
d63d3bb606 StdIo: Fix compilation on older Windows SDK versions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Joe Snyder <joe.snyder@kitware.com>
Merge-request: !10918
2025-07-01 11:16:58 -04:00
Brad King 95bec554ff Merge topic 'update-kwsys'
57a54d6314 Merge branch 'upstream-KWSys' into update-kwsys
d9c3dd3228 KWSys 2025-07-01 (660d6875)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10917
2025-07-01 11:11:38 -04:00
Brad King 17d4eee742 Merge topic 'update-kwsys' into release-4.1
57a54d6314 Merge branch 'upstream-KWSys' into update-kwsys
d9c3dd3228 KWSys 2025-07-01 (660d6875)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10917
2025-07-01 11:11:35 -04:00
Brad King 363cb28cfe Merge topic 'ctest-fix-relative-paths'
f98732bea8 ctest_configure: Restore handling of relative CTEST_BINARY_DIRECTORY
5a1d5fd9be ctest_start: Restore log file location for relative CTEST_BINARY_DIRECTORY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10912
2025-07-01 11:04:04 -04:00
Brad King 47901f3c53 Merge topic 'ctest-fix-relative-paths' into release-4.1
f98732bea8 ctest_configure: Restore handling of relative CTEST_BINARY_DIRECTORY
5a1d5fd9be ctest_start: Restore log file location for relative CTEST_BINARY_DIRECTORY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10912
2025-07-01 11:04:02 -04:00
Brad King 57a54d6314 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-07-01 (660d6875)
2025-07-01 10:46:02 -04:00
Kitware Robot 5a4b4ea877 CMake Nightly Date Stamp 2025-07-01 00:04:29 -04:00
Brad King d63d3bb606 StdIo: Fix compilation on older Windows SDK versions
Define `ENABLE_VIRTUAL_TERMINAL_{INPUT,PROCESSING}` if necessary.
2025-06-30 16:51:48 -04:00
Daniel Pfeifer f98732bea8 ctest_configure: Restore handling of relative CTEST_BINARY_DIRECTORY
In commit e52eada2c2 (cmCTestConfigureCommand: Refactor command line
construction, 2025-01-28, v4.0.0-rc1~60^2~2) we switched from the
`BuildDirectory` setting, which was always an absolute path, to
`CTEST_BINARY_DIRECTORY`.  Convert it to an absolute path too.

Fixes: #27026
2025-06-30 11:06:14 -04:00
Daniel Pfeifer 5a1d5fd9be ctest_start: Restore log file location for relative CTEST_BINARY_DIRECTORY
Extend commit 3c321b6571 (cmCTestStartCommand: Inline
InitializeFromCommand function, 2024-10-17, v4.0.0-rc1~605^2~6) to
initialize BinaryDir as an absolute path.

Issue: #27026
2025-06-30 11:03:53 -04:00
Brad King 8543a0b003 Merge topic 'vs14-deprecate'
b10daadd08 Deprecate Visual Studio 14 2015 generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10909
2025-06-30 08:54:59 -04:00
Kitware Robot 2dd12e7b3d CMake Nightly Date Stamp 2025-06-30 00:04:48 -04:00
Kitware Robot 5e750d4207 CMake Nightly Date Stamp 2025-06-29 00:04:38 -04:00
Daniel Pfeifer 2aa2c9af97 ctest: Don't modify build and site names
CTest currently removes non-filename characters from CTEST_SITE and
CTEST_BUILDNAME in an inconsistent way, which leads to unconnected
information on CDash.  Non-filename characters actually don't cause
any issue in CDash at all, nor are they invalid XML.  The only place
where removing them may be needed is when an actual filename is
constructed.

Remove the filtering from the SafeBuildIdField function and place
it where a filename is constructed.
2025-06-28 11:39:42 +02:00
Kitware Robot d80b5a9ac2 CMake Nightly Date Stamp 2025-06-28 00:04:31 -04:00
Kitware Robot 659919a30c CMake Nightly Date Stamp 2025-06-27 00:04:45 -04:00
Brad King b10daadd08 Deprecate Visual Studio 14 2015 generator
Update documentation to mark the generator deprecated.  Add a warning at
the end of generation plus an option to turn off the warning.
2025-06-26 09:27:24 -04:00
Brad King 88dadba6cb Merge topic 'vs-outdated-usage'
bd31652e1b VS: Drop outdated usage text about appending platform to generator name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10905
2025-06-26 09:21:41 -04:00
Brad King c6033e7b64 Merge topic 'vs-outdated-usage' into release-4.1
bd31652e1b VS: Drop outdated usage text about appending platform to generator name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10905
2025-06-26 09:21:39 -04:00
Brad King 3ae807ffbb Merge topic 'pre-commit-version-bump-typos-hook'
15d558016c pre-commit: change the repo and version bump `typos` hook

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10904
2025-06-26 09:08:07 -04:00
Brad King 6d30bda5b9 Merge topic 'more-cps-metadata'
755a24ccae CPS: Add export support for [default_]license
fba540daf6 project: Add SPDX_LICENSE argument
f0b419c473 Help: Tweak project DESCRIPTION documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10894
2025-06-26 09:05:52 -04:00
Kitware Robot dcafc85f1d CMake Nightly Date Stamp 2025-06-26 00:05:05 -04:00
Kitware Robot 08e4775016 CMake Nightly Date Stamp 2025-06-25 00:05:13 -04:00
Brad King bd31652e1b VS: Drop outdated usage text about appending platform to generator name
This was missed by commit 381c446ff7 (VS: Remove support for appending a
platform to the generator name, 2024-12-13, v4.0.0-rc1~156^2).

Issue: #26481
2025-06-24 14:23:58 -04:00