Chuck Atkins
9b97cb5562
PGI: Add language standards for PGI
2017-05-01 15:15:30 -04:00
Chuck Atkins
daae564d87
Cray: Add language standards for the Cray compiler
2017-05-01 15:15:30 -04:00
Chuck Atkins
25e83ce580
CompileFeatures: Let STD compile options be a list
2017-05-01 15:15:29 -04:00
Chuck Atkins
1de7084501
Compilers: Add common macros to be used by various compilers
...
With numerous compilers now supporting multiple language standards in CMake,
some common design patterns have begun to emerge. This is intended to
be a collection of macros implementing many of those common design
patterns that can be factored out and leveraged by many compilers.
Currently this only contains the code to set the default language
standard of not preset. More functionality will be added in the future
as appropriate.
2017-05-01 15:15:23 -04:00
Brad King
e80e8eb609
Merge topic 'yacclex-clang-tidy'
...
7f4eaf23 LexerParser: disable clang-tidy checks
9bad0dfc LexerParser: move to custom directory
8927e913 CMakeLists: remove option to regenerate yacc/lex
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !775
2017-05-01 09:18:06 -04:00
Brad King
79f4a772dc
Merge topic 'qt-clang-tidy'
...
b13bc865 Disable clang-tidy checks on files generated by Qt
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !777
2017-05-01 09:16:39 -04:00
Brad King
a2a13e8b48
Merge topic 'ipo-clang'
...
7d057b27 Clang IPO (LTO) support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !717
2017-05-01 09:15:46 -04:00
Brad King
6b7ec8ea1c
Merge topic 'xl-enhancements'
...
6555286c XL: Add C and C++ language level flags
54a4d28d XL: Add additional regex for bogus compile options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !776
2017-05-01 09:15:07 -04:00
Kitware Robot
033d4f37a7
CMake Nightly Date Stamp
2017-05-01 00:01:03 -04:00
Kitware Robot
7382523f85
CMake Nightly Date Stamp
2017-04-30 00:01:03 -04:00
Kitware Robot
e3858dd50b
CMake Nightly Date Stamp
2017-04-29 00:01:11 -04:00
Daniel Pfeifer
7f4eaf2348
LexerParser: disable clang-tidy checks
2017-04-28 23:10:39 +02:00
Daniel Pfeifer
9bad0dfcce
LexerParser: move to custom directory
2017-04-28 23:10:39 +02:00
Daniel Pfeifer
8927e913f7
CMakeLists: remove option to regenerate yacc/lex
2017-04-28 20:42:30 +02:00
Chuck Atkins
6555286c55
XL: Add C and C++ language level flags
2017-04-28 11:48:32 -04:00
Chuck Atkins
54a4d28dcf
XL: Add additional regex for bogus compile options
2017-04-28 11:08:41 -04:00
Ruslan Baratov
7d057b2738
Clang IPO (LTO) support
2017-04-28 17:13:56 +03:00
Brad King
d828d0eb08
Merge topic 'refactor-ipo-flags'
...
47990f9f Inline and remove AddFeatureFlags method
a8667467 Add IPO compiler flags more consistently in generators
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !772
2017-04-28 09:55:44 -04:00
Brad King
2911d47016
Merge topic 'fix-qhalt-for-xl'
...
f320907b XL: Fix the use of the -qhalt flag for varying OSs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !771
2017-04-28 09:53:50 -04:00
Brad King
b61e9f8382
Merge topic 'FindBoost-compile-features'
...
4c2ae38b Boost Fiber actually require at least C++11.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !749
2017-04-28 09:52:41 -04:00
Brad King
12512bdb51
Merge topic 'separgs-native'
...
28d83837 separgs: Use NATIVE_COMMAND where appropriate
2a207aac separgs: Add a NATIVE_COMMAND mode
81841426 separgs: Migrate tests to RunCMake tests
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !753
2017-04-28 09:52:07 -04:00
Brad King
34a083a195
Merge topic 'bindexplib-consts'
...
afb21342 bindexplib: fix constants symbols export
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !763
2017-04-28 09:12:22 -04:00
Daniel Pfeifer
b13bc8659f
Disable clang-tidy checks on files generated by Qt
2017-04-28 09:45:21 +02:00
Kitware Robot
02d1186882
CMake Nightly Date Stamp
2017-04-28 00:01:04 -04:00
Brad King
47990f9fef
Inline and remove AddFeatureFlags method
...
The method implementation is now only one call of another method, so
inline it at call sites and remove it.
2017-04-27 16:21:59 -04:00
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
Chuck Atkins
f320907b3d
XL: Fix the use of the -qhalt flag for varying OSs
...
The valid settings to pass to the IBM XL compiler for the -qhalt flag
vary widely by language and platform. Based on existing documentation,
the following table shows which error levels are valid to pass to
-qhalt= since -qhalt=e is not always available.
OS | xlc | xlC | xlf |
---------|-------|------------------
AIX | iwes | iw s | ilwesu |
BlueGene | iwes | iwes | ilwesu |
OS X | iwesu | iwesu | ilwesu |
Linux | w | w | ilwesu |
2017-04-27 13:29:28 -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
Mikhail Paulyshka
afb21342ea
bindexplib: fix constants symbols export
2017-04-26 22:23:33 +03:00
Christian Pfeiffer
28d8383797
separgs: Use NATIVE_COMMAND where appropriate
2017-04-26 20:34:23 +02:00
Christian Pfeiffer
2a207aaca1
separgs: Add a NATIVE_COMMAND mode
2017-04-26 20:34:06 +02:00
Christian Pfeiffer
81841426fc
separgs: Migrate tests to RunCMake tests
2017-04-26 20:26:47 +02: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