Commit Graph

22781 Commits

Author SHA1 Message Date
Brad King
d43eb3aec2 Merge topic 'vs-project-guid'
776929b3 VS: Fix .vcxproj ProjectGuid element case

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !817
2017-05-10 09:27:10 -04:00
Brad King
8a19ce4767 Merge topic 'ninja-windows-command-concat'
5e0e03d9 Ninja: Fix command concatenation on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !801
2017-05-10 09:23:43 -04:00
Brad King
53f1f55599 Merge topic 'separate-command-registration'
44c0b2b7 cmCommand: remove IsScriptable
da8faa8c cmState: remove RemoveUnscriptableCommands
c3f41af2 cmMakefile: don't check IsScriptable
c2c2bbb3 cmake: register fake project commands in -P mode
c36d63cd cmake: initialize with Role that controls which commands to register
8986dec0 ctest: remove unused cmake instance

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !714
2017-05-10 09:22:46 -04:00
Kitware Robot
730cd10c64 CMake Nightly Date Stamp 2017-05-10 00:01:04 -04:00
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
Bernhard Burgermeister
5e0e03d953 Ninja: Fix command concatenation on Windows
Put commands that contain `||` into brackets to avoid early abort of
execution by `cmd.exe` because `||` has higher precedence than `&&` in
`cmd.exe`.

Add test to check for command execution after `||` as part of a
parameter and as command separator.

Fixes: #16850
2017-05-09 11:34:42 -04:00
Brad King
776929b3c4 VS: Fix .vcxproj ProjectGuid element case
The `.vcxproj` file format expects `ProjectGuid`, not `ProjectGUID`.
The latter is expected by `.vcproj` files from VS 2008, so this was
likely a typo when the VS 2010 generator was first introduced.

Fixes: #11968
2017-05-09 10:12:12 -04:00
Kitware Robot
1019789f2a CMake Nightly Date Stamp 2017-05-09 00:01:04 -04:00
Daniel Pfeifer
44c0b2b75a cmCommand: remove IsScriptable 2017-05-08 22:58:01 +02:00
Daniel Pfeifer
da8faa8c7e cmState: remove RemoveUnscriptableCommands 2017-05-08 22:58:01 +02:00
Daniel Pfeifer
c3f41af2be cmMakefile: don't check IsScriptable 2017-05-08 22:58:01 +02:00
Daniel Pfeifer
c2c2bbb3d4 cmake: register fake project commands in -P mode 2017-05-08 22:58:01 +02:00
Daniel Pfeifer
c36d63cd48 cmake: initialize with Role that controls which commands to register 2017-05-08 22:29:44 +02:00
Daniel Pfeifer
8986dec05d ctest: remove unused cmake instance 2017-05-08 22:29:44 +02: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
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
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
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
7165065f03 cmInstalledFile: add cmConfigure.h as first #include 2017-05-06 00:03:42 +02: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
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
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
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
894ff96c06 auto_ptr: silence clang-tidy warnings 2017-05-04 17:39:23 +02:00
Ben Boeckel
3e027d9def c++: prefer vectors over lists
None of these usages of `std::list` were inserting or removing elements
in the middle of the structure, so there were no benefits to using it.

Other uses were related to C pointers being stable in a list of strings
whereas in a vector of strings, small pointer optimizations could be
moved and become invalid after a modification to the hosting vector.
None of these uses modified the vector after handing out a C string to
an external store.
2017-05-04 11:17:49 -04:00
Brad King
71595858b8 Merge topic 'cpackifw-part-refactoring'
9c13e8eb CPackIFW: Refactor out some commonly used code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !762
2017-05-04 10:31:29 -04:00
Brad King
ef9c9c92f5 Merge topic 'remove-top-level-xcode-groups'
01cd88c0 Xcode: Remove the top-level Sources and Resources groups

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !779
2017-05-04 10:31:05 -04:00
Kitware Robot
ec526768ac CMake Nightly Date Stamp 2017-05-04 00:01:04 -04:00
Peter Ivanyi
ea6bb8293f VS: Use tool-specific flag table for COMPILE_FLAGS parsing
Fixes: #14710
2017-05-03 12:48:53 -04:00
Peter Ivanyi
da9076e422 VS: Fix MASM flag tables
Remove the leading `/` characters from flag table entries.  Our parser
checks the table with the leading character already removed.

Issue: #14710
2017-05-03 12:46:27 -04:00
Konstantin Podsvirov
9c13e8eb6f CPackIFW: Refactor out some commonly used code
Move common used code to new cmCPackIFWCommon base class.
2017-05-03 11:32:05 -04:00
Matt Stevens
01cd88c0e5 Xcode: Remove the top-level Sources and Resources groups
This addresses duplicate file reference warnings from xcodebuild caused
by the same file reference being a member of both the target's group and
the top-level Resources group. Since resources are already a member of
their associated target's group the top-level Resources group isn't
strictly necessary, and removing it results in a project structure
closer to that of a current Xcode project template.

Fixes: #15272
2017-05-03 11:05:42 -04:00
Brad King
1fe2dc5ef2 Merge topic 'ipo-xcode'
7e75568b Xcode: Support IPO (LTO)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !785
2017-05-03 11:04:17 -04:00
Kitware Robot
9682027954 CMake Nightly Date Stamp 2017-05-03 00:01:21 -04:00
Ruslan Baratov
7e75568b00 Xcode: Support IPO (LTO) 2017-05-02 18:33:25 +03:00
Brad King
a9e48968bb Merge topic 'add-language-standards-to-more-compilers'
9b97cb55 PGI: Add language standards for PGI
daae564d Cray: Add language standards for the Cray compiler
25e83ce5 CompileFeatures: Let STD compile options be a list
1de70845 Compilers: Add common macros to be used by various compilers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !784
2017-05-02 08:24:06 -04:00
Brad King
8fba1f4a03 Merge topic 'excludeFixtures'
c1b2b7c0 Add ctest options for limiting which tests fixtures add

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !778
2017-05-02 08:22:07 -04:00
Brad King
96a8b68d5a Merge topic 'sunpro-c++11-link'
e17b1791 Features: On SunPro link with language standard compiler flag
d037be12 cmLocalGenerator: Add a hook for compiler flags used at link time
b115bc49 Features: Refactor <LANG>_STANDARD update

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !783
2017-05-02 08:20:38 -04:00