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
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
Marc Chevrier
dd7b741b81
macOS: Add support for new Xcode 11 frameworks directory
...
Update CMAKE_SYSTEM_FRAMEWORK_PATH with new Xcode 11 frameworks directory
2020-01-10 13:48:39 +01:00
Brad King
08c5b3eff0
GNUtoMS: Add search path for VS 2019 environment scripts
...
Extend the logic from commit abe8a623d9 (GNUtoMS: Add search path for VS
2017 environment scripts, 2017-05-19, v3.8.2~1^2) to consider VS 2019
paths too.
Fixes : #20162
2020-01-09 16:56:30 -05:00
Cristian Adam
a05b9d4239
ObjC: Add _COMPILE_LAUNCHER support
...
Fixes : #20178
2020-01-09 11:35:23 -05:00
Brad King
7ffa42288e
Merge branch 'backport-3.15-cuda-device-link-only-cuda'
2020-01-09 11:13:51 -05:00
Brad King
68537b890b
Merge branch 'release-3.15' into release-3.16
2020-01-09 11:10:32 -05:00
Robert Maynard
071c4f1a2a
CUDA: Do not device link if target has no CUDA usage
...
When CUDA is enabled, and a pure non-CUDA target has
CMAKE_CUDA_SEPARABLE_COMPILATION enabled, don't actually perform
the device linking step, as it will fail. A target that has
CMAKE_CUDA_SEPARABLE_COMPILATION enabled must also have CUDA
usage (either itself, or something it links to).
Fixes : #20182
2020-01-09 11:02:17 -05:00
Craig Scott
6841059c12
Merge topic 'ctest-resource-allocation-spec-message' into release-3.16
...
b393b32b4b CTest: Improve error handling when reading resource spec file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4162
2019-12-28 19:02:59 -05:00
Kyle Edwards
b393b32b4b
CTest: Improve error handling when reading resource spec file
...
Fixes : #20079
2019-12-27 10:53:52 -05:00
Kyle Edwards
51cc3f1bff
Merge topic 'FindPython-Fix-target-properties' into release-3.16
...
fe280e0cda FindPython*: Fix erroneous target properties setting
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Kyle Edwards <kyle.edwards@kitware.com >
Merge-request: !4154
2019-12-20 12:57:07 -05:00
Marc Chevrier
fe280e0cda
FindPython*: Fix erroneous target properties setting
...
Property IMPORTED_CONFIGURATIONS for targets Python*::Python
and Python*::Module is not correctly set.
2019-12-19 19:42:24 +01:00
Brad King
512ab500f0
CMake 3.16.2
v3.16.2
2019-12-19 09:54:31 -05:00
Brad King
f9ee055d53
Merge topic 'autogen-no-hh' into release-3.16
...
7fa7f55230 Autogen: Revert processing of .hh files for compatibility
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4146
2019-12-19 09:52:33 -05:00
Brad King
4126784ce4
Merge topic 'test-resource-spec-init-lists' into release-3.16
...
e8dbe4bba1 Tests: Fix testCTestResourceSpec struct initialization for some compilers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michael Dickens <michael.dickens@ettus.com >
Merge-request: !4141
2019-12-19 09:51:53 -05:00
Brad King
118f7efba9
Merge topic 'FindLAPACK-in-blas' into release-3.16
...
930f204b68 FindLAPACK: Fix support for LAPACK symbols inside BLAS libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4144
2019-12-18 09:33:21 -05:00
Brad King
62475f7da0
Merge topic 'FindBoost-1.72' into release-3.16
...
e51232b739 FindBoost: Add support for Boost 1.72
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4143
2019-12-18 09:32:41 -05:00
Brad King
930f204b68
FindLAPACK: Fix support for LAPACK symbols inside BLAS libraries
...
Fix the condition added by commit 68dcbeee01 (FindLAPACK: Test for
implicitly linked LAPACK libraries, 2019-06-11, v3.16.0-rc1~560^2) to
use BLAS libraries if they are sufficient with no dedicated LAPACK
libraries.
Fixes : #20099
2019-12-18 05:51:50 -05:00