Kitware Robot
efcf3a46f7
CMake Nightly Date Stamp
2022-04-14 00:01:08 -04:00
Kitware Robot
56dafdf199
CMake Nightly Date Stamp
2022-04-13 00:01:28 -04:00
Brad King
f6476ba3a6
Merge topic 'file-set-repr-improvements'
...
5fa15ec9f3 Help: Document that target_sources defines [INTERFACE_]HEADER_SETS
c5d4812f20 cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-only
05783b168d cmFileSet: store visibility with the fileset
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7168
2022-04-12 10:05:26 -04:00
Brad King
8e4af2cb30
Merge topic 'correct_list-presets_parsing'
...
45299a8f9b cmake: --list=presets=[type] doesn't generate incorrect warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7164
2022-04-12 08:16:01 -04:00
Brad King
1e1b31ac25
Merge topic 'xcode-pch'
...
476c6a8910 PCH: Fix Xcode non-pch language exclusion
fcf1fcfd0c Tests: Ignore all classes in Xcode internal objc warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7166
2022-04-12 08:10:48 -04:00
Kitware Robot
6cd0eefb85
CMake Nightly Date Stamp
2022-04-12 00:01:20 -04:00
Cristian Adam
476c6a8910
PCH: Fix Xcode non-pch language exclusion
...
Fix a regression caused by commit bbcdac4e5d (PCH: Fix all-language
precompile header support in Xcode, 2021-08-07, v3.22.0-rc1~140^2).
Fixes : #23138
2022-04-11 14:16:33 -04:00
Ben Boeckel
c5d4812f20
cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-only
...
There is no reason to allow these properties to be manipulated by user
code. Instead, use the stored visibility on the fileset objects to
derive what these properties should contain.
2022-04-11 14:06:15 -04:00
Ben Boeckel
05783b168d
cmFileSet: store visibility with the fileset
...
The visibility is intrinsic to the fileset, so store it with it. This
avoids recalculating it on every addition to the fileset.
2022-04-11 13:41:40 -04:00
Robert Maynard
45299a8f9b
cmake: --list=presets=[type] doesn't generate incorrect warnings
...
Fixes #23407
2022-04-11 10:46:03 -04:00
Brad King
7fc248bde3
Merge topic 'ccmake-vim-key-navigation'
...
0354865061 ccmake: Allow Vim keys in cmCursesLongMessageForm
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !7152
2022-04-11 08:52:29 -04:00
Brad King
c362d02e74
Merge topic 'check-flag-fembed-bitcode-conflict'
...
a10fc754a6 CheckSourceCompiles: Avoid linker warning with -fembed-bitcode
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7156
2022-04-11 08:50:58 -04:00
Kitware Robot
fd957139c2
CMake Nightly Date Stamp
2022-04-11 00:01:19 -04:00
Kitware Robot
591426f5a0
CMake Nightly Date Stamp
2022-04-10 00:01:10 -04:00
Craig Scott
a10fc754a6
CheckSourceCompiles: Avoid linker warning with -fembed-bitcode
...
When the Apple linker sees -headerpad_max_install_names and
bitcode is enabled with a flag like -fembed-bitcode, it issues a warning
and ignores the -headerpad_max_install_names flag. This causes
unrelated compiler and linker flag checks to fail for valid flags.
In f745e0497e (CheckCompilerFlags: Catch linker warning about ignored
flags, 2022-01-03), we started detecting linker warnings, which caused
a regression for projects that were setting -fembed-bitcode in their
CMAKE_CXX_FLAGS or similar. Prevent that regression by removing
the -headerpad_max_install_names linker flag when we know it will
warn and be ignored anyway.
Fixes : #23390
Issue: #23408
2022-04-09 21:51:09 +10:00
Kitware Robot
050354d268
CMake Nightly Date Stamp
2022-04-09 00:01:24 -04:00
Kitware Robot
073660dfd9
CMake Nightly Date Stamp
2022-04-08 00:01:21 -04:00
Martin Duffy
0354865061
ccmake: Allow Vim keys in cmCursesLongMessageForm
...
Added support for navigation of cmCursesLongMessageForm with j and k
which affects the help and log screens.
These keys were already supported for cmCursesMainForm since commit
e34e9c2705 (ccmake: Add VIM-like bindings for navigation, 2016-07-21,
v3.7.0-rc1~295^2), adding them here for consistency.
Fixes : #5233
2022-04-07 15:06:35 -04:00
Brad King
9a7d8394b1
Merge topic 'header-sets-no-framework'
...
f779f8c0ad FILE_SET: Forbid adding header sets to Apple FRAMEWORK libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Kyle Edwards <kyle.edwards@kitware.com >
Merge-request: !7149
2022-04-07 10:54:30 -04:00
Kyle Edwards
f779f8c0ad
FILE_SET: Forbid adding header sets to Apple FRAMEWORK libraries
...
The feature needs a specialized implementation to place headers
in the right place inside frameworks. To avoid silently doing
the wrong thing, make this case an error for the 3.23 series.
Issue: #23386
2022-04-07 09:26:58 -04:00
Brad King
e6a200fa9f
Merge topic 'fix-warnings'
...
75e8173322 Source: Fix clang -Wunused-but-set-variable warnings
2646d5dfcf LexerParser: Suppress clang -Wunused-but-set-variable warnings
8add899c03 LexerParser: Regenerate parsers with bison 3.8.2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7147
2022-04-07 09:12:52 -04:00
Kitware Robot
f0a2ec12e2
CMake Nightly Date Stamp
2022-04-07 00:01:21 -04:00
Brad King
75e8173322
Source: Fix clang -Wunused-but-set-variable warnings
2022-04-06 16:02:05 -04:00
Brad King
2646d5dfcf
LexerParser: Suppress clang -Wunused-but-set-variable warnings
2022-04-06 16:02:03 -04:00
Brad King
8add899c03
LexerParser: Regenerate parsers with bison 3.8.2
2022-04-06 16:02:03 -04:00
Kitware Robot
cbfc860e40
CMake Nightly Date Stamp
2022-04-06 00:01:24 -04:00
Brad King
eea53ea0a9
Merge topic 'xcode-xcconfig'
...
53ca6edd8a xcode: add support for xcconfig files
183b6bbf51 Tests: Ignore all classes in Xcode internal objc warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7119
2022-04-05 08:24:28 -04:00
Brad King
7e1095751f
Merge topic 'cmake-gui-categories'
...
ebc1c60d43 cmake-gui: Add "Building" category to freedesktop menu spec
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7141
2022-04-05 08:23:22 -04:00
Kitware Robot
c2adb5bb0c
CMake Nightly Date Stamp
2022-04-05 00:01:16 -04:00
Reinaldo Deprera
ebc1c60d43
cmake-gui: Add "Building" category to freedesktop menu spec
...
Add "Building" to Categories parameters like suggested by the
specification [1] for better XFCE/GNome/Plasma menu integration.
[1] https://specifications.freedesktop.org/menu-spec/latest/apas02.html
2022-04-04 09:55:01 -04:00
Brad King
34cb46dd6e
Merge topic 'const-stack'
...
11cc728e75 cmConstStack: Factor out of cmListFileBacktrace
9123193758 cmListFileBacktrace: Clarify call sites that only push a file path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7135
2022-04-04 09:33:34 -04:00
Brad King
1dbd4e9a41
Merge topic 'export-out-of-dir-TARGET_NAME'
...
6d34cc3cb8 export: Fix TARGET_NAME lookup for out-of-dir linking
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7136
2022-04-04 09:32:52 -04:00
Kitware Robot
fd46a557c8
CMake Nightly Date Stamp
2022-04-04 00:02:47 -04:00
Gregor Jasny
53ca6edd8a
xcode: add support for xcconfig files
...
Fixes : #18420
2022-04-03 22:39:34 +02:00
Kitware Robot
fff8f3bee9
CMake Nightly Date Stamp
2022-04-03 00:01:09 -04:00
Brad King
11cc728e75
cmConstStack: Factor out of cmListFileBacktrace
...
This presents value semantics for a stack of constant values.
Internally it shares ownership to avoid copies. Previously
this was implemented by `cmListFileBacktrace` explicitly,
but the approach can be re-used for other kinds of stacks.
2022-04-02 05:55:31 -04:00
Kitware Robot
6733ad4dd5
CMake Nightly Date Stamp
2022-04-02 00:01:21 -04:00
Brad King
6d34cc3cb8
export: Fix TARGET_NAME lookup for out-of-dir linking
...
Improve the logic added by commit f0e67da061 (target_link_libraries: Fix
out-of-dir linking of a list of targets, 2020-01-14, v3.17.0-rc1~149^2)
to, while exporting targets, look up referenced target names in the
correct directory.
2022-04-01 13:59:51 -04:00
Brad King
9123193758
cmListFileBacktrace: Clarify call sites that only push a file path
...
This removes the last part of the `cmListFileBacktrace` interface
that needs to know the type of data in its stack.
2022-04-01 10:18:46 -04:00
Kitware Robot
86cee7a383
CMake Nightly Date Stamp
2022-04-01 00:01:21 -04:00
Brad King
7ae3c6740b
Merge topic 'string-JSON-error-modes'
...
93dce4b4bf string(JSON): fix error message on invalid mode
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7130
2022-03-31 08:52:04 -04:00
Brad King
8ef1fffa45
Merge topic 'ninja_compile_database_understand_new_cuda_lang_variables'
...
f7c6b9833c CUDA: Ninja generator generates valid compile database
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7129
2022-03-31 08:47:25 -04:00
Kitware Robot
6f132d6c91
CMake Nightly Date Stamp
2022-03-31 00:01:20 -04:00
Carlo Teubner
93dce4b4bf
string(JSON): fix error message on invalid mode
...
The `GET_ARRAY` and `MEMBERS` modes were removed during development and
review of commit 8eab76eb84 (string(JSON): Adds JSON parsing support to
the string command, 2020-08-24, v3.19.0-rc1~159^2), but were
accidentally left in an error message.
2022-03-30 15:54:11 -04:00
Robert Maynard
f7c6b9833c
CUDA: Ninja generator generates valid compile database
...
The ninja generator has been updated to poperly write the compile
database when the CUDA language has been enabled.
Fixes #23368
2022-03-30 15:16:43 -04:00
Brad King
a7b325e203
Merge topic 'verify-header-sets'
...
c798744f81 FILE_SET: Add VERIFY_HEADER_SETS target property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7085
2022-03-30 09:10:25 -04:00
Brad King
70ee9a313a
Merge topic 'framework-consumption-during-compilation'
...
45ac71d8bc Ensure targets which are frameworks can be used freely
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: alcroito <alexandru.croitor@qt.io >
Merge-request: !7121
2022-03-30 09:02:15 -04:00
Kitware Robot
c65bcea078
CMake Nightly Date Stamp
2022-03-30 00:01:17 -04:00
Kyle Edwards
c798744f81
FILE_SET: Add VERIFY_HEADER_SETS target property
...
Fixes : #23338
2022-03-29 13:58:27 -04:00
Brad King
00677703d0
CMake 3.23.0
2022-03-29 11:02:43 -04:00