Commit Graph

72880 Commits

Author SHA1 Message Date
Brad King
c11bbed4bd Merge topic 'fbuild_plat_toolset' into release-4.2
af8771f974 FASTBuild: set PlatformToolset in the generated .bff file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11555
2026-01-07 10:31:03 -05:00
Brad King
458dff0bc8 Merge branch 'release-4.1' into release-4.2 2026-01-07 09:43:41 -05:00
Brad King
77371c0779 Merge topic 'ci-sccache-port-from-runner' into release-4.2
cb865362ed gitlab-ci: get the sccache server port from the runner

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11560
2026-01-07 09:34:18 -05:00
Brad King
b87059c03c Merge branch 'release-4.0' into release-4.1 2026-01-07 09:33:04 -05:00
Brad King
1c031c8a1d Merge topic 'ci-sccache-port-from-runner' into release-4.1
cb865362ed gitlab-ci: get the sccache server port from the runner

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11560
2026-01-07 09:32:51 -05:00
Brad King
4ae62b6709 Merge branch 'release-3.31' into release-4.0 2026-01-07 09:32:37 -05:00
Brad King
61b443f398 Merge topic 'ci-sccache-port-from-runner' into release-4.0
cb865362ed gitlab-ci: get the sccache server port from the runner

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11560
2026-01-07 09:32:26 -05:00
Brad King
bd9d4d5a8c Merge topic 'ci-sccache-port-from-runner' into release-3.31
cb865362ed gitlab-ci: get the sccache server port from the runner

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11560
2026-01-07 09:31:33 -05:00
Craig Scott
3bf895dc41 Merge topic 'doc-expand-appimage-generator' into release-4.2
b8c9c65682 Help: Correct and expand AppImage CPack generator docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11545
2026-01-07 06:45:57 -05:00
Craig Scott
b8c9c65682 Help: Correct and expand AppImage CPack generator docs
The help text for most variables were just copy-and-pasted from the
minimal output from running `appimagetool --help`. That text lacked
considerable important detail.

The default values for most of the variables were also specified
incorrectly. They listed themselves as the default, which is wrong.
In most cases, the variables are unset by default. For those that
actually have fallback values, update them to specify that.

The CPACK_APPIMAGE_DESKTOP_FILE variable is not mandatory.
The code does provide fallback behavior when it isn't set. What is
mandatory though is that there is a .desktop file, either specified
explicitly, or found within the installed files. There is also a close
relationship with CPACK_PACKAGE_ICON that deserves explicitly
drawing attention to.
2026-01-07 08:46:59 +11:00
Eduard Voronkin
af8771f974 FASTBuild: set PlatformToolset in the generated .bff file
Fixes: #27481
2026-01-06 16:28:04 -05:00
Ben Boeckel
cb865362ed gitlab-ci: get the sccache server port from the runner
Our CI setup has per-project runner setups, so they are now providing
the port configuration. The main goal is to have Rosetta caches separate
from the native caches on macOS, but removing this removes a bit of
coupling to Kitware's CI setup.
2025-12-29 16:34:10 -05:00
Craig Scott
637da9c26a Merge topic 'doc-cleanup-4.2' into release-4.2
a7fc57ed1c Help: Restore correct sort order for property and variable manuals
e73307957e Help: Fix minor grammar problems

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11546
2025-12-23 19:27:31 -05:00
Craig Scott
a7fc57ed1c Help: Restore correct sort order for property and variable manuals 2025-12-21 20:51:52 +11:00
Craig Scott
e73307957e Help: Fix minor grammar problems 2025-12-21 20:51:52 +11:00
Brad King
68c8e0e3e5 Merge branch 'release-4.1' into release-4.2 2025-12-20 09:31:41 -05:00
Brad King
397d4b796f Merge topic 'sarif-path-encoding' into release-4.2
2eef2baf93 cmake: Fix SARIF diagnostics output path encoding on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11538
2025-12-20 09:30:57 -05:00
Brad King
b713b7299c Merge branch 'release-4.0' into release-4.1 2025-12-20 09:28:59 -05:00
Brad King
8039d1ffba Merge topic 'backport-sarif-path-encoding' into release-4.1
2eef2baf93 cmake: Fix SARIF diagnostics output path encoding on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11538
2025-12-20 09:28:36 -05:00
Brad King
4c0c3d6f9f Merge topic 'backport-sarif-path-encoding' into release-4.0
2eef2baf93 cmake: Fix SARIF diagnostics output path encoding on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11538
2025-12-20 09:28:06 -05:00
Brad King
2eef2baf93 cmake: Fix SARIF diagnostics output path encoding on Windows
Avoid using `filesystem::path` to hold the output path.  It performs
encoding conversions that violate our internal UTF-8 encoding.

Fixes: #27471
Issue: #27472
2025-12-19 14:33:42 -05:00
Brad King
a9c13c4144 Merge branch 'release-4.1' into release-4.2 2025-12-18 10:35:53 -05:00
Brad King
cfa16434c0 Merge topic 'doc-4.1-vs-flags' into release-4.2
ea357236f4 Help: Add 4.1 release note about VS link flag suppression

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11525
2025-12-18 10:35:12 -05:00
Brad King
54810df231 Merge topic 'doc-4.1-vs-flags' into release-4.1
ea357236f4 Help: Add 4.1 release note about VS link flag suppression

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11525
2025-12-18 10:34:30 -05:00
Brad King
625ce16244 Merge topic 'vs-link-defaults' into release-4.2
46e59b5168 Merge branch 'backport-vs-link-defaults' into vs-link-defaults
b6defd96c9 VS: Restore subsystem link flag for DLLs
91b9db90e5 VS: Restore subsystem link flag for DLLs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex Overchenko <aleksandr9809@gmail.com>
Merge-request: !11524
2025-12-18 10:30:18 -05:00
Brad King
ff98528f42 Merge topic 'backport-vs-link-defaults' into release-4.1
91b9db90e5 VS: Restore subsystem link flag for DLLs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11524
2025-12-18 10:29:21 -05:00
Brad King
46e59b5168 Merge branch 'backport-vs-link-defaults' into vs-link-defaults 2025-12-17 17:42:10 -05:00
Brad King
b6defd96c9 VS: Restore subsystem link flag for DLLs
In commit 99d09ec45a (VS: Suppress MSBuild default link flags not
specified by project or user, 2025-06-17, v4.1.0-rc1~6^2) we removed our
default `-subsystem:...` link flag from `SHARED` and `MODULE` libraries
in Visual Studio generators for consistency with command-line generators.
However, unlike other flag suppressions for #27004, this change did not
just suppress MSBuild defaults, but actually changed flags the generator
was previously adding itself.

For the linker subsystem flag, consistency across generators should
perhaps achieved by adding the flag in other generators instead of
removing it from Visual Studio generators.  Restore the previous
behavior pending further investigation.

Issue: #27466
Fixes: #27464
2025-12-17 17:41:36 -05:00
Brad King
91b9db90e5 VS: Restore subsystem link flag for DLLs
In commit 99d09ec45a (VS: Suppress MSBuild default link flags not
specified by project or user, 2025-06-17, v4.1.0-rc1~6^2) we removed our
default `-subsystem:...` link flag from `SHARED` and `MODULE` libraries
in Visual Studio generators for consistency with command-line generators.
However, unlike other flag suppressions for #27004, this change did not
just suppress MSBuild defaults, but actually changed flags the generator
was previously adding itself.

For the linker subsystem flag, consistency across generators should
perhaps achieved by adding the flag in other generators instead of
removing it from Visual Studio generators.  Restore the previous
behavior pending further investigation.

Issue: #27466
Fixes: #27464
2025-12-17 17:41:17 -05:00
Brad King
ea357236f4 Help: Add 4.1 release note about VS link flag suppression
Document link flags suppressed by commit 99d09ec45a (VS: Suppress
MSBuild default link flags not specified by project or user, 2025-06-17,
v4.1.0-rc1~6^2).  Leave out `-subsystem` because that's being reverted
by another commit.

Issue: #27004
Issue: #27464
2025-12-17 16:58:30 -05:00
Brad King
1f3471dcda Merge topic 'tutorial-vendor-msvc' into release-4.2
58fc663688 Tutorial: Provide MSVC example to build Vendor library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11501
2025-12-12 09:53:56 -05:00
Brad King
529c9b53b6 Merge branch 'release-4.1' into release-4.2 2025-12-12 09:45:23 -05:00
Brad King
5ffebf3b67 Merge topic 'linux32-system-libarchive' into release-4.2
cea7f7fc32 Linux: Do not force 64-bit `time_t` on 32-bit archs with system libarchive
16cc3e25d4 Utilities: Select bundled or external dependencies very early

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11505
2025-12-12 09:44:20 -05:00
Brad King
1c3d9cdcdf Merge topic 'stdio-ctrl-c' into release-4.2
c55dfbf656 StdIo: Restore compilation on 32-bit MinGW

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11503
2025-12-12 09:42:44 -05:00
Brad King
9c0cb30f06 Merge topic 'backport-linux32-system-libarchive' into release-4.1
cea7f7fc32 Linux: Do not force 64-bit `time_t` on 32-bit archs with system libarchive
16cc3e25d4 Utilities: Select bundled or external dependencies very early

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11505
2025-12-12 09:41:35 -05:00
Brad King
03f2b2b9c9 Merge topic 'stdio-ctrl-c' into release-4.1
c55dfbf656 StdIo: Restore compilation on 32-bit MinGW

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11503
2025-12-12 09:40:56 -05:00
Brad King
cea7f7fc32 Linux: Do not force 64-bit time_t on 32-bit archs with system libarchive
Commit 1b9e8f833f (Linux: Compile with 64-bit time_t even on 32-bit
architectures, 2025-06-26, v4.1.0-rc2~16^2) broke running with a
system-provided libarchive that uses a 32-bit `time_t`.  If CMake
is configured to build with a system libarchive, assume the user
has taken responsibility to match `time_t` sizes.

Fixes: #27448
2025-12-11 14:40:48 -05:00
Brad King
16cc3e25d4 Utilities: Select bundled or external dependencies very early 2025-12-11 14:40:16 -05:00
Brad King
c55dfbf656 StdIo: Restore compilation on 32-bit MinGW
In commit e419429616 (StdIo: Restore Windows Console I/O modes on
Ctrl-C, 2025-11-26, v4.1.4~4^2) we relied on the compiler to generate a
lambda with an `operator()` for each calling convention.  MSVC does
this, but the GNU compiler for MinGW does not seem to.
2025-12-11 10:52:18 -05:00
Brad King
cfbd1b08aa Merge branch 'release-4.1' into release-4.2 2025-12-11 09:47:50 -05:00
Brad King
9d8da1cf15 Merge topic 'fix-nvpl' into release-4.2
1bf46814c4 FindBLAS: Make find_package(nvpl) quiet

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11498
2025-12-11 09:42:57 -05:00
Brad King
61909cca7c Merge topic 'export-ignore-ast-grep' into release-4.2
93f5111ba7 gitattributes: Do not export ast-grep infrastructure in source archives

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !11499
2025-12-11 09:41:32 -05:00
Brad King
6a5e9f299f Merge topic 'fix-nvpl' into release-4.1
1bf46814c4 FindBLAS: Make find_package(nvpl) quiet

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11498
2025-12-11 09:40:00 -05:00
Brad King
c32e21fe52 Merge topic 'export-ignore-ast-grep' into release-4.1
93f5111ba7 gitattributes: Do not export ast-grep infrastructure in source archives

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11499
2025-12-11 09:38:59 -05:00
Tyler Yankee
58fc663688 Tutorial: Provide MSVC example to build Vendor library
Allow Windows users who aren't familiar with MSVC-equivalent commands to
GCC and/or don't have the GNU toolchain installed (via MinGW, etc.) to
practice this example.
2025-12-11 09:09:35 -05:00
Brad King
93f5111ba7 gitattributes: Do not export ast-grep infrastructure in source archives
Exclude infrastructure added by commit 61743471d9 (ast-grep: add a rule
to find adjacent string literals in cmStrCat calls, 2025-05-15,
v4.1.0-rc1~122^2~3).
2025-12-10 14:24:48 -05:00
Vito Gamberini
1bf46814c4 FindBLAS: Make find_package(nvpl) quiet
Fixes: #27451
2025-12-10 11:33:12 -05:00
Brad King
363a1997b1 Merge topic 'tutorial-fix-file' into release-4.2
1ad84c5301 Tutorial: Fix path to file in exercise solution

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11493
2025-12-10 09:27:24 -05:00
Brad King
b78d490d42 Merge topic 'ci-package-msvc-14.44' into release-4.2
01cbab956e ci: Restore support for Windows 7 in official precompiled binaries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11491
2025-12-10 09:24:15 -05:00
Tyler Yankee
1ad84c5301 Tutorial: Fix path to file in exercise solution 2025-12-09 15:23:34 -05:00