Brad King
4eab9b6708
Merge topic 'cli-tar-compress-algo'
...
94ae247d44 cli tar: support different algorithms for zip & 7z
1ba3444fd8 libarchive: Limit 7zip and zstd compression level to 6 on AIX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11488
2025-12-12 10:05:47 -05:00
AJIOB
94ae247d44
cli tar: support different algorithms for zip & 7z
...
Fixes : #27443
2025-12-11 12:00:31 -05:00
Brad King
d54e15a5b8
ci: Require Windows 10 in official precompiled binaries
...
See Windows SDK docs [1] on API selection via preprocessor definitions.
[1] https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt
Closes : #27450
2025-12-10 10:09:27 -05:00
Brad King
6eab40fa4a
Merge topic 'export-empty-args'
...
2151e5f79d export, install: Improve argument parsing
2e71df0156 export: Explicitly allow empty NAMESPACE
5564c2cd9a cmArgumentParser: Improve bad argument handling
3f38f9511b cmArgumentParser: Add support for MaybeEmpty<std::string>
1ec7201558 cmStringAlgorithms: Add cmStripWhitespace
2ca58c5ac9 set: Improve error message consistency
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11472
2025-12-10 09:37:52 -05:00
Matthew Woehlke
2151e5f79d
export, install: Improve argument parsing
...
Modify the `export(EXPORT)` and `install(PACKAGE_INFO)` commands to
actually enforce that certain arguments must be non-empty. With respect
to `export`, this is mainly targeted at CPS export, but ends up
affecting all flavors of `export(EXPORT)` because that is the level at
which argument parsing is performed.
Also, add unit tests to verify that the new rejection of arguments with
missing or empty values is working, update the existing tests due to
changes in error reporting, and remove no-longer-needed manual
validation of an empty `PACKAGE_INFO` argument.
2025-12-09 13:37:01 -05:00
Brad King
b32e8f11d0
Merge topic 'normalize-sqlite-target-name'
...
d4754c1a0c FindSQLite3: Use package name as namespace
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11482
2025-12-09 10:59:16 -05:00
Brad King
20e81dbd5e
Merge branch 'release-4.2'
2025-12-08 14:06:39 -05:00
Brad King
485f11a780
CMake 4.2.1
2025-12-08 13:33:58 -05:00
Brad King
e10b07595a
Merge branch 'release-4.1'
2025-12-08 12:01:54 -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
2025-12-08 11:30:41 -05:00
Matthew Woehlke
d4754c1a0c
FindSQLite3: Use package name as namespace
...
As we (hopefully) move toward a CPS world, it is helpful for imported
targets to use the package name as the namespace (as required by CPS).
Modify FindSQLite3 to do so. The old name is retained for compatibility.
2025-12-08 11:14:43 -05:00
Brad King
9ed923123f
Merge topic 'doc-4.2-vs-flags'
...
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:13 -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
AJIOB
d4d2a6a19d
cli tar: support compression level
...
Fixes #27422
2025-12-05 20:00:24 +03:00
Brad King
3277ef73c8
Merge topic 'FindLibXml2-static'
...
5f2f36f1ea FindLibXml2: Add a LibXml2_USE_STATIC_LIBS hint
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11476
2025-12-05 09:07:30 -05:00
Brad King
9149ac3f37
Merge topic 'fix-27420'
...
4fdfa0db1a file(ARCHIVE_CREATE): support multithreading compression
cbf71b21b2 cli tar: support multithreading compression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11460
2025-12-05 09:04:58 -05:00
Keith Smiley
5f2f36f1ea
FindLibXml2: Add a LibXml2_USE_STATIC_LIBS hint
...
Add an option to search only for the static library.
2025-12-04 15:51:35 -05:00
Brad King
e4737d1c4a
Merge topic 'cli-tar-lzma'
...
5b87a5d53e cli tar: implement LZMA support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11465
2025-12-03 16:26:20 -05:00
AJIOB
4fdfa0db1a
file(ARCHIVE_CREATE): support multithreading compression
...
Relates: #27420
2025-12-03 02:45:30 -05:00
AJIOB
cbf71b21b2
cli tar: support multithreading compression
...
Fixes : #27420
2025-12-03 02:45:30 -05:00
AJIOB
5b87a5d53e
cli tar: implement LZMA support
...
Fixes : #27433
2025-12-02 10:44:49 +03:00
Brad King
0b6492faf3
Merge topic 'bump-pre-commit-hooks-plus-fixes'
...
472a04ab9e ci(pre-commit): bump pre-commit hooks + fixes of found typos
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11454
2025-12-01 12:35:10 -05:00
Alex Turbov
472a04ab9e
ci(pre-commit): bump pre-commit hooks + fixes of found typos
2025-11-26 02:32:04 +04:00
HannaWAR
2628c52e04
source_group: add genex support
...
Fixes : #19813
2025-11-24 21:08:46 +03:00
Brad King
3a93fe09e7
Merge topic 'doc-4.2-cpack-appimage'
...
588fec2a05 Help: Add 4.2 release note for CPack AppImage generator
20dd0973b6 Help: Fix CPack AppImage Generator heading capitalization
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11433
2025-11-22 18:47:45 -05:00
Brad King
588fec2a05
Help: Add 4.2 release note for CPack AppImage generator
...
This was missed in commit 1a6dbcc9ea (CPack: Add AppImage generator,
2025-07-30, v4.2.0-rc1~229^2).
Issue: #27104
2025-11-21 10:07:15 -05:00
Brad King
fdc1de26c9
Merge topic 'build-dir-override-presets'
...
19296f507d cmake --build: Allow CLI build dir to override presets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11425
2025-11-21 09:52:11 -05:00
Brad King
1313a24f60
Merge branch 'release-4.1'
2025-11-18 10:37:56 -05:00
Brad King
be291692bf
Merge branch 'release-4.1' into release-4.2
2025-11-18 10:37:32 -05:00
Brad King
5961f5f3bc
CMake 4.1.3
2025-11-18 09:55:48 -05:00
Brad King
648fcad441
Merge branch 'release-4.0'
2025-11-18 09:45:14 -05:00
Brad King
acfc50620b
Merge branch 'release-4.1' into release-4.2
2025-11-18 09:44:46 -05:00
Brad King
89b555f1b5
Merge branch 'release-4.0' into release-4.1
2025-11-18 09:43:32 -05:00
Brad King
5517be2bf1
CMake 4.0.5
2025-11-18 09:16:12 -05:00
Brad King
50c46d9268
Merge branch 'release-3.31'
2025-11-17 16:27:19 -05:00
Brad King
952e000d38
Merge branch 'release-4.1' into release-4.2
2025-11-17 16:27:01 -05:00
Brad King
1d303f6beb
Merge branch 'release-4.0' into release-4.1
2025-11-17 16:26:50 -05:00
Brad King
b4528858f8
Merge branch 'release-3.31' into release-4.0
2025-11-17 16:26:39 -05:00
William Allen
19296f507d
cmake --build: Allow CLI build dir to override presets
...
`cmake --build <dir>` and `cmake --build --preset <preset>` are currently
mutually exclusive options. This commit allows `<dir>` to override the
build directory specified in a preset. This change allows the requirement
for each build preset to have a configure preset to be dropped in a future
commit.
Closes : #27384
2025-11-17 15:10:38 -05:00
Brad King
ca626022f5
CMake 3.31.10
2025-11-17 14:28:31 -05:00
Brad King
6087f56da9
Merge topic 'GenEx-STRING'
...
fd7e305097 GenEx: Add $<STRING> generator expression
7564cbae12 GenEx: add new expressions for string comparisons
dab5e6ebb1 introduce cm::CMakeString class as helper for string() command
34c0c7754f cmString: add methods append and insert
ab60f1a010 Extend usage for cm::string_view for more flexibility
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11382
2025-11-15 09:10:50 -05:00
Marc Chevrier
fd7e305097
GenEx: Add $<STRING> generator expression
...
Fixes : #27188
2025-11-14 16:44:29 +01:00
Marc Chevrier
7564cbae12
GenEx: add new expressions for string comparisons
2025-11-14 16:44:29 +01:00
hanna.rusakovich
bf3f69834d
file(GET_RUNTIME_DEPENDENCIES): Normalize paths before matching
...
Regex-based filtering should not have to account for slash differences.
Add policy CMP0207 for compatibility.
Fixes : #26202
2025-11-14 17:23:26 +03:00
Brad King
d6b5c3cd90
Merge topic 'vs2026'
...
53a7f5b702 Help: Update 4.2 release note for Visual Studio 18.0 release
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11413
2025-11-13 08:19:26 -05:00
Brad King
53a7f5b702
Help: Update 4.2 release note for Visual Studio 18.0 release
...
The `Visual Studio 18 2026` generator is no longer experimental.
2025-11-12 18:48:50 -05:00
Clinton Stimpson
5a18728cec
CPack/Archive: Add support for setting UID/GID in archive
...
Add `CPACK_ARCHIVE_UID` and `CPACK_ARCHIVE_GID` options.
Add a policy to change the default to 0/0 to enable ownership
by root if unpacking as root.
Fixes : #12901
2025-11-08 09:25:08 -05:00