Commit Graph

35789 Commits

Author SHA1 Message Date
Brad King
a8667467ea Add IPO compiler flags more consistently in generators
Move addition of IPO flags into `cmLocalGenerator::AddLanguageFlags`
because all call sites of that need the IPO flags, but not all were
following the call with `AppendFeatureOptions`.
2017-04-27 16:15:07 -04:00
Brad King
f0ae821681 Merge topic 'cpackifw-framework-version'
993ebdc7 CPackIFW: Framework version

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !761
2017-04-27 09:05:03 -04:00
Brad King
6887c1174f Merge topic 'elf-runpath-def'
370a6b1b cmELF: Remove now-redundant check for DT_RUNPATH's existence
7146a604 cmELF: Define DT_RUNPATH if it isn't already defined

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !764
2017-04-27 09:04:10 -04:00
Brad King
a7d9666d5d Merge topic 'UseSWIG-fallback-prefix'
8ed66379 UseSWIG: Fall back to empty PREFIX for unknown languages

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !767
2017-04-27 09:03:39 -04:00
Brad King
6cc5bf3dfa Merge topic 'test-install-objects-as-files'
f4c23ee2 Tests: Add case for install(FILES) with TARGET_OBJECTS
d272c4d5 Tests: Generalize RunCMake.install internal infrastructure

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !769
2017-04-27 09:03:09 -04:00
Brad King
7402bd3871 Merge topic 'cuda-device-link-ar'
493671a5 CUDA: Static libraries can now explicitly resolve device symbols
8fb85c68 CUDA: Makefile uses relative path for device linking status messages
a36fb229 CUDA: Visual Studio now properly delays device linking

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !759
2017-04-27 09:02:00 -04:00
Brad King
f38147aebc Merge topic 'test-makefile-custom-target-includes'
434f5cef Tests: Add case for IMPLICIT_DEPENDS in custom target
6d1be6e3 Tests: Split RunCMake.BuildDepends make-only condition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !766
2017-04-27 09:00:15 -04:00
Brad King
7c31ac6689 Merge topic 'FindGLUT-optional-deps'
e1b67d03 FindGLUT: Add library dependencies only if they exist

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !765
2017-04-27 08:58:51 -04:00
Brad King
06d34c4ae7 Merge topic 'clang-tidy-2'
9a740f1b cmCPackIFWInstaller: fix validation of WizardStyle option
a168b4cc cmServerProtocol: avoid copies in range for
1ef22a26 cmDocumentation: use ofstream local variable
ba8571ff clang-tidy: use operators for string comparison

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !738
2017-04-27 08:57:30 -04:00
Brad King
ef205e04d4 Merge topic 'ctest_test-ignore-skipped-tests'
851b6c15 cmCTestTestHandler: indicate why a test did not run
25a7f14f Help: add release notes
ab8bbef9 cmCTestTestHandler: count skipped tests as disabled
202a44a4 cmCTestRunTest: do not count skipped tests as failed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !741
2017-04-27 08:55:40 -04:00
Kitware Robot
5081dfca83 CMake Nightly Date Stamp 2017-04-27 00:01:06 -04:00
Brad King
f4c23ee244 Tests: Add case for install(FILES) with TARGET_OBJECTS 2017-04-26 16:23:12 -04:00
Robert Maynard
493671a521 CUDA: Static libraries can now explicitly resolve device symbols
If a static library has the property CUDA_RESOLVE_DEVICE_SYMBOLS enabled
it will now perform the device link step. The normal behavior is
to delay calling device link until the static library is consumed by
a shared library or an executable.
2017-04-26 16:18:25 -04:00
Brad King
d272c4d5f7 Tests: Generalize RunCMake.install internal infrastructure
Allow `run_install_test` to be used for simpler cases.
2017-04-26 16:16:04 -04:00
Maya Rashish
370a6b1bc5 cmELF: Remove now-redundant check for DT_RUNPATH's existence
We define it if it's not already defined.
2017-04-26 14:01:24 -04:00
Maya Rashish
7146a60429 cmELF: Define DT_RUNPATH if it isn't already defined
The value of 29 is used by binutils and is used in the System V ABI
draft from 2001.

It isn't defined on NetBSD 6.0.
2017-04-26 14:00:58 -04:00
Robert Maynard
8fb85c68bb CUDA: Makefile uses relative path for device linking status messages 2017-04-26 11:41:22 -04:00
Robert Maynard
a36fb229ba CUDA: Visual Studio now properly delays device linking 2017-04-26 11:41:22 -04:00
Brad King
41b84b2220 Merge branch 'release' 2017-04-26 09:04:07 -04:00
Brad King
ffb77367b4 Merge topic 'vs2017-sdk-detection'
0a29a311 VS2017: Verify Windows 8.1 SDK before using it

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !756
2017-04-26 09:03:15 -04:00
Brad King
380232e105 Merge topic 'xctest_static_framework'
bfa92e57 XCTest: Add support for static frameworks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !732
2017-04-26 09:00:20 -04:00
Brad King
f03bbc3970 Merge topic 'findopenmp-modernized'
99ac0940 FindOpenMP: Add tests
bb032c1b FindOpenMP: Complete overhaul.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !733
2017-04-26 08:59:02 -04:00
Brad King
434f5cef65 Tests: Add case for IMPLICIT_DEPENDS in custom target
Use the `IMPLICIT_DEPENDS` option of `add_custom_command` and place the
command in a custom target.  Verify that `INCLUDE_DIRECTORIES` of that
custom target are honored.  This is a case that was not really designed
to work but happens to work, is useful, and makes sense.  Add a test
case make sure it continues to work.

Issue: #16830
2017-04-26 08:46:11 -04:00
Brad King
6d1be6e382 Tests: Split RunCMake.BuildDepends make-only condition 2017-04-26 08:34:16 -04:00
Brad King
e1b67d0373 FindGLUT: Add library dependencies only if they exist
Fixes: #14060
2017-04-26 08:14:08 -04:00
Konstantin Podsvirov
9a740f1b59 cmCPackIFWInstaller: fix validation of WizardStyle option 2017-04-26 08:59:57 +02:00
Daniel Pfeifer
a168b4ccc2 cmServerProtocol: avoid copies in range for 2017-04-26 08:59:56 +02:00
Daniel Pfeifer
1ef22a26c9 cmDocumentation: use ofstream local variable 2017-04-26 08:59:56 +02:00
Daniel Pfeifer
ba8571ff2d clang-tidy: use operators for string comparison 2017-04-26 08:59:56 +02:00
Kitware Robot
8985c1dfd7 CMake Nightly Date Stamp 2017-04-26 00:01:04 -04:00
Brad King
008570150c Merge topic 'doc-eq-delete'
d0b70e67 Help/dev: Document CM_EQ_DELETE and CM_DISABLE_COPY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !755
2017-04-25 16:41:13 -04:00
Daniel Pfeifer
d0b70e676e Help/dev: Document CM_EQ_DELETE and CM_DISABLE_COPY 2017-04-25 22:08:47 +02:00
Konstantin Podsvirov
993ebdc72d CPackIFW: Framework version
Improved algorithm for finding the version of QtIFW tools.
2017-04-25 21:43:21 +03:00
Brad King
341486fd09 Merge branch 'vs2017-sdk-detection' into release 2017-04-25 11:05:37 -04:00
Roger Leigh
0a29a31161 VS2017: Verify Windows 8.1 SDK before using it
The detection logic added by commit v3.8.0-rc2~14^2 (VS2017: If Win 8.1
SDK is not available, use Win 10 SDK, 2017-02-20) was incomplete.  It is
possible for the Win 8.1 SDK registry entry to exist, and even the
directory, but the header files to not actually be installed.  Teach
`cmGlobalVisualStudio15Generator::IsWin81SDKInstalled` to verify that
the `windows.h` header actually exists in the SDK directory.  We do this
in `cmGlobalVisualStudio14Generator::GetWindows10SDKVersion` for the
Windows 10 SDK already.

Fixes: #16811
2017-04-25 11:04:52 -04:00
Guillaume Campagna
bfa92e5725 XCTest: Add support for static frameworks
Fixes: #16636
2017-04-25 09:56:34 -04:00
Brad King
74672e2ffa Merge topic 'ninja-dyndep-response-file'
594d3d6f Ninja: support response file for cmake_ninja_depends on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !722
2017-04-25 09:41:18 -04:00
Brad King
7dca104e14 Merge topic 'deprecate-policy-old'
4f5bbbea Add deprecation warnings for policies CMP0036 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !743
2017-04-25 09:39:06 -04:00
Brad King
959ad1d5e8 Merge topic 'use-disable-copy'
d6f0006c Use CM_DISABLE_COPY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !754
2017-04-25 09:36:01 -04:00
Brad King
31f7dc4b11 Merge branch 'release' 2017-04-25 09:22:06 -04:00
Brad King
56deb34b27 Merge topic 'hostwin32-doc-fix'
664bb367 Help: Fix CMAKE_HOST_WIN32 documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !752
2017-04-25 09:20:03 -04:00
Christian Pfeiffer
99ac0940ad FindOpenMP: Add tests 2017-04-25 09:11:56 -04:00
Christian Pfeiffer
bb032c1bf5 FindOpenMP: Complete overhaul. 2017-04-25 09:11:55 -04:00
Brad King
75d91e9c85 Merge topic 'wix-attributes-patch'
58cf9d41 wix: adds ability to modify attributes with patch
03628bb6 wix: fix spelling error in function name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !742
2017-04-25 09:05:37 -04:00
Brad King
60e48295ae Merge topic 'FindBoost-backport-fixes'
502608ab FindBoost: Support prebuilt Windows binaries from SourceForge
b479429b FindBoost: Allow testing for multiple compiler suffixes
92857eef FindBoost: Fix library directory for VS 2017

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !751
2017-04-25 09:04:37 -04:00
Brad King
8ed663791b UseSWIG: Fall back to empty PREFIX for unknown languages
Teach `SWIG_ADD_LIBRARY` to fall back to an empty library prefix for
languages we don't explicitly define already.

Suggested-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
2017-04-25 08:52:14 -04:00
Bernhard Burgermeister
594d3d6fff Ninja: support response file for cmake_ninja_depends on Windows
The internal tool "cmake_ninja_depends" now supports reading the list of ddi
files from a reponse file to circumvent Windows command line length limits.

Use this response file for dyndep rule on Windows.
2017-04-25 09:32:50 +02:00
Kitware Robot
759c675212 CMake Nightly Date Stamp 2017-04-25 00:01:05 -04:00
Daniel Pfeifer
d6f0006c0b Use CM_DISABLE_COPY 2017-04-24 22:03:06 +02:00
Ben Boeckel
851b6c1595 cmCTestTestHandler: indicate why a test did not run 2017-04-24 15:42:40 -04:00