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
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
Michael Dickens
e8dbe4bba1
Tests: Fix testCTestResourceSpec struct initialization for some compilers
...
Some compilers do not like the nested `{{{}}}` member initialization
syntax, so use just `{}`. GCC 4.8 warns about the latter, so add a
suppression.
Fixes : #20097
2019-12-18 05:45:08 -05:00
Brad King
7fa7f55230
Autogen: Revert processing of .hh files for compatibility
...
Since commit 4a9154537c (Autogen: Use cmake::IsHeader/SourceExtension
for file type detection, 2019-07-02, v3.16.0-rc1~470^2~4) we process
`.hh` files with `AUTOMOC`. However, this change can break existing
projects that do not expect the behavior. Revert it for now. It can
be restored later via a policy.
Fixes : #20101
2019-12-18 05:34:27 -05:00
Brad King
e51232b739
FindBoost: Add support for Boost 1.72
...
Run `Utilities/Scripts/BoostScanDeps.cmake` with the Boost 1.72.0
sources to compute dependencies.
Fixes : #20100
2019-12-17 10:37:06 -05:00
Brad King
5b43aa7755
CMake 3.15.6
v3.15.6
2019-12-16 10:21:27 -05:00
Brad King
dfbe8109b4
Merge topic 'pch-force-include' into release-3.16
...
c5c218fa0d PCH: Append pch header file to list of forced include files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4135
2019-12-16 10:04:03 -05:00
Brad King
e3059f7bb4
Merge topic 'FindBLAS-OpenBLAS-thread' into release-3.16
...
d1e111d166 FindBLAS: Consider OpenBLAS with thread libraries only with C or CXX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4134
2019-12-13 10:36:35 -05:00
Brad King
c55b4b4b24
Merge topic 'backport-3.16-vs-v142-version' into release-3.16
...
2f853eec3d Merge branch 'backport-3.15-vs-v142-version' into backport-3.16-vs-v142-version
d8d4924d98 VS: Fix support for v142 toolset minor versions in VS 16.5+
07612646fe VS: Fix support for v142 toolset minor versions in VS 16.5+
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4133
2019-12-13 10:31:41 -05:00
Cristian Adam
c5c218fa0d
PCH: Append pch header file to list of forced include files
...
Fixes : #20088
2019-12-13 15:21:27 +01:00
Brad King
d71591dfd5
Merge branch 'FindBLAS-OpenBLAS-thread' into release-3.15
...
Merge-request: !4134
2019-12-12 12:13:10 -05:00
Brad King
d1e111d166
FindBLAS: Consider OpenBLAS with thread libraries only with C or CXX
...
The check added by commit 276b56f01c (FindBLAS: Add second try for
OpenBLAS with thread libraries., 2019-06-07, v3.15.0-rc2~5^2) can
work only when C or CXX is enabled.
Fixes : #20092
2019-12-12 12:10:47 -05:00
Brad King
b3a536e726
Merge branch 'backport-3.15-vs-v142-version' into release-3.15
...
Merge-request: !4133
2019-12-12 11:38:15 -05:00
Brad King
2f853eec3d
Merge branch 'backport-3.15-vs-v142-version' into backport-3.16-vs-v142-version
2019-12-12 11:34:33 -05:00
Brad King
d8d4924d98
VS: Fix support for v142 toolset minor versions in VS 16.5+
...
The fix in commit 5117389931 (VS: Fix support for v142 toolset minor
versions, 2019-10-01, v3.16.0-rc1~32^2) worked around a bug in VS's
placement of toolset files. VS 16.5 will fix that bug and restore the
original pattern for locations of toolset files. Update our logic to
look for both possibilities.
Issue: #19779
2019-12-12 11:28:34 -05:00