Ben Boeckel
cfdb5c970c
cmGlobalGenerator: use cmStrCat where possible
2023-07-19 16:32:25 -04:00
Ben Boeckel
884c477545
cmCoreTryCompile: combine strings where possible
2023-07-19 16:31:31 -04:00
Ben Boeckel
b8fd1cc8d9
cmCoreTryCompile: use single characters where possible
2023-07-19 16:30:27 -04:00
Ben Boeckel
0b74471d62
cmCoreTryCompile: use cmStrCat where possible
2023-07-19 16:30:27 -04:00
Brad King
b0054dd65c
Merge topic 'imported-implib-only'
...
7351d590ee cmTarget: Add a way to represent imported shared library stubs
83574a4772 GeneratorExpression: Expand testing of imported location resolution
b75ff51947 Testing: Map RelWithDebInfo config in GeneratorExpression test
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Jason Juang <jasjuang@gmail.com >
Merge-request: !8582
2023-07-19 10:55:30 -04:00
Brad King
ee6335f75f
Merge topic 'windows-kernel-mode-driver'
...
b01f5eb079 Windows: Add experimental WindowsKernelModeDriver platform
d84681d8f0 try_compile(): Pass down CMAKE_EXPERIMENTAL_* feature flags
1ca82e7a04 cmake_language(): Add undocumented GET_EXPERIMENTAL_FEATURE_ENABLED mode
051cea7b7e cmExperimental: Expose feature data API
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8634
2023-07-19 10:41:22 -04:00
Brad King
e921566142
Merge topic 'cmCMakePath-SunPro-sparc-workaround'
...
945b9b8132 cmCMakePath: workarounds for Sunpro/sparc compiler
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Robert Maynard <robertjmaynard@gmail.com >
Merge-request: !8633
2023-07-19 10:40:02 -04:00
Kitware Robot
a594748cdf
CMake Nightly Date Stamp
2023-07-19 00:01:15 -04:00
Robert Maynard
7351d590ee
cmTarget: Add a way to represent imported shared library stubs
...
Shared library stubs can be used for linking, but not at runtime.
Their role is similar to import libraries on Windows, so represent
their location with the `IMPORTED_IMPLIB` target property.
Fixes : #24940
2023-07-18 13:21:01 -04:00
Marc Chevrier
945b9b8132
cmCMakePath: workarounds for Sunpro/sparc compiler
2023-07-18 11:50:07 -04:00
Brad King
71c6525492
Merge topic 'LINK_OPTIONS-dollar-escaping'
...
3c685a578a LINK_OPTIONS: ensure correct dollar escaping
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8608
2023-07-18 10:32:05 -04:00
Brad King
e9659abde1
Merge topic 'innosetup-component-install'
...
c80190c6ab InnoSetup: Always specify at least one component installation type
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8630
2023-07-18 10:29:57 -04:00
Kitware Robot
e21ea92798
CMake Nightly Date Stamp
2023-07-18 00:01:09 -04:00
Kyle Edwards
b01f5eb079
Windows: Add experimental WindowsKernelModeDriver platform
2023-07-17 16:54:10 -04:00
Kyle Edwards
d84681d8f0
try_compile(): Pass down CMAKE_EXPERIMENTAL_* feature flags
2023-07-17 16:53:52 -04:00
Kyle Edwards
1ca82e7a04
cmake_language(): Add undocumented GET_EXPERIMENTAL_FEATURE_ENABLED mode
2023-07-17 15:19:58 -04:00
Kyle Edwards
051cea7b7e
cmExperimental: Expose feature data API
2023-07-17 15:19:30 -04:00
Jannik Alber
c80190c6ab
InnoSetup: Always specify at least one component installation type
...
Inno Setup implicitly creates three installation types if none is
specified in the script. This causes some component features (e.g.
`REQUIRED`) to lose their functionality. Teach the generator to always
specify a "custom" installation type when using components.
Fixes : #25083
2023-07-17 10:30:25 -04:00
Marc Chevrier
3c685a578a
LINK_OPTIONS: ensure correct dollar escaping
...
Ensure correct escaping for Ninja and Makefile generators.
Fixes : #25049
2023-07-17 15:55:58 +02:00
Kitware Robot
a28217eb8c
CMake Nightly Date Stamp
2023-07-17 00:01:50 -04:00
Kitware Robot
d747bc18e1
CMake Nightly Date Stamp
2023-07-16 00:01:09 -04:00
Kitware Robot
2a68ba3117
CMake Nightly Date Stamp
2023-07-15 00:01:14 -04:00
Brad King
8bcba75b1c
CMake 3.27.0-rc5
2023-07-14 11:03:52 -04:00
Brad King
802a0aefd5
Merge topic 'find_library-simplify-regex'
...
f60e921262 find_library: Improve regex readability in --debug-find output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8618
2023-07-14 08:42:11 -04:00
Brad King
cd52dddc98
Merge topic 'module-mapper-clang-transitive'
...
57ef353d22 cmExperimental: refresh the C++ modules UUID
7b05724ac8 cmCxxModuleMapper: give transitive usages to Clang as well
c9df4568da cmCxxModuleMapper: factor out transitive usage computation
71f1483aac Tests/RunCMake/CXXModules: require transitive usages
e39b6ebc19 cmCxxModuleMapper: use a `char` for streaming single bytes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8610
2023-07-14 08:39:37 -04:00
Brad King
c9b1ce71f6
Merge topic 'debugger-breakpoints'
...
60b6383993 Debugger: Always clear existing breakpoints on setBreakpoints
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8624
2023-07-14 08:34:30 -04:00
Kitware Robot
3087b3dbac
CMake Nightly Date Stamp
2023-07-14 00:01:11 -04:00
Thomas Schenker
f60e921262
find_library: Improve regex readability in --debug-find output
...
If there is only one possible library prefix/suffix, omit the capture
group around it in the debug output.
2023-07-13 09:48:35 -04:00
Ben McMorran
60b6383993
Debugger: Always clear existing breakpoints on setBreakpoints
...
Fixes : #25063
2023-07-13 08:44:52 -04:00
Ben Boeckel
57ef353d22
cmExperimental: refresh the C++ modules UUID
...
The transitive support for Clang is a change in support for the
ecosystem.
2023-07-13 08:40:22 -04:00
Ben Boeckel
7b05724ac8
cmCxxModuleMapper: give transitive usages to Clang as well
...
In the future, Clang plans to require transitive module usage to be
specified on the command line. This is in order to keep BMI files more
reproducible. Handily, MSVC has already required this, so the logic can
be reused for Clang easily.
See: https://github.com/llvm/llvm-project/commit/e22fa1d4c6152d36cf1342ab9029adc97c79a310
See: https://github.com/llvm/llvm-project/issues/62707
See: https://discourse.llvm.org/t/c-20-modules-should-the-bmis-contain-paths-to-their-dependent-bmis/70422
2023-07-13 08:40:22 -04:00
Ben Boeckel
c9df4568da
cmCxxModuleMapper: factor out transitive usage computation
...
Clang will need this in the future.
2023-07-13 08:40:22 -04:00
Ben Boeckel
e39b6ebc19
cmCxxModuleMapper: use a char for streaming single bytes
2023-07-13 08:40:22 -04:00
Brad King
dab61cf1aa
Merge topic 'debugger-no-supportsVariableType'
...
e02cf3f190 Debugger: Correctly handle clients without supportsVariableType
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Garrett Campbell <gcampbell@microsoft.com >
Merge-request: !8620
2023-07-13 08:36:25 -04:00
Brad King
d769c59d78
Merge topic 'debugger-no-supportsVariableType' into release-3.27
...
e02cf3f190 Debugger: Correctly handle clients without supportsVariableType
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Garrett Campbell <gcampbell@microsoft.com >
Merge-request: !8620
2023-07-13 08:36:24 -04:00
Brad King
a0056a96d5
Merge topic 'genex-REMOVE_DUPLICATES-empty'
...
861dd60ecf Genex: Restore REMOVE_DUPLICATES preservation of empty elements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8623
2023-07-13 08:34:22 -04:00
Brad King
91333f1b99
Merge topic 'genex-REMOVE_DUPLICATES-empty' into release-3.27
...
861dd60ecf Genex: Restore REMOVE_DUPLICATES preservation of empty elements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8623
2023-07-13 08:34:21 -04:00
Brad King
fa19e85b34
Merge topic 'show_autogen_exit_code'
...
bddd8f0e54 cmWorkerPool: Show process exit code / signal number upon failure
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8622
2023-07-13 08:33:31 -04:00
Kitware Robot
dc88dd5e4a
CMake Nightly Date Stamp
2023-07-13 00:01:13 -04:00
Brad King
861dd60ecf
Genex: Restore REMOVE_DUPLICATES preservation of empty elements
...
Refactoring in commit 72d116ee68 (GenEx: list oriented genexes use
cmList class, 2023-03-29, v3.27.0-rc1~205^2) accidentally caused
empty elements to be dropped by the `REMOVE_DUPLICATES` genex.
Fix it and add a test case.
Fixes : #25080
2023-07-12 11:49:21 -04:00
Alexandru Croitor
bddd8f0e54
cmWorkerPool: Show process exit code / signal number upon failure
...
Previously if an AUTOGEN process like moc exited with a non-zero exit
code, cmWorkerPool would not populate the result's ErrorMessage
because it mistakenly thought that if the ExitCode / TermSignal had a
non-zero value, the ErrorMessage must have already been set.
This was a wrong assumption.
Instead, check if ErrorMessage is empty, and if it is, set it to
whatever the exit code or term signal number is.
2023-07-12 10:29:49 -04:00
Ben McMorran
e02cf3f190
Debugger: Correctly handle clients without supportsVariableType
...
Fixes : #25057
2023-07-12 10:09:21 -04:00
Brad King
27302fa005
Merge topic 'compile-commands-modules'
...
677b28dc7b Ninja: include module mapper flags in `compile_commands.json`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8611
2023-07-12 10:02:53 -04:00
Brad King
fbe5f49d63
Merge topic 'compile-commands-modules' into release-3.27
...
677b28dc7b Ninja: include module mapper flags in `compile_commands.json`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8611
2023-07-12 10:02:52 -04:00
Brad King
6a51683676
Merge topic 'apple-visionos'
...
25977e177b apple: add preliminary visionOS support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Jason Juang <jasjuang@gmail.com >
Acked-by: Patrick Fu <paaatrickfu@gmail.com >
Acked-by: Volodymyr B. <v.boichentsov@elsevier.com >
Merge-request: !8581
2023-07-12 10:01:00 -04:00
Kitware Robot
8491ab38f2
CMake Nightly Date Stamp
2023-07-12 00:01:09 -04:00
Gregor Jasny
25977e177b
apple: add preliminary visionOS support
2023-07-11 20:20:25 +02:00
Brad King
7ad290bf9c
Merge topic 'cmList-regression'
...
a6e8811cf0 cmList: Fix performance regression in Join / to_string
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8612
2023-07-11 12:12:35 -04:00
Kitware Robot
2bd28ae38a
CMake Nightly Date Stamp
2023-07-11 00:01:10 -04:00
Kitware Robot
db50248b38
CMake Nightly Date Stamp
2023-07-10 00:01:42 -04:00