Brad King
32498d0665
cmake: Reduce default recursion depth when compiling with IntelLLVM
...
This compiler makes stack frames large enough (at least in Debug
builds) that CMake language recursion to depth 1000 overflows the
stack. Reduce the limit for this compiler.
2021-01-28 09:07:00 -05:00
Brad King
87909f0600
Utilities: Suppress warnings in third-party code when using IntelLLVM
2021-01-28 09:07:00 -05:00
Kitware Robot
f2c4ea6807
CMake Nightly Date Stamp
2021-01-28 00:04:15 -05:00
Brad King
9b96fbc358
Merge topic 'clang-tidy-fixes'
...
ef935b17ab clang-tidy: fix `readability-use-anyofallof` warnings
9ac8dbbb94 clang-tidy: fix `readability-simplify-boolean-expr` warnings
ca505718f4 clang-tidy: fix `readability-redundant-string-init` warnings
b3b6ede6a1 clang-tidy: fix `readability-redundant-access-specifiers` warnings
cdfc4e3195 clang-tidy: fix `readability-qualified-auto` warnings
808b17b120 clang-tidy: fix `readability-make-member-function-const` warnings
4470eb5179 clang-tidy: fix `performance-trivially-destructible` warnings
4f396e6528 clang-tidy: fix `performance-no-automatic-move` warnings
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5731
2021-01-27 09:52:18 -05:00
Brad King
6153bd3a0c
Merge topic 'update-bison-parser'
...
7c6192472b LexerParser: Suppress -Wused-but-marked-unused warning in cmExprParser
6f64300a01 LexerParser: Clean up includes following include-what-you-use
699d50e376 LexerParser: Regenerate parser files with GNU Bison 3.7.4
c95442b9b1 LexerParser: Manual removing code from Bison is no longer needed
5a8a61a798 LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5730
2021-01-27 09:05:43 -05:00
Brad King
f39fb0b90d
Merge topic 'outdir-target-genex'
...
64c3857780 OUTPUT_DIRECTORY: Support tgt genex in output artifact vars
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5690
2021-01-27 09:04:29 -05:00
Brad King
7ab6d1e831
Merge topic 'cpack-compression-threads'
...
bdf30bdad8 CPack: add CPACK_THREADS variable to control compression threads
bcdb5b52a0 libarchive: Fix lzma_stream_encoder_mt detection
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5716
2021-01-27 09:02:35 -05:00
Ben Boeckel
ef935b17ab
clang-tidy: fix readability-use-anyofallof warnings
2021-01-27 08:54:18 -05:00
Ben Boeckel
9ac8dbbb94
clang-tidy: fix readability-simplify-boolean-expr warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
ca505718f4
clang-tidy: fix readability-redundant-string-init warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
b3b6ede6a1
clang-tidy: fix readability-redundant-access-specifiers warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
cdfc4e3195
clang-tidy: fix readability-qualified-auto warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
808b17b120
clang-tidy: fix readability-make-member-function-const warnings
2021-01-27 08:45:45 -05:00
Ben Boeckel
4470eb5179
clang-tidy: fix performance-trivially-destructible warnings
2021-01-27 08:45:44 -05:00
Ben Boeckel
4f396e6528
clang-tidy: fix performance-no-automatic-move warnings
2021-01-27 08:45:44 -05:00
Ben Boeckel
3a0d40bf8c
clang-tidy: fix bugprone-suspicious-include warnings
2021-01-27 08:45:44 -05:00
Ben Boeckel
a0610cf9e9
clang-tidy: fix bugprone-signed-char-misuse warnings
2021-01-27 08:45:44 -05:00
Ben Boeckel
c826461d9c
clang-tidy: fix bugprone-reserved-identifier warnings
2021-01-27 08:45:44 -05:00
Kitware Robot
675d81be6c
CMake Nightly Date Stamp
2021-01-27 00:01:18 -05:00
Brad King
7c6192472b
LexerParser: Suppress -Wused-but-marked-unused warning in cmExprParser
2021-01-26 14:33:52 -05:00
Asit Dhal
64c3857780
OUTPUT_DIRECTORY: Support tgt genex in output artifact vars
...
Following variables now support target dependent generator expressions.
- CMAKE_RUNTIME_OUTPUT_DIRECTORY
- CMAKE_LIBRARY_OUTPUT_DIRECTORY
- CMAKE_ARCHIVE_OUTPUT_DIRECTORY
Fixes : #18055
2021-01-26 12:13:15 -05:00
Rodolfo Lima
bdf30bdad8
CPack: add CPACK_THREADS variable to control compression threads
...
This allows setting how many threads the compressor will use.
Currently only implemented for XZ when using system's lzma library.
Fixes : #21715
2021-01-26 16:23:37 +01:00
Brad King
1380e611e1
Merge topic 'nmc-cache-targets'
...
ccbedb80e4 Ninja Multi-Config: Restore rebuild_cache and edit_cache targets
6fdbe9201f cmNinjaUtilityTargetGenerator: Remove leftover development comment
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5740
2021-01-26 09:09:18 -05:00
Brad King
cad804e2c4
Merge topic 'update-kwsys'
...
1bd1f96f3f Merge branch 'upstream-KWSys' into update-kwsys
4faaa079e3 KWSys 2021-01-25 (10e36d47)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Martin Storsjö <martin@martin.st >
Merge-request: !5736
2021-01-26 09:01:28 -05:00
Brad King
a5124f6bad
Merge topic 'reproducible-unity-id'
...
ee9da76972 Unity: Generate reproducible unity IDs for anonymous namespaces
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5727
2021-01-26 09:00:28 -05:00
Kitware Robot
6b50138ae6
CMake Nightly Date Stamp
2021-01-26 00:01:10 -05:00
Brad King
ccbedb80e4
Ninja Multi-Config: Restore rebuild_cache and edit_cache targets
...
Since commit dcf9f4d2f7 (Ninja Multi-Config: Add support for
cross-config custom commands, 2020-12-09) we were not generating these
targets. Restore them and add a test.
Fixes : #21722
2021-01-25 15:22:53 -05:00
Brad King
6fdbe9201f
cmNinjaUtilityTargetGenerator: Remove leftover development comment
2021-01-25 15:11:48 -05:00
Christoph Grüninger
6f64300a01
LexerParser: Clean up includes following include-what-you-use
2021-01-25 12:06:28 -05:00
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
Brad King
1bd1f96f3f
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2021-01-25 (10e36d47)
2021-01-25 10:06:13 -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
Craig Scott
ee9da76972
Unity: Generate reproducible unity IDs for anonymous namespaces
...
Fixes : #21564
2021-01-23 07:14:05 +11: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