Brad King
3eae0aabd2
Merge branch 'libarchive-win-codepage' into release-3.16
...
Merge-request: !4332
2020-02-06 15:06:12 -05:00
Brad King
16e31523ba
libarchive: Add support for UTF-8 locale on Windows
...
Backport libarchive upstream commit `c46e7993` (windows: Support UTF-8
locale, 2018-07-23, v3.4.0~105^2).
Fixes : #20320
2020-02-06 15:04:47 -05:00
Brad King
f7c54d2049
libarchive: Fix WideCharToMultiByte output buffer size
...
Fix `archive_string_append_from_wcs_in_codepage` to account for the
already-used portion of the buffer when computing the size of the
remaining buffer for ``WideCharToMultiByte` output.
2020-02-06 15:04:47 -05:00
Brad King
44b8937b76
CMake 3.16.4
v3.16.4
2020-02-05 09:19:24 -05:00
Brad King
4b1a6a4722
Merge topic 'vs-version-for-unity' into release-3.16
...
9135954e2f VS: Do not use native unity builds on VS 2017 versions less than 15.8
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4324
2020-02-05 08:33:50 -05:00
Brad King
9135954e2f
VS: Do not use native unity builds on VS 2017 versions less than 15.8
...
VS 2017 version 15.8 introduced support for unity builds implemented
in part by the `$(VCTargetsPath)/Microsoft.Cpp.Unity.targets` file.
Do not enable unity builds on VS 15 versions that do not have that file.
Fixes : #20284
2020-02-04 11:46:18 -05:00
Brad King
24d57c2257
Merge topic 'android-ndk-r19-binutils' into release-3.16
...
e3d3b7ddeb Android: Fix binutils selection with NDK r19+ unified toolchain
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4318
2020-02-04 08:26:39 -05:00
Brad King
e3d3b7ddeb
Android: Fix binutils selection with NDK r19+ unified toolchain
...
In commit 97bca2f9fa (Android: Use unified toolchain in NDK r19+,
2019-07-26, v3.16.0-rc1~342^2) we hard-coded use of the unified
toolchain for NDK r19+ and skipped most of the old detection logic.
However, in that fast path we left out setting `_CMAKE_TOOLCHAIN_PREFIX`
for `CMakeFindBinutils` to select the matching binutils. Add it.
Fixes : #20038
2020-02-03 14:35:12 -05:00
Brad King
203abaf0e9
Merge topic 'aix-skip-exports' into release-3.16
...
a17f6eff43 AIX: Restore pre-3.16 undocumented method to suppress exports with XL
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4303
2020-01-31 09:13:59 -05:00
Brad King
a17f6eff43
AIX: Restore pre-3.16 undocumented method to suppress exports with XL
...
In commit 0f150b69d3 (AIX: Explicitly compute shared object exports for
both XL and GNU, 2019-07-11, v3.16.0-rc1~418^2~2) we dropped use of the
old `CMAKE_XL_CreateExportList` cache entry for XL exports. However,
some people were setting the value to an empty string as a way to
disable automatic export of symbols. Restore this behavior when the
option is explicitly set to an empty string.
Issue: #20290
2020-01-30 11:38:17 -05:00
Brad King
f972b929d6
Merge topic 'vs-16.4-custom-command-inputs' into release-3.16
...
58b0674687 VS: Tell VS 16.4 not to verify SYMBOLIC custom command inputs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4297
2020-01-29 10:36:40 -05:00
Brad King
58b0674687
VS: Tell VS 16.4 not to verify SYMBOLIC custom command inputs
...
Extend the fix from commit 0578239d3a (VS: Tell VS 16.4 not to verify
SYMBOLIC custom command outputs, 2019-09-23, v3.15.4~2^2) to apply to
SYMBOLIC *inputs* too. This is needed when there is a chain of custom
commands that use symbolic paths for ordering.
Fixes : #20179
2020-01-28 13:52:05 -05:00
Brad King
89ed119c0f
Merge topic 'cpack-deb-fix-description' into release-3.16
...
baec299ecd CPack: Fix regression in Deb description
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4271
2020-01-27 09:27:36 -05:00
Kyle Edwards
baec299ecd
CPack: Fix regression in Deb description
...
Fixes : #20254
2020-01-24 08:50:43 -05:00
Brad King
7458892522
Merge topic 'get-runtime-dependencies-keyword-args' into release-3.16
...
4c8a917a87 file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4262
2020-01-23 10:02:44 -05:00
Brad King
70adbc0c3e
Merge topic 'findmpi-documentation' into release-3.16
...
95a501addb Help: Add more variable documentation to FindMPI
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4263
2020-01-23 10:01:56 -05:00
Kyle Edwards
95a501addb
Help: Add more variable documentation to FindMPI
2020-01-22 14:46:09 -05:00
Kyle Edwards
4c8a917a87
file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments
...
Also list all keywords that were missing values instead of only the
first one.
2020-01-22 13:05:46 -05:00
Brad King
39c357b9c4
Merge topic 'msvc-runtime-library-masm' into release-3.16
...
1421005835 ASM_MASM: Populate MSVC runtime library abstraction table
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4257
2020-01-22 09:17:41 -05:00
Brad King
1421005835
ASM_MASM: Populate MSVC runtime library abstraction table
...
In commit fb3370b6a1 (MSVC: Add abstraction for runtime library
selection, 2019-04-10, v3.15.0-rc1~229^2) we overlooked populating the
runtime library selection flags for the Microsoft assembler. It does
not actually have any such flags, but since its compiler id is `MSVC`
our generators expect the table to be populated. Use empty values.
Without this fix, enabling the `ASM_MASM` language with policy `CMP0091`
set to `NEW` causes an error due to the missing table entries.
Fixes : #20236 , #19453
2020-01-21 12:54:50 -05:00
Brad King
21e60da5bb
CMake 3.16.3
v3.16.3
2020-01-21 10:17:47 -05:00
Brad King
bcb0816cf9
Merge topic 'InstallRequiredSystemLibraries-redist' into release-3.16
...
7ca923bcaf IRSL: Install msvcp140_{1,2,codecvt_ids}.dll if available
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Andrey Vihrov <andrey.vihrov@gmail.com >
Merge-request: !4247
2020-01-21 09:15:17 -05:00
Brad King
7ca923bcaf
IRSL: Install msvcp140_{1,2,codecvt_ids}.dll if available
...
VS now distributes these additional runtime libraries. Install them if
available.
Fixes : #20228
2020-01-20 13:19:56 -05:00
Brad King
b168d8e855
Merge topic 'autogen_rcc_skip_unity' into release-3.16
...
086d9b2bab Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Cristian Adam <cristian.adam@gmail.com >
Merge-request: !4237
2020-01-20 11:54:13 -05:00
Craig Scott
582cc710c2
Merge topic 'pch-msvc-no-path-repetition' into release-3.16
...
07fe1bcd4e PCH: No repeated path for internal generated PCH files (MSVC case)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4236
2020-01-19 15:10:17 -05:00
Sebastian Holtermann
086d9b2bab
Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files
...
`rcc` generated files are not compatible with unity builds, because they
contain classes in anonymous namespaces and static data with identical names.
This patch sets the source file property `SKIP_UNITY_BUILD_INCLUSION` to `On`
on all `AUTORCC` generated files to exclude them from unity build files.
Fixes : #20191 "QT5: Exclude resource files from unity build"
2020-01-17 09:48:35 -05:00
Brad King
4c907eae69
Merge topic 'findopenssl-dependencies-link-order' into release-3.16
...
d2880aaa06 FindOpenSSL: Fix ordering of dependency link flags
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4235
2020-01-17 09:25:23 -05:00
Cristian Adam
07fe1bcd4e
PCH: No repeated path for internal generated PCH files (MSVC case)
...
Fixes : #19952
2020-01-16 17:05:05 +01:00
Brad King
8cd35baae9
Merge topic 'nag-submodule' into release-3.16
...
f7f60ddcf9 Fortran: Add support for NAG Fortran submodules
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4229
2020-01-16 10:56:02 -05:00
Ashley Whetter
d2880aaa06
FindOpenSSL: Fix ordering of dependency link flags
...
Fixes : #20082 , #20224
2020-01-16 10:53:19 -05:00
Neil Carlson
f7f60ddcf9
Fortran: Add support for NAG Fortran submodules
...
They use a `.sub` extension.
Fixes : #20220
2020-01-15 14:12:22 -05:00
Brad King
3b3f2474da
Merge topic 'unity-lang-filename' into release-3.16
...
274a6f3699 Unity Build: include language in generated source file name
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4223
2020-01-15 13:37:33 -05:00
Brad King
f0986f62a8
Merge topic 'python39' into release-3.16
...
f6474214b3 FindPython: Add support for version 3.9
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Marc Chevrier <marc.chevrier@gmail.com >
Acked-by: Björn Esser <besser82@fedoraproject.org >
Merge-request: !4225
2020-01-15 13:36:35 -05:00
Miro Hrončok
f6474214b3
FindPython: Add support for version 3.9
...
Development versions of Python 3.9.0 are already out there.
See PEP 596 -- Python 3.9 Release Schedule:
https://www.python.org/dev/peps/pep-0596/
2020-01-14 15:02:19 -05:00
Cristian Adam
274a6f3699
Unity Build: include language in generated source file name
...
Fixes : #20206
2020-01-14 18:48:08 +01:00
Brad King
e74049b388
Merge topic 'vs-Fortran-link-flags' into release-3.16
...
a3c827b2ea VS: Add Fortran link flag table entries for /OPT:*
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4210
2020-01-14 09:01:21 -05:00
Brad King
e6c5bed2aa
Merge topic 'FindMatlab-r2019' into release-3.16
...
edb6fe3b6a FindMatlab: add R2019a and R2019b MATLAB_VERSIONS_MAPPING
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4207
2020-01-14 08:57:18 -05:00
Brad King
789bbcddc0
Merge topic 'FindMatlab-only-CXX' into release-3.16
...
b704d58f41 FindMatlab: in matlab_add_mex use the correct version file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Patrik Huber <patrikhuber@gmail.com >
Merge-request: !4206
2020-01-14 08:55:57 -05:00
Pavel Liavonau
a3c827b2ea
VS: Add Fortran link flag table entries for /OPT:*
...
Fixes : #20190
2020-01-13 11:14:00 -05:00
Silvio Traversaro
b704d58f41
FindMatlab: in matlab_add_mex use the correct version file
...
Before this modification, the c_mexapi_version.c file was added to
all mex libraries. However, if the C language was not enabled
in the CMake project configuration, the c_mexapi_version.c file
was ignored, creating linking errors in Windows and macOS.
This commit ensures that in the case only the CXX languages is enabled,
the correct version is passed.
Fixes : #19382
2020-01-13 10:52:57 -05:00
Silvio Traversaro
edb6fe3b6a
FindMatlab: add R2019a and R2019b MATLAB_VERSIONS_MAPPING
...
Reference for versions: https://www.mathworks.com/products/compiler/matlab-runtime.html
Fixes : #20087
2020-01-13 10:45:54 -05:00
Brad King
e8462a105e
Merge topic 'fix-cpack-deb-description-file' into release-3.16
...
d491f34a5e CPack: Fix regression in DEB generator description
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4204
2020-01-13 10:23:26 -05:00
Brad King
b1a9d49a69
Merge topic 'objc-visibility-inlines' into release-3.16
...
7347e2f830 ObjC: Add VISIBLITY_INLINES_HIDDEN support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4199
2020-01-13 10:22:06 -05:00
Brad King
01b43e85cf
Merge topic 'macOS-Xcode-11-frameworks' into release-3.16
...
fcde42751a FindPython: ensure new Xcode framework for Python3 is detected
dd7b741b81 macOS: Add support for new Xcode 11 frameworks directory
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4198
2020-01-13 10:20:58 -05:00
Kyle Edwards
d491f34a5e
CPack: Fix regression in DEB generator description
...
Fixes : #20102
2020-01-10 17:22:52 -05:00
Brad King
9fa8b7d5dd
Merge topic 'cuda-device-link-only-cuda' into release-3.16
...
7ffa42288e Merge branch 'backport-3.15-cuda-device-link-only-cuda'
071c4f1a2a CUDA: Do not device link if target has no CUDA usage
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4191
2020-01-10 13:21:12 -05:00
Brad King
a7fc5df5d3
Merge topic 'GNUtoMS-vs2019' into release-3.16
...
08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4197
2020-01-10 13:20:03 -05:00
Brad King
213b03d275
Merge topic 'objc-compiler-launcher' into release-3.16
...
a05b9d4239 ObjC: Add _COMPILE_LAUNCHER support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4189
2020-01-10 13:18:35 -05:00
Cristian Adam
7347e2f830
ObjC: Add VISIBLITY_INLINES_HIDDEN support
...
Fixes : #20193
2020-01-10 16:31:27 +01:00
Marc Chevrier
fcde42751a
FindPython: ensure new Xcode framework for Python3 is detected
2020-01-10 13:48:39 +01:00