Commit Graph

45386 Commits

Author SHA1 Message Date
Kitware Robot 001a1d2686 CMake Nightly Date Stamp 2019-10-13 00:01:09 -04:00
Brad King 3008d6988c Merge branch 'release-3.16' 2019-10-12 10:30:48 -04:00
Brad King 07d15d70d2 Merge topic 'no-git-version'
874396a30d CMakeVersion: Add option to disable Git suffix
b254b0651e CMakeVersion: Prefer Git information provided by 'git archive' exports

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3910
2019-10-12 10:29:19 -04:00
Brad King 0a52bada33 Merge topic 'FindPostgreSQL-macports-and-v12'
ec43d96657 FindPostgreSQL: support macports installation scheme
908dff41c6 FindPostgreSQL: support version 12

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3907
2019-10-12 10:28:05 -04:00
Brad King 3f10e564e0 Merge topic 'iar-8051-support'
5652e11ea1 IAR: Add 8051 support
6e51db9a40 IAR: Fix v850 assembler support file extensions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3906
2019-10-12 10:27:06 -04:00
Brad King 04ad7b8571 Merge topic 'objc-c++flags'
806e01d638 Objective-C: Do not treat Objective-C files as C++ files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3904
2019-10-12 10:26:13 -04:00
Brad King e13df96d26 Merge topic 'doc-unity-build'
13c8dbd5a6 Help: Document CMAKE_UNITY_BUILD/CMAKE_EXPORT_COMPILE_COMMANDS limitation
ed06d27c7f Help: Extend documentation of CMAKE_UNITY_BUILD variable
1d9155eb93 Help: Improve UNITY_BUILD documentation formatting
8aac65a361 Help: Document CMAKE_UNITY_BUILD in 3.16 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3905
2019-10-12 10:25:11 -04:00
Brad King 576424f89a Merge branch 'release-3.15' 2019-10-12 10:24:02 -04:00
Brad King 7676966f99 Merge topic 'InstallRequiredSystemLibraries-redist'
ecbf6546d7 IRSL: Install vcruntime140_1.dll if available
2eecd1c3bc IRSL: Prefer MSVC runtime libraries from newest toolset first

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3909
2019-10-12 10:23:34 -04:00
Brad King b727e74fb0 Merge topic 'vs-v142-csharp-flags'
bbf216fb6b VS: Add toolset v142 CSharp flag table

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3908
2019-10-12 10:22:21 -04:00
Kitware Robot a8d42ecb8d CMake Nightly Date Stamp 2019-10-12 00:01:14 -04:00
Brad King 6847d81856 Merge branch 'no-git-version' into release-3.16
Merge-request: !3910
2019-10-11 14:36:31 -04:00
Kyle Edwards 874396a30d CMakeVersion: Add option to disable Git suffix
Distro maintainers who are building from Git with patches added on
may want to disable the automatic Git suffixing, as it does not
provide any useful information and simply confuses the end user.
Add an undocumented CMake_VERSION_NO_GIT variable to disable this.
2019-10-11 14:32:09 -04:00
Brad King b254b0651e CMakeVersion: Prefer Git information provided by 'git archive' exports
Update the approach from commit fe2c558ba6 (CMakeVersion: Preserve Git
information during 'git archive', 2019-07-25, v3.16.0-rc1~337^2) to
prefer `export-subst` information.  This will allow exported source
trees to be imported into unrelated Git repositories while still using
the original upstream CMake commit information.
2019-10-11 13:49:59 -04:00
Brad King 75f361a00c Merge branch 'InstallRequiredSystemLibraries-redist' into release-3.16
Merge-request: !3909
2019-10-11 12:08:51 -04:00
Brad King 83dbef1135 Merge branch 'InstallRequiredSystemLibraries-redist' into release-3.15
Merge-request: !3909
2019-10-11 12:08:27 -04:00
Brad King ecbf6546d7 IRSL: Install vcruntime140_1.dll if available
VS 2019 now distributes this additional runtime DLL with its `14.2x`
toolsets.

Fixes: #19829
2019-10-11 12:05:51 -04:00
Brad King 2eecd1c3bc IRSL: Prefer MSVC runtime libraries from newest toolset first 2019-10-11 11:57:39 -04:00
Brad King 820f952316 Merge branch 'vs-v142-csharp-flags' into release-3.16
Merge-request: !3908
2019-10-11 11:19:02 -04:00
Brad King 881bca249d Merge branch 'vs-v142-csharp-flags' into release-3.15
Merge-request: !3908
2019-10-11 11:18:41 -04:00
Brad King bbf216fb6b VS: Add toolset v142 CSharp flag table
While the flag tables for C and C++ were generated from MSBuild `.xml`
files, the CSharp flag tables were written by hand.  Copy the `v141`
flag table to use for the `v142` toolset.

Remove the special case added by commit 626c51f47b (VS: Update for
Visual Studio 2019 Preview 2, 2019-01-24, v3.14.0-rc1~74^2) that mapped
the v142 flag table lookup to v141 since we now have the real v142
table.

Fixes: #19828
2019-10-11 11:11:20 -04:00
Brad King d26ef5d807 Merge branch 'FindPostgreSQL-macports-and-v12' into release-3.16
Merge-request: !3907
2019-10-11 11:09:46 -04:00
Ben Boeckel ec43d96657 FindPostgreSQL: support macports installation scheme
Macports installs into `include/postgresql${suffix}`. Add this to the
list of supported suffixes. Also copy the non-server
`postgresql/${suffix}` path.
2019-10-11 11:04:13 -04:00
Ben Boeckel 908dff41c6 FindPostgreSQL: support version 12 2019-10-11 11:04:13 -04:00
Brad King 18f3e28652 Merge branch 'iar-8051-support' into release-3.16
Merge-request: !3906
2019-10-11 10:23:37 -04:00
Micael Borgefeldt 5652e11ea1 IAR: Add 8051 support
Issue: #17264
2019-10-11 10:22:52 -04:00
Micael Borgefeldt 6e51db9a40 IAR: Fix v850 assembler support file extensions
Fix the file extension added by commit 158f3795b8 (IAR: Add v850
assembler support, 2019-09-23, v3.16.0-rc1~70^2).

Issue: #17264
2019-10-11 10:22:52 -04:00
Brad King 3709389520 Merge branch 'objc-c++flags' into release-3.16
Merge-request: !3904
2019-10-11 09:24:24 -04:00
Brad King fe9a903d8e Merge topic 'cmake-bin-link-job-pool'
b7509dd674 Add option to configure Ninja link job pool for CMake's own binaries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3901
2019-10-11 08:36:57 -04:00
Brad King 90bb63a5ef Merge branch 'release-3.16' 2019-10-11 08:35:02 -04:00
Brad King ae24597202 Merge topic 'intel-19-compile-features'
3fb146cb11 Tests: Update CompileFeatures test for Intel 19 with VS 2015
847e8bc98c Intel: Fix default C++ dialect detection on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3900
2019-10-11 08:34:16 -04:00
Brad King 3e05637280 Merge branch 'doc-unity-build' into release-3.16
Merge-request: !3905
2019-10-11 08:32:53 -04:00
Brad King ef5875b559 Merge branch 'intel-19-compile-features' into release-3.16
Merge-request: !3900
2019-10-11 08:32:37 -04:00
Brad King 13c8dbd5a6 Help: Document CMAKE_UNITY_BUILD/CMAKE_EXPORT_COMPILE_COMMANDS limitation
These two options currently do not work well together.  Mention this
limitation in the documentation.

Issue: #19826
2019-10-11 08:05:59 -04:00
Brad King ed06d27c7f Help: Extend documentation of CMAKE_UNITY_BUILD variable 2019-10-11 08:05:29 -04:00
Brad King 1d9155eb93 Help: Improve UNITY_BUILD documentation formatting 2019-10-11 08:03:29 -04:00
Cristian Adam 806e01d638 Objective-C: Do not treat Objective-C files as C++ files
When both C and C++ langauges are enabled, the Objective-C files
should be treated as C files and not as C++ files.
2019-10-11 14:01:48 +02:00
Brad King 8aac65a361 Help: Document CMAKE_UNITY_BUILD in 3.16 release notes 2019-10-11 07:54:59 -04:00
Kitware Robot 696b2d40d4 CMake Nightly Date Stamp 2019-10-11 00:01:07 -04:00
Brad King 8d2f18af32 Merge topic 'rel-push'
1529f4a930 Utilities/Release: Teach "push" script to create destination subdirectory

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3902
2019-10-10 14:30:41 -04:00
Brad King 1529f4a930 Utilities/Release: Teach "push" script to create destination subdirectory
Extend the script added by commit 9bf97363b0 (Utilities/Release: Replace
upload step with a "push" script, 2019-05-24, v3.15.0-rc1~56^2) to
create the destination subdirectory for the CMake version being pushed.
2019-10-10 14:24:32 -04:00
Brad King b7509dd674 Add option to configure Ninja link job pool for CMake's own binaries
Create an undocumented `CMake_JOB_POOL_LINK_BIN` option that builders
can set to avoid linking too many of our binaries at once.
2019-10-10 13:28:45 -04:00
Brad King 3fb146cb11 Tests: Update CompileFeatures test for Intel 19 with VS 2015
Blacklist `cxx_relaxed_constexpr` for this case because the compiler
does not advertise the support in this mode but compiles our example.
2019-10-10 13:14:42 -04:00
Brad King 847e8bc98c Intel: Fix default C++ dialect detection on Windows
For the Intel Compiler for Windows we have some subtle preprocessor
checks in compiler feature detection to detect C++11 and C++14 modes.
Use these when detecting the default C++ dialect too.
2019-10-10 13:14:42 -04:00
Brad King afdb354ac7 Merge branch 'release-3.16' 2019-10-10 11:16:14 -04:00
Brad King 9150c818b7 CMake 3.16.0-rc1 v3.16.0-rc1 2019-10-10 09:31:05 -04:00
Brad King e3b9d125ef Merge topic 'deprecate-policy-old'
d00bb419ca Add deprecation warnings for policies CMP0069 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3893
2019-10-10 09:27:06 -04:00
Brad King d00bb419ca Add deprecation warnings for policies CMP0069 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.9 and below to encourage projects to port away
from setting policies to OLD.
2019-10-10 09:26:10 -04:00
Brad King 82501b40a1 Merge branch 'release-3.16' 2019-10-10 09:24:51 -04:00
Brad King 5586648a77 Merge topic 'ExternalProject-minor-typos'
5d3b825cbd ExternalProject: fix some documentation typos

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3898
2019-10-10 09:24:21 -04:00