Commit Graph

72870 Commits

Author SHA1 Message Date
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
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
Brad King 01cbab956e ci: Restore support for Windows 7 in official precompiled binaries
Since commit ffa010e32d (ci: Update Windows jobs to VS 2026, 2025-11-21,
v4.2.1~28^2) we link to a MSVC C++ runtime library that implements
`std::chrono::system_clock::now()` via `GetSystemTimePreciseAsFileTime`,
which is only available on Windows 8 and above.  Restore support for
Windows 7 by reverting `windows-{x86_64,i386}` packaging from MSVC 14.50
to MSVC 14.44.

Fixes: #27446
2025-12-08 20:20:56 -05:00
Brad King 485f11a780 CMake 4.2.1 v4.2.1 2025-12-08 13:33:58 -05:00
Brad King f0549d0083 Merge branch 'release-4.1' into release-4.2 2025-12-08 12:01:39 -05:00
Brad King 892fad3d23 CMake 4.1.4 v4.1.4 2025-12-08 11:30:41 -05:00
Brad King 2d0c514872 Merge branch 'release-4.1' into release-4.2 2025-12-08 11:09:47 -05:00
Brad King d96ae31271 Merge topic 'doc-4.2-vs-flags' into release-4.2
faa88b28a5 Help: Add 4.2 release note about VS flag suppression
19527eb5c6 Merge branch 'doc-4.1-vs-flags' into doc-4.2-vs-flags
e2646b9926 Help: Add 4.1 release note about VS flag suppression

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11489
2025-12-08 11:09:11 -05:00
Brad King c267e6d104 Merge topic 'doc-4.1-vs-flags' into release-4.1
e2646b9926 Help: Add 4.1 release note about VS flag suppression

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11489
2025-12-08 11:00:12 -05:00
Brad King faa88b28a5 Help: Add 4.2 release note about VS flag suppression
Document flags suppressed by commit 7202539fd4 (VS: Suppress MSBuild
default flags not specified by project or user, 2025-09-10,
v4.2.0-rc1~188^2~1).
2025-12-08 10:28:56 -05:00
Brad King 19527eb5c6 Merge branch 'doc-4.1-vs-flags' into doc-4.2-vs-flags 2025-12-08 10:28:50 -05:00
Brad King e2646b9926 Help: Add 4.1 release note about VS flag suppression
Document flags suppressed by commit 7db3dbddb2 (VS: Suppress MSBuild
default flags not specified by project or user, 2025-06-02,
v4.1.0-rc1~69^2).
2025-12-08 10:28:32 -05:00