Commit Graph

36287 Commits

Author SHA1 Message Date
Michael Stürmer 51865fc67e Vs: allow CSharp targets to be linked to CXX targets
Fixes: #16755
2017-06-21 08:37:15 +02:00
Brad King b7799f07d1 Merge branch 'doc-compile-features' into release-3.9 2017-06-15 10:14:29 -04:00
Brad King c4610df03c Help: Document that VS 2017 compile features are recorded
They were recorded by commit v3.7.0-rc1~156^2~2 (Features: Record
features for VS 15 Preview 4, 2016-09-05).

Fixes: #16974
2017-06-15 10:11:09 -04:00
Brad King 69d50a7edb Help: Fix typo in Cray/PGI/XL compile features docs
Reported-by: Rolf Eike Beer <eike@sf-mail.de>
2017-06-15 10:08:59 -04:00
Brad King 61c1848cdc Merge branch 'ipo-per-lang' into release-3.9 2017-06-14 15:10:39 -04:00
Brad King df1c187f2f Merge branch 'update-curl' into release-3.9 2017-06-14 15:10:28 -04:00
Brad King 8e32bebd8d Merge branch 'libuv-restore-fmode' into release-3.9 2017-06-14 15:10:20 -04:00
Brad King fdacfc6604 Merge branch 'add-missing-compiler-release-notes' into release-3.9 2017-06-14 15:10:12 -04:00
Brad King 871adefce9 cmake: Fix default file translate mode when using libuv
On Windows, libuv's one-time initialization changes the C runtime
library's  `_fmode` setting to `_O_BINARY`, thus causing files to open
as binary after that instead of the default `_O_TEXT` mode.  See
upstream libuv issue 840.  Work around the problem by performing libuv
initialization early and then restoring `_fmode`.

In particular, this currently affects server mode.  Without this fix,
the `_fmode` setting changes when the server mode initializes libuv.

Fixes: #16962
2017-06-14 12:46:03 -04:00
Chuck Atkins 28756437f2 Help: Add docs for new compilers supporting language standards. 2017-06-14 11:54:58 -04:00
Brad King a3ef36f153 Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2017-06-14 (54b636f1)

Resolve a logical conflict in `Utilities/cmcurl/CMakeLists.txt`
by disabling CA bundle/path detection for build within CMake.
CMake already handles locating a CA bundle/path at runtime.
2017-06-14 11:10:22 -04:00
Curl Upstream 06d6d6c4ae curl 2017-06-14 (54b636f1)
Code extracted from:

    https://github.com/curl/curl.git

at commit 54b636f14546d3fde9f9c67c3b32701d78563161 (curl-7_54_1).
2017-06-14 10:46:35 -04:00
Brad King 91101f108d curl: Update script to get curl 7.54.1 2017-06-14 10:46:19 -04:00
Brad King ba247ccaba IPO: Consider support for each language separately
We only define `INTERPROCEDURAL_OPTIMIZATION` behavior for C, CXX, and
Fortran languages.  Do not try to enable support for other languages.
Furthermore, each language builds with a different compiler, so check
for support by CMake and the compiler for each language independently.

Fixes: #16944
2017-06-14 10:36:57 -04:00
Brad King 14c82d14bc Merge branch 'readme-supported-platforms' into release-3.9 2017-06-13 13:10:59 -04:00
Brad King bf2e4bfbaa README: Update list of supported platforms
Convert to a bullet list.  Drop platforms for which we no longer have
nightly testing.
2017-06-13 13:05:51 -04:00
Brad King c52b982da6 CMake 3.9.0-rc3 v3.9.0-rc3 2017-06-13 09:59:27 -04:00
Brad King fb99b0b87b Merge branch 'cuda-dlink-no-deprecated-gpu' into release-3.9 2017-06-13 09:17:06 -04:00
Robert Maynard 7368ade250 CUDA: When linking device code suppress CUDA 8.0+ deprecation warnings
The CUDA compiler automatic deprecation warnings are pure noise when
doing device linking, and should be suppressed to reduce the amount of
confusion from users.
2017-06-13 09:15:19 -04:00
Brad King 70ec0f2ad1 Merge branch 'doc-pkgconfig-list' into release-3.9 2017-06-12 16:24:50 -04:00
Rolf Eike Beer 70a6cb70f6 FindPkgConfig: mention that variables will be ;-lists 2017-06-12 22:03:20 +02:00
Rolf Eike Beer 6610fdbed2 FindPkgConfig: fix confusing indentation 2017-06-12 22:03:20 +02:00
Brad King 05789144bd Merge branch 'android-unified-headers' into release-3.9 2017-06-12 12:59:23 -04:00
Brad King 3d00be13ee Android: Add support for unified headers
The unified headers are preferred as of NDK r15, so use them by default
if available and provide an option to use the deprecated headers.

Inspired-by: Florent Castelli <florent.castelli@gmail.com>
Fixes: #16584
2017-06-12 11:47:30 -04:00
Brad King a131316a95 Merge branch 'android-standalone-no-sysroot-include' into release-3.9 2017-06-09 16:42:13 -04:00
Brad King 22f8a465d7 Android: Do not pass sysroot include for standalone toolchain
The change in commit v3.8.0-rc1~60^2 (Android: Pass sysroot include
directory explicitly, 2017-01-20) does not make sense when compiling
with a standalone toolchain which is tied to a single API version.
Drop the explicit include directory so that the compiler uses its
default system include order.

Fixes: #16954
2017-06-09 16:28:32 -04:00
Brad King f83d3e3f2c Merge branch 'android-standalone-unified-api-level' into release-3.9 2017-06-09 14:20:09 -04:00
Brad King 5f93bf787d Android: Detect API version of standalone toolchain with unified headers
A standalone toolchain with unified headers keeps the `__ANDROID_API__`
macro in the `bin/clang` launcher instead of in `api-level.h`.

Issue: #16954
2017-06-09 14:19:52 -04:00
Brad King ae22079808 Merge branch 'FindDoxygen-imported-target-once' into release-3.9 2017-06-09 10:04:13 -04:00
Brad King 522c92d752 FindDoxygen: Create imported targets at most once in a given scope
The imported targets added by commit v3.9.0-rc1~55^2 (Improve Doxygen
support, 2017-04-10) need to be guarded against duplicate creation on
multiple inclusion.
2017-06-09 10:03:26 -04:00
Brad King 43dae64597 Merge branch 'improve-msvc-feature-checks' into release-3.9 2017-06-08 09:23:05 -04:00
Brad King f44d9bcc8f C++ feature checks: Improve exclusion of "0 Warning(s)"
Simply matching "0 Warning" may match "10 Warning(s)".  Instead remove
the entire `    0 Warning(s)` content from the MSBuild output before
searching it for warnings.

Issue: #16942
2017-06-08 09:22:09 -04:00
Brad King 010b50fda7 CMake 3.9.0-rc2 v3.9.0-rc2 2017-06-07 13:05:16 -04:00
Brad King 1c6d03729a Merge branch 'FindDoxygen-compat' into release-3.9 2017-06-07 12:54:57 -04:00
Konstantin Podsvirov 893ee1b17c FindDoxygen: Restore DOXYGEN_DOT_FOUND variable
The changes in commit v3.9.0-rc1~55^2 (Improve Doxygen support,
2017-04-10) accidentally dropped this variable from its compatibility
mode.
2017-06-07 12:51:06 -04:00
Brad King bc5a252a7b Merge branch 'revert-FindGTest-main-debug' into release-3.9 2017-06-07 12:39:57 -04:00
Brad King ab2954c471 Revert "FindGTest: Add gtestd_main variant of debug library"
The reported variant turned out to be due to a local configuration
problem.

Issue: #16940
2017-06-07 12:38:25 -04:00
Brad King 44e323ca92 Merge branch 'doc-3.9-find_dependency' into release-3.9 2017-06-07 10:14:45 -04:00
Matthew Woehlke 137938e5f0 Help: Add 3.9 release note about find_dependency update 2017-06-07 10:13:49 -04:00
Brad King b9d411eb25 Merge branch 'autogen-no-vs-per-config' into release-3.9 2017-06-07 10:01:18 -04:00
Brad King cc1b513df1 Autogen: Do not use per-config file suffixes with VS yet
The change in commit v3.9.0-rc1~42^2~1 (Autogen: Per-config file
suffixes, 2017-05-15) broke Visual Studio builds because the generators
do not yet fully support per-config sources.  Disable the behavior on
Visual Studio generators for now.

Fixes: #16939
2017-06-07 09:41:49 -04:00
Brad King 5f8271962b Merge branch 'FindGTest-main-debug' into release-3.9 2017-06-06 09:05:23 -04:00
Brad King df18cd1dd5 FindGTest: Add gtestd_main variant of debug library
Current distributions name the debug library variant as `gtestd_main`
rather than `gtest_maind`.

Fixes: #16940
2017-06-06 09:05:17 -04:00
Brad King 56136e6315 Merge branch 'fix-vs2017-featuredetect' into release-3.9 2017-06-06 08:59:55 -04:00
Walter Gray f4ce396254 C++ feature checks: Do not match "0 Warning(s)" as a warning
The change in commit v3.9.0-rc1~6^2~1 (C++ feature checks: check output
for '[Ww]arning', 2017-06-03) accidentally matches `0 Warning(s)` in the
output and always thinks a warning exists, thus failing all checks in
Visual Studio builds.

Fixes: #16942
2017-06-06 08:55:43 -04:00
Brad King 344f9ed96a CMake 3.9.0-rc1 version update v3.9.0-rc1 2017-06-05 10:32:40 -04:00
Brad King 9450d13099 Help: Drop development topic notes to prepare release
Release versions do not have the development topic section of
the CMake Release Notes index page.
2017-06-05 10:31:50 -04:00
Brad King d025faf436 Merge topic 'doc-3.9-relnotes'
945cb9aa Help: Organize and revise 3.9 release notes
7bc26430 Help: Consolidate 3.9 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !926
2017-06-05 10:22:15 -04:00
Brad King c26c69498e Merge topic 'doc-dev-maint'
a44d3cc6 Help/dev: Add release branch creation to maintainer guide
4e52809e Help/dev: Add a CMake Maintainer Guide document
c913ab61 Utilities/Release: Add script to consolidate release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !925
2017-06-05 10:18:40 -04:00
Brad King 2d3d88f3bb Merge topic 'GoogleTest-disabled-tests'
92bbb706 GoogleTest: Add support for disabled tests

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !920
2017-06-05 10:16:39 -04:00