Commit Graph

35918 Commits

Author SHA1 Message Date
Brad King
b69e061b80 Merge topic 'suncc-cxx11'
2731a91c Update SunPro flags used for CMake itself to support C++11
86edc5b6 Choose compiler-specific flags earlier in CMake's own build
7b2d529b cmBase32: Cast pointer subtraction result to size explicitly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !813
2017-05-09 11:37:35 -04:00
Brad King
fcf60ec1bc Merge topic 'test-macos-framework-type-universal-binary'
59f84452 Tests: Fix RunCMake.Framework expectation for universal binaries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !814
2017-05-09 11:37:15 -04:00
Kitware Robot
1019789f2a CMake Nightly Date Stamp 2017-05-09 00:01:04 -04:00
Brad King
59f8445219 Tests: Fix RunCMake.Framework expectation for universal binaries
While at it, replace `\n` in with a real newline because such escape
sequences are not processed in this context.
2017-05-08 11:38:23 -04:00
Brad King
2731a91c98 Update SunPro flags used for CMake itself to support C++11 2017-05-08 10:53:46 -04:00
Brad King
86edc5b6a5 Choose compiler-specific flags earlier in CMake's own build
Add the flags early enough be used in the checks for C++ features.
2017-05-08 10:26:48 -04:00
Brad King
7b2d529bde cmBase32: Cast pointer subtraction result to size explicitly
The SunPro 5.13 compiler with `-std=c++11` complains otherwise.
2017-05-08 10:26:36 -04:00
Brad King
22d0a83a4c Merge topic 'c++11-iwyu'
50dd15af QtDialog: block include-what-you-use
f3e21613 cmServer: include what you use
9535823b IWYU: map system symbols to libuv
6a91ee02 IWYU: add mapping for cm::auto_ptr
7165065f cmInstalledFile: add cmConfigure.h as first #include

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !811
2017-05-08 10:03:15 -04:00
Brad King
141b8ccf2c Merge topic 'f2c-int-fix'
93f119ed FortranCInterface: Add support for PGI on Windows
2cfea104 FortranCInt: Pass CONFIG flags to try_compile

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !802
2017-05-08 09:54:11 -04:00
Brad King
7335550209 Merge topic 'jsoncpp-no-iwyu'
e446fa4e jsoncpp: Exclude from include-what-you-use

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
Merge-request: !810
2017-05-08 09:51:02 -04:00
Brad King
0361ca52f6 Merge topic 'nag-fortran-version'
d47190ba NAG: Detect compiler version of NAG Fortran
d52a4256 NAG: Extend compiler tool selection with NAG Fortran

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: Tom <tom.clune@nasa.gov>
Merge-request: !809
2017-05-08 09:50:20 -04:00
Brad King
b05688db47 Merge topic 'pgi-rdynamic-fix'
fb31229e Linux-PGI: Prevent -rdynamic ending up in flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !808
2017-05-08 09:49:12 -04:00
Brad King
2f087606b7 Merge topic 'pgi-fix-linux'
d59e3509 Do not assume GCC libs are linked by all compilers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !800
2017-05-08 09:48:19 -04:00
Brad King
9fe8abbe03 Merge topic 'FindOpenCL-AMDAPPSDKROOT'
b259fe84 FindOpenCL: Add missing PATHS keyword

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !807
2017-05-08 09:47:35 -04:00
Brad King
830637192d Merge topic 'clazy-cleanup'
422359fe CMakeSetupDialog: use multi-arg
1ffe47e3 QCMakeCacheView: prever QVector over QList
726b3b6f QtDialog: add reference in foreach
377d4df2 QCMakeCacheView: avoid temporary containers for iteration
a57b30bb QtDialog: add missing emit keywords
7a0e2392 cmFileMonitor: use cmDeleteAll

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !805
2017-05-08 09:46:58 -04:00
Brad King
4c17299647 Merge topic 'libuv-solaris'
6b0bc432 libuv: Compile as C 99 on Solaris 5.11
b08d2d99 libuv: Compile as C 90 on Solaris 5.10 with SunPro 5.14

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !806
2017-05-08 09:46:20 -04:00
Kitware Robot
033eafcf44 CMake Nightly Date Stamp 2017-05-08 00:01:05 -04:00
Kitware Robot
41f479467b CMake Nightly Date Stamp 2017-05-07 00:01:03 -04:00
Christian Pfeiffer
93f119ed25 FortranCInterface: Add support for PGI on Windows 2017-05-06 16:36:33 +02:00
Christian Pfeiffer
2cfea104a6 FortranCInt: Pass CONFIG flags to try_compile
This change ensures that Intel Fortran's /libs: in
CMAKE_Fortran_FLAGS and Visual C++'s /MT or /MD in the
CMAKE_C_FLAGS_RELEASE do not conflict with each other.
2017-05-06 16:36:24 +02:00
Kitware Robot
17981e0946 CMake Nightly Date Stamp 2017-05-06 00:01:04 -04:00
Daniel Pfeifer
50dd15af58 QtDialog: block include-what-you-use 2017-05-06 00:03:48 +02:00
Daniel Pfeifer
f3e216131b cmServer: include what you use 2017-05-06 00:03:47 +02:00
Daniel Pfeifer
9535823b2c IWYU: map system symbols to libuv 2017-05-06 00:03:44 +02:00
Daniel Pfeifer
6a91ee0265 IWYU: add mapping for cm::auto_ptr 2017-05-06 00:03:43 +02:00
Daniel Pfeifer
7165065f03 cmInstalledFile: add cmConfigure.h as first #include 2017-05-06 00:03:42 +02:00
Brad King
e446fa4eb4 jsoncpp: Exclude from include-what-you-use
This is third-party code.
2017-05-05 16:00:20 -04:00
Christian Pfeiffer
fb31229e99 Linux-PGI: Prevent -rdynamic ending up in flags
Ensure that PGI on Linux keeps its
CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS empty, especially of -rdynamic.
In CMakeFortranInformation a lot of flags will be copied from their C
equivalents if they're not defined. By using a combination of GCC and
PGFortran, this will lead to -rdynamic ending up in the PGI flags and
none of the PGI compilers understand that flag, crashing with a fatal
error.
2017-05-05 17:30:11 +02:00
Christian Pfeiffer
d59e350985 Do not assume GCC libs are linked by all compilers
Not all compilers link libgcc and libgcc_s causing trouble when linking
C++ code with instance PGI Fortran and C compilers.
2017-05-05 17:26:29 +02:00
Tom Clune
d47190ba46 NAG: Detect compiler version of NAG Fortran
Fixes: #16817
2017-05-05 11:08:37 -04:00
Tom Clune
d52a4256b2 NAG: Extend compiler tool selection with NAG Fortran
Add `nag` and `nagfor`.
2017-05-05 10:31:09 -04:00
Kirill Mavreshko
b259fe84ab FindOpenCL: Add missing PATHS keyword
The change in commit b888104e44 (FindOpenCL: add AMDAPPSDKROOT into
paths for OpenCL library, 2017-05-03) accidentally left out the `PATHS`
keyword.  Without it properly installed AMD APP SDK (OpenCL) cannot be
detected.  Tested on Ubuntu 16.04.
2017-05-05 10:19:19 -04:00
Brad King
6b0bc43281 libuv: Compile as C 99 on Solaris 5.11
SunPro 5.13 and below do not compile as c99 by default.
2017-05-05 09:52:25 -04:00
Brad King
b08d2d993c libuv: Compile as C 90 on Solaris 5.10 with SunPro 5.14 2017-05-05 09:52:24 -04:00
Brad King
e1ae739e1f Merge topic 'ctest_submit_headers'
1a7d00bd ctest_submit: Add HTTPHEADER option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !793
2017-05-05 09:50:58 -04:00
Brad King
b605bdfd03 Merge topic 'vector-over-list'
3e027d9d c++: prefer vectors over lists

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !799
2017-05-05 09:49:41 -04:00
Brad King
5a9f1b87c3 Merge topic 'add-more-sunpro-c-flags'
1a09a7d9 SunPro: Add more flags for C language standards

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !803
2017-05-05 09:47:57 -04:00
Brad King
053c0f1e44 Merge topic 'clang-tidy-config'
d0c3e47d clang-tidy: add option CMake_RUN_CLANG_TIDY
894ff96c auto_ptr: silence clang-tidy warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !790
2017-05-05 09:47:19 -04:00
Brad King
718f0c24f7 Merge topic 'findjava-openjdk9'
f5a3ec4d FindJava: Add support for OpenJDK early access builds

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !797
2017-05-05 09:45:30 -04:00
Brad King
d90bf11e2f Merge topic 'vs-masm-flags'
ea6bb829 VS: Use tool-specific flag table for COMPILE_FLAGS parsing
da9076e4 VS: Fix MASM flag tables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !791
2017-05-05 09:45:04 -04:00
Daniel Pfeifer
422359fe79 CMakeSetupDialog: use multi-arg 2017-05-05 09:21:17 +02:00
Daniel Pfeifer
1ffe47e37f QCMakeCacheView: prever QVector over QList 2017-05-05 09:21:16 +02:00
Daniel Pfeifer
726b3b6f75 QtDialog: add reference in foreach 2017-05-05 09:21:13 +02:00
Daniel Pfeifer
377d4df279 QCMakeCacheView: avoid temporary containers for iteration 2017-05-05 09:21:12 +02:00
Daniel Pfeifer
a57b30bb60 QtDialog: add missing emit keywords 2017-05-05 09:21:11 +02:00
Daniel Pfeifer
7a0e239240 cmFileMonitor: use cmDeleteAll 2017-05-05 09:21:10 +02:00
Kitware Robot
0e967e3b1d CMake Nightly Date Stamp 2017-05-05 00:01:05 -04:00
Chuck Atkins
1a09a7d992 SunPro: Add more flags for C language standards 2017-05-04 14:10:07 -04:00
Zack Galbreath
1a7d00bd12 ctest_submit: Add HTTPHEADER option
Allow CTest script writers to specify additional HTTP headers to be sent
to CDash during submission.

The motivating case for this feature is a corresponding change in CDash.
This will allow projects to refuse submissions from any site not bearing
a valid authentication token.
2017-05-04 12:21:21 -04:00
Daniel Pfeifer
d0c3e47d80 clang-tidy: add option CMake_RUN_CLANG_TIDY 2017-05-04 17:39:23 +02:00