Christoph Grüninger
699d50e376
LexerParser: Regenerate parser files with GNU Bison 3.7.4
...
Adjust expected test output.
2021-01-25 12:06:17 -05:00
Christoph Grüninger
c95442b9b1
LexerParser: Manual removing code from Bison is no longer needed
...
This was needed to avoid warnings while compiling the sources generated
by older versions of GNU Bison, but is not with GNU Bison 3.7.4.
2021-01-25 12:05:36 -05:00
Christoph Grüninger
5a8a61a798
LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions
...
Silence Bison warnings regarding use of Bison extensions.
2021-01-25 12:05:20 -05:00
Kitware Robot
902f0c59fd
CMake Nightly Date Stamp
2021-01-25 00:01:30 -05:00
Kitware Robot
1bfe5102b2
CMake Nightly Date Stamp
2021-01-24 00:01:08 -05:00
Kitware Robot
0bfb0edc8e
CMake Nightly Date Stamp
2021-01-23 00:01:12 -05:00
Brad King
5a1b257fe7
Merge topic 'msvc-arm64ec-platform-support'
...
4ea3a88625 MSVC: Add support for targeting ARM64EC
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5708
2021-01-22 08:38:21 -05:00
Kitware Robot
664038ab4f
CMake Nightly Date Stamp
2021-01-22 00:01:14 -05:00
Brad King
fddbb7db4b
Merge topic 'vs-sdk-selection'
...
1e67482daf VS: Generalize Win10 max SDK version to all VS generators
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5721
2021-01-21 09:18:31 -05:00
Brad King
6bf23b2755
Merge topic 'macos-include-weak-dependencies'
...
7e615a540e file(GET_RUNTIME_DEPENDENCIES): Fix weak macOS libraries not detected
f2d92b983b GetPrerequisites: Include weak macOS dependencies
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5703
2021-01-21 09:16:37 -05:00
Kitware Robot
d1549824c9
CMake Nightly Date Stamp
2021-01-21 00:01:13 -05:00
Moyo Okeremi 😊
4ea3a88625
MSVC: Add support for targeting ARM64EC
2021-01-20 16:43:35 -08:00
jonathan molinatto
1e67482daf
VS: Generalize Win10 max SDK version to all VS generators
...
The `CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM` variable added in
CMake 3.19 by commit ba497111f6 (VS: Add option for custom Win10 SDK
version maximum, 2020-08-20, v3.19.0-rc1~262^2) was documented as if it
worked for all generators but implemented only to override CMake's
builtin default for the VS 2015 max SDK version. Generalize the
variable to set a custom max SDK version for later VS versions too.
Fixes : #21720
2021-01-20 14:46:34 -05:00
Brad King
063f7127d1
Merge topic 'ninja-custom_command-depfile'
...
b5c2163293 Ninja: add_custom_command(DEPFILE): Ensure dependencies consistency
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5710
2021-01-20 11:23:13 -05:00
Bianca van Schaik
7e615a540e
file(GET_RUNTIME_DEPENDENCIES): Fix weak macOS libraries not detected
...
Starting with Clang 12, `otool -l` reports `LC_LOAD_WEAK_DYLIB` instead
of `LC_LOAD_DYLIB` for weakly linked libraries. Update the
implementation of `file(GET_RUNTIME_DEPENDENCIES)` to recognize these.
Fixes : #21684
2021-01-20 10:26:54 -05:00
Brad King
8809a742be
Merge topic 'export-copy-if-different'
...
51acae534a install(EXPORT): Set copy-if-different on install export config files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5717
2021-01-20 10:22:32 -05:00
Brad King
4c6d433116
Merge topic 'doc-genex'
...
c2dc7e0f53 Help: Convert genex documentation to sphinx domain objects
778321beb4 Help: Remove extra blank line from cmake-generator-expressions(7)
7d498d6b43 Utilities/Sphinx: Add role and directive for 'genex' in CMake domain
cc1f53351c Help/dev: Mention 'cpack_gen' domain object in CMake Documentation Guide
954a9e9893 Help/dev: Mention 'envvar' domain object in CMake Documentation Guide
621ba5e1f2 cmRST: Add support for 'envvar' directive
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5715
2021-01-20 10:18:04 -05:00
Kitware Robot
4c28f27777
CMake Nightly Date Stamp
2021-01-20 00:01:12 -05:00
Daan De Meyer
51acae534a
install(EXPORT): Set copy-if-different on install export config files
...
Avoid reinstalling the per-config export install files if the
contents didn't change after a configure.
2021-01-19 09:59:19 -05:00
Brad King
180666f586
Merge topic 'CMake-cross-compiling'
...
6cee4c6a8b Restore support for cross-compiling CMake itself
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5713
2021-01-19 09:06:53 -05:00
Marc Chevrier
b5c2163293
Ninja: add_custom_command(DEPFILE): Ensure dependencies consistency
...
Fixes : #21694
2021-01-19 13:17:14 +01:00
Kitware Robot
2740cc458b
CMake Nightly Date Stamp
2021-01-19 00:01:12 -05:00
Brad King
7d498d6b43
Utilities/Sphinx: Add role and directive for 'genex' in CMake domain
...
This enables cross-reference syntax for CMake generator expressions:
:genex:`SOME_GENEX`
:genex:`$<SOME_GENEX>`
:genex:`$<SOME_GENEX:...>`
and definition of CMake generator expressions via a directive:
.. genex:: SOME_GENEX
.. genex:: $<SOME_GENEX>
.. genex:: $<SOME_GENEX:...>
It also adds generator expressions defined by the directive and by
`Help/genex/SOME_GENEX.rst` documents to the index.
2021-01-18 12:35:41 -05:00
Brad King
621ba5e1f2
cmRST: Add support for 'envvar' directive
...
This was accidentally left out of commit 8acf46caf1 (Utilities/Sphinx:
Add role and directive for 'envvar' in CMake domain, 2018-04-19,
v3.12.0-rc1~200^2~1).
2021-01-18 12:35:40 -05:00
Marc Chevrier
6cee4c6a8b
Restore support for cross-compiling CMake itself
...
In commit eb583b0a66 (cmake_path command: path management, 2020-07-23,
v3.19.0-rc1~216^2~1) we added a `try_run`. In cross-compilation mode,
C++ features tests must avoid running tests if there is no emulator
defined.
2021-01-18 12:23:23 -05:00
Brad King
80ea78da0d
Merge topic 'cmake-gui-improvements'
...
79d00c629f CMake GUI: Fix rendering issue
15e8072859 CMake GUI: Use system icons when available
8aebd159fc CMake GUI: Don't use QToolButton
0bc327a79c CMake GUI: Improve signal specification
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5706
2021-01-18 11:18:37 -05:00
Brad King
cbcb507227
Merge topic 'issue-17794'
...
8f33674491 cpack(DEB): Issue warning if custom script for control file is missing
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5705
2021-01-18 11:16:44 -05:00
Kitware Robot
fe3c4db2ea
CMake Nightly Date Stamp
2021-01-18 00:01:16 -05:00
Kitware Robot
5b9f7a5f28
CMake Nightly Date Stamp
2021-01-17 00:01:07 -05:00
Kitware Robot
12a88d5d27
CMake Nightly Date Stamp
2021-01-16 00:01:11 -05:00
Matthew Woehlke
79d00c629f
CMake GUI: Fix rendering issue
...
Remove style sheet from a combo box in the GUI. I have no idea why this
was being set, but it causes a render glitch. Also, use a more sensible
size policy on the same widget.
2021-01-15 11:43:34 -05:00
Matthew Woehlke
15e8072859
CMake GUI: Use system icons when available
...
Modify GUI to use system (theme) icons when available. This may only
affect builds on Linux platforms when using the system-provided Qt, but
will improve visual consistency with e.g. okay/cancel buttons which are
also using the system/theme icons. This also means that the GUI will
look slightly more "native" on Linux.
2021-01-15 11:43:29 -05:00
Matthew Woehlke
8aebd159fc
CMake GUI: Don't use QToolButton
...
Replace QToolButton instances with QPushButton. QToolButton is only
meant to be used on tool bars and some other special situations. Worse,
we had a mix of QToolButton and QPushButton for things that clearly
should be using the same widget. This will improve visual consistency
and may fix some rendering issues.
2021-01-15 11:24:16 -05:00
Matthew Woehlke
0bc327a79c
CMake GUI: Improve signal specification
...
Don't use subclasses to connect to QAbstractButton::clicked. This is
slightly dodgy, but of more immediate importance, tweaking it will allow
us to change the widget type of some QToolButton instances that should
be QPushButton.
2021-01-15 11:21:07 -05:00
Asit Dhal
8f33674491
cpack(DEB): Issue warning if custom script for control file is missing
...
Fixes : #17794
2021-01-15 16:41:37 +01:00
Brad King
2e792b6ec2
Merge topic 'sanitizers_save_memcheck_files'
...
54866346de CTest: Save sanitizer output files after test execution
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5698
2021-01-15 10:28:52 -05:00
Marc Chevrier
50b8dc8735
Merge topic 'cmake_path-stabilization'
...
76f0bcdfb6 cmake_path: various updates
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5695
2021-01-15 05:47:02 -05:00
Kitware Robot
e6b6e457a0
CMake Nightly Date Stamp
2021-01-15 00:01:10 -05:00
Brad King
cc47f4ebf9
Merge topic 'fileapi-toolchains'
...
6418dabb87 Tests: Add test for toolchains-v1 File API object
1c5bd1bed5 Tests: Add toolchains kind to capabilities test
f72bb2ee0d Help: Add documentation for "toolchains" object kind
bb069c0857 cmFileAPI: Add "toolchains" object kind.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5678
2021-01-14 13:02:54 -05:00
Brad King
967d1f7dde
Merge topic 'install-FILES-rename-genex'
...
ac3ccc393e install(files): Support genex in rename option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5694
2021-01-14 13:00:16 -05:00
Kitware Robot
7bdef757ab
CMake Nightly Date Stamp
2021-01-14 00:01:11 -05:00
Pawel Dac
54866346de
CTest: Save sanitizer output files after test execution
...
Prior to this change after tests were executed output files
produced by sanitizers were removed. User couldn't check
in detail why test case didn't pass. Output files are
kept without pid in the end.
2021-01-13 22:08:53 +01:00
Marc Chevrier
76f0bcdfb6
cmake_path: various updates
...
To follow discussions in #21385 and !5682 :
* Fix bug in cmCMakePath::IsSuffix() method
* cmake_path(HASH) always normalized paths (NORMALIZE option removed)
2021-01-13 15:27:49 +01:00
Brad King
27c2579efd
Merge topic 'issue-21663'
...
38e2299fc8 list(REMOVE_ITEM): Make removal of an empty item a no-op.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5693
2021-01-13 09:21:00 -05:00
Brad King
00d8a1dff8
Merge topic 'depend_make_refine'
...
4d509437cb cmDepends: disable long line dependencies for nmake
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5689
2021-01-13 09:20:13 -05:00
Brad King
19ff734e76
CMake 3.19.3
2021-01-13 07:58:18 -05:00
Asit Dhal
ac3ccc393e
install(files): Support genex in rename option
...
Fixes : #19903
2021-01-13 11:27:56 +01:00
Kitware Robot
3ad1ee8144
CMake Nightly Date Stamp
2021-01-13 00:01:14 -05:00
Ben McMorran
bb069c0857
cmFileAPI: Add "toolchains" object kind.
...
Fixes #19514
2021-01-12 11:21:19 -08:00
Brad King
db8e2e711a
Merge topic 'ninja-multi-config-post-build'
...
98805a11ce Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlap
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5673
2021-01-12 10:25:07 -05:00