Brad King
5fe186ade7
Merge topic 'target_sources-backtrace'
...
b909be9e23 target_sources: Fix backtrace on missing source
4a3e79048b Tests: Add RunCMake.target_sources case covering missing source
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !8268
2023-03-02 10:07:31 -05:00
Brad King
48c2a146ae
Merge topic 'clean-AddCacheEntry'
...
87c4eba5cb cmState::AddCacheEntry(): Remove unused overloads
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8269
2023-03-02 09:54:59 -05:00
Brad King
f9888e5f51
Merge topic 'dont_use_bom_with_cuda'
...
c5305cf493 Makefile: Don't pass the CUDA compiler response files with UTF8_BOM
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ivan Katalenić <ivankatalenic100@gmail.com >
Merge-request: !8267
2023-03-02 09:54:03 -05:00
Brad King
1d7fb31778
Merge topic 'Apple-handle-Text-Stubs'
...
ede33f30cf Apple: Handle generation and comsuption of text-based stubs (.tbd files)
fcbd723a50 Enhance support functions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Brad King <brad.king@kitware.com >
Merge-request: !8204
2023-03-02 09:53:03 -05:00
Kitware Robot
b32949d47e
CMake Nightly Date Stamp
2023-03-02 00:01:14 -05:00
Brad King
532ca3e7c7
Merge topic 'check-curses-min-cmake'
...
d70582eed8 ccmake: Update minimum required version of CMake for curses check
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8272
2023-03-01 09:36:36 -05:00
Brad King
a6b4bbfa57
Merge topic 'csharp_sdk_win32_exe'
...
0dff040f10 VS : Support WIN32_EXECUTABLE on SDK style projects
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Sumit Bhardwaj <bhardwajs@outlook.com >
Merge-request: !8263
2023-03-01 09:22:05 -05:00
Brad King
0c30af2753
Merge topic 'remove-dart-modules'
...
2e469212c8 Dart,FindDart: Add policy to remove these modules
6dd2948b4b Tests: Port "testing" test from Dart module to CTest module
1f5ff4d131 Merge branch 'upstream-KWSys' into remove-dart-modules
ec3652a0bd KWSys 2023-02-28 (68534a6a)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !8265
2023-03-01 09:21:03 -05:00
Brad King
d70582eed8
ccmake: Update minimum required version of CMake for curses check
...
This should have been part of commit d6b811fb82 (Require CMake 3.13+ to
configure CMake itself, 2022-02-22, v3.24.0-rc1~605^2~1).
2023-03-01 09:15:38 -05:00
Marc Chevrier
ede33f30cf
Apple: Handle generation and comsuption of text-based stubs (.tbd files)
...
Fixes : #24123
2023-03-01 12:23:28 +01:00
Kitware Robot
8807292ef4
CMake Nightly Date Stamp
2023-03-01 00:01:15 -05:00
Vitaly Stakhovsky
87c4eba5cb
cmState::AddCacheEntry(): Remove unused overloads
2023-02-28 19:44:42 -05:00
Brad King
b909be9e23
target_sources: Fix backtrace on missing source
...
If a source file is not found, the error message reports a backtrace.
Previously the backtrace pointed at where the target was created.
In the case of `target_sources`, the missing source may have been
named elsewhere.
Fixes : #24538
2023-02-28 18:07:36 -05:00
Robert Maynard
c5305cf493
Makefile: Don't pass the CUDA compiler response files with UTF8_BOM
...
Fixes #24544
2023-02-28 15:39:55 -05:00
Brad King
2e469212c8
Dart,FindDart: Add policy to remove these modules
...
These modules and the "DART" tool they support have long been replaced
by CTest.
2023-02-28 08:43:45 -05:00
Brad King
1f5ff4d131
Merge branch 'upstream-KWSys' into remove-dart-modules
...
* upstream-KWSys:
KWSys 2023-02-28 (68534a6a)
2023-02-28 08:35:02 -05:00
Brad King
12d041b8f7
Merge topic 'target_sources-file_set-no-exist'
...
7e3f9aa1b2 target_sources: give a hint when a file named `FILE_SET` is not found
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8253
2023-02-28 08:32:04 -05:00
Brad King
40539096fd
Merge topic 'dll-name-soversion'
...
a7f9c7da26 Add option to add SOVERSION to DLL names
9694504adc Tests: Simplify RunCMake.TargetArtifacts spec
3cd34eb279 Tests: Rename RunCMake.{ArtifactOutputDirs => TargetArtifacts}
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8021
2023-02-28 08:29:20 -05:00
Marc Chevrier
fcbd723a50
Enhance support functions
...
* Avoid duplicate definiitions for IsExecutableWithExports, etc...
* Add helper IsApple()
2023-02-28 14:24:03 +01:00
Olivier PENA
0dff040f10
VS : Support WIN32_EXECUTABLE on SDK style projects
2023-02-28 09:25:09 +01:00
Kitware Robot
e4b56c8224
CMake Nightly Date Stamp
2023-02-28 00:01:10 -05:00
Ralf Habacker
a7f9c7da26
Add option to add SOVERSION to DLL names
...
Add variable/target property `[CMAKE_]DLL_NAME_WITH_SOVERSION`.
Fixes : #24251
Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de >
2023-02-27 09:18:34 -05:00
Brad King
9ae0402198
Merge topic 'install-prefix-genex-install-code-script'
...
18e02ace5b install(CODE|SCRIPT): Support $<INSTALL_PREFIX> genex
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8251
2023-02-27 09:06:20 -05:00
Kitware Robot
3ad47a8d3a
CMake Nightly Date Stamp
2023-02-27 00:01:32 -05:00
Kitware Robot
c2db641c25
CMake Nightly Date Stamp
2023-02-26 00:01:13 -05:00
Kitware Robot
85c77f059b
CMake Nightly Date Stamp
2023-02-25 00:01:17 -05:00
Ben Boeckel
7e3f9aa1b2
target_sources: give a hint when a file named FILE_SET is not found
...
`FILE_SET` is only supported within `target_sources()` and only directly
after a visibility keyword or another `FILE_SET`. Give a hint as to what
might be wrong if a file named `FILE_SET` cannot be found for any
reason.
Fixes : #24539
2023-02-24 17:43:22 -05:00
Kyle Edwards
18e02ace5b
install(CODE|SCRIPT): Support $<INSTALL_PREFIX> genex
...
Fixes : #24534
2023-02-24 10:17:45 -05:00
Brad King
35ca2d524b
Merge topic 'msvc-embed-manifest-direct'
...
0b552eb877 MSVC: Embed manifests directly for non-incremental vs_link_exe links
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8245
2023-02-24 08:40:07 -05:00
Brad King
88b75204e5
Merge topic 'PATH-genex-handle-list-of-paths'
...
e395310a21 PATH-genex: handle lists for path decomposition and transformations
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !8238
2023-02-24 08:35:19 -05:00
Brad King
d19b61bf43
Merge topic 'find_package-PACKAGENAME_ROOT'
...
df9c4b1872 find_package: Use <PACKAGENAME>_ROOT variables as search prefixes
4da27a73bd Help: Document <PackageName>_ROOT variable ordering using an ordered list
bfeb16bd5b cmFindPackageCommand: Refactor CMP0074 logic to de-duplicate lookups
c0fcd07e6f cmFindPackageCommand: Factor out methods for package root stack management
acd9636d9d cmSystemTools: Add helpers for reading and parsing PATH env vars
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8240
2023-02-24 08:31:28 -05:00
Kitware Robot
92fb3ba39f
CMake Nightly Date Stamp
2023-02-24 00:01:14 -05:00
Andrew Ng
0b552eb877
MSVC: Embed manifests directly for non-incremental vs_link_exe links
...
This avoids the need to separately execute `mt.exe` to perform the
embedding of manifests into the output for non-incremental links. The
primary motivation for this change is that this separate execution of
`mt.exe` to embed manifests is known to cause intermittent failures due
to AV/security scanning.
The only change in behavior is that any linker generated manifest will
no longer be output as a separate manifest file alongside the output
file.
Fixes : #24531
2023-02-23 14:35:08 -05:00
Brad King
df9c4b1872
find_package: Use <PACKAGENAME>_ROOT variables as search prefixes
...
Extend commit eb35d8884b (find_package: Use PackageName_ROOT variables
as search prefixes, 2018-03-15, v3.12.0-rc1~349^2) to also check
upper-case `<PACKAGENAME>_ROOT` variables. Add policy `CMP0144` to
enable the behavior in a compatible way.
Fixes : #24403
2023-02-23 09:15:14 -05:00
Brad King
bfeb16bd5b
cmFindPackageCommand: Refactor CMP0074 logic to de-duplicate lookups
2023-02-23 09:12:29 -05:00
Brad King
c0fcd07e6f
cmFindPackageCommand: Factor out methods for package root stack management
2023-02-23 09:12:28 -05:00
Brad King
acd9636d9d
cmSystemTools: Add helpers for reading and parsing PATH env vars
2023-02-23 09:05:59 -05:00
Kitware Robot
bc75361790
CMake Nightly Date Stamp
2023-02-23 00:01:13 -05:00
Brad King
67a1e2a5d1
CMake 3.26.0-rc4
2023-02-22 10:06:26 -05:00
Kitware Robot
e0be05d9f1
CMake Nightly Date Stamp
2023-02-22 00:01:10 -05:00
Marc Chevrier
e395310a21
PATH-genex: handle lists for path decomposition and transformations
...
Fixes : #24371
2023-02-21 19:34:43 +01:00
Brad King
d3ea15e801
Merge topic 'qt-sizetype'
...
5cda8a3993 cmake-gui: Fix conversion warnings about Qt indexing types
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8233
2023-02-21 08:54:15 -05:00
Brad King
a2c77755ab
Merge topic 'unlimited-version-compare'
...
aa86e8ddfd Remove component size limit for version comparisons
7e730d8f7f Tests: Add cases for cmSystemTools::VersionCompare
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !8231
2023-02-21 08:52:46 -05:00
Brad King
ad8ada1bee
Merge topic 'KateNinjaImprovements'
...
2b713b0f95 Kate: mention Ninja Multiconfig in the docs
f6f8f89e6c Kate: support for the targets of multi config ninja
0429a37e48 Kate: enable the ninja multiconfig generator for kate
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8226
2023-02-21 08:47:00 -05:00
Brad King
c2897eb725
Merge topic 'add_lang_expressions_ghs'
...
780b279cc6 GHS: Enable language-dependent generator expressions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8224
2023-02-21 08:45:08 -05:00
Kitware Robot
053fa2fef8
CMake Nightly Date Stamp
2023-02-21 00:01:10 -05:00
Brad King
5cda8a3993
cmake-gui: Fix conversion warnings about Qt indexing types
...
Qt 5 uses `int` for indexing, and Qt 6 uses `qsizetype`. Add helper
types and casts to the appropriate type to avoid conversion warnings.
2023-02-20 17:55:49 -05:00
David Gobbi
aa86e8ddfd
Remove component size limit for version comparisons
...
The VersionCompare() function converted version components to
'unsigned long' prior to comparing them. Any version components
too large for 'unsigned long' were treated as equal to ULONG_MAX.
This impacted operators like VERSION_GREATER, VERSION_LESS, and
VERSION_EQUAL. The new code does not limit the length of the
version components for valid comparisons.
2023-02-20 12:54:43 -05:00
Alexander Neundorf
2b713b0f95
Kate: mention Ninja Multiconfig in the docs
2023-02-20 09:08:56 -05:00
Brad King
d18806e673
Merge topic 'ninja-custom-command-depends'
...
ea2a05f402 Add variable CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8220
2023-02-20 08:34:34 -05:00