Brad King
594a9fcf6f
Merge branch 'upstream-KWSys' into update-kwsys
...
* upstream-KWSys:
KWSys 2017-06-01 (8243fefa)
2017-06-01 14:07:35 -04:00
KWSys Upstream
74ef363dd7
KWSys 2017-06-01 (8243fefa)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 8243fefa3f1ecb623a3bb8db8153941b914c7206 (master).
Upstream Shortlog
-----------------
Pavel Solodovnikov (2):
36d14691 Access string npos without instance
ab265991 Remove second arg: npos in substr usages
2017-06-01 14:07:35 -04:00
Brad King
6a42b9609f
Merge topic 'ninja-mingw'
...
82badfff Ninja: Fix CMP0058 on MinGW
c5ff50fc Tests: Fix CustomCommandByproducts regex for phony rules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !919
2017-06-01 14:00:58 -04:00
Brad King
860db083ca
Merge topic 'add-common-record-features-macros'
...
3c1ecb52 Intel: Fix missing C std default for 12.0 <= ver < 12.1
f70b0bb3 SunPro: Make sure all known versions get CXX98 defaults
220ede74 GNU: Fix language defaults for 3.4
a40e6ba8 Clang: Fix language defaults for 2.1
9b112a84 Compilers: Port to use default cmake_record_lang_compile_features macros
37221529 MSVC: Add empty definitions for std compile options
e556f1b9 CompileFeatures: Makes tests work with meta-feature only
20ffa147 Tests: Allow test macro to take no executable arguments
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !833
2017-06-01 13:40:47 -04:00
Brad King
c80148c77e
Merge topic 'bootstrap-std-flags'
...
6181a9e0 bootstrap: prefer to use standard flags for C and CXX
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !842
2017-06-01 13:40:03 -04:00
Brad King
59234fa2da
Merge topic 'FindGSL-debug-postfix'
...
78841f27 FindGSL: recognize libraries name with debug postfix as debug libraries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !914
2017-06-01 13:36:06 -04:00
Brad King
4b31267abf
Merge topic 'rel-no-bootstrap-test'
...
9bb8b889 Utilities/Release: Skip BootstrapTest for Linux binary
ff77f461 Utilities/Release: Drop unused release script
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !917
2017-06-01 13:35:33 -04:00
Brad King
987216062e
Merge topic 'test-external-no-bootstrap'
...
52d0983a Tests: Skip BootstrapTest if testing external CMake
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !916
2017-06-01 13:35:08 -04:00
Brad King
75850db667
Merge topic 'update-kwsys'
...
5e9bd8a2 Merge branch 'upstream-KWSys' into update-kwsys
50988f6d KWSys 2017-05-31 (bd0bbad7)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !915
2017-06-01 13:34:11 -04:00
Kitware Robot
09e10f0937
CMake Nightly Date Stamp
2017-06-01 00:01:06 -04:00
Brad King
82badfffc3
Ninja: Fix CMP0058 on MinGW
...
For CMP0058 we identify dependencies that have no rules to generate them
by collecting a set of all dependencies and a set of all files CMake
knows are generated by something, and then computing a set difference.
Fix construction of these sets to use the same form for each path.
This is after ConvertToNinjaPath but before EncodePath.
Without this, the slash conversion done by EncodePath for the GNU
compiler on Windows results in a mismatch, triggering an incorrect
CMP0058 warning.
2017-05-31 13:44:16 -04:00
Chuck Atkins
3c1ecb5214
Intel: Fix missing C std default for 12.0 <= ver < 12.1
2017-05-31 13:09:49 -04:00
Chuck Atkins
f70b0bb365
SunPro: Make sure all known versions get CXX98 defaults
2017-05-31 13:09:42 -04:00
Daniel Pfeifer
6181a9e00e
bootstrap: prefer to use standard flags for C and CXX
2017-05-31 13:06:00 -04:00
Brad King
c5ff50fc19
Tests: Fix CustomCommandByproducts regex for phony rules
...
Update the regex to match phony rules that have no inputs.
2017-05-31 11:48:02 -04:00
Brad King
e7d690492a
Merge branch 'release'
2017-05-31 11:15:50 -04:00
Brad King
9bb8b88904
Utilities/Release: Skip BootstrapTest for Linux binary
...
The build itself is done via bootstrap so there is no need to test
it again. We already do this for the macOS binary.
2017-05-31 10:23:57 -04:00
Brad King
ff77f4613a
Utilities/Release: Drop unused release script
2017-05-31 10:23:16 -04:00
Brad King
52d0983a88
Tests: Skip BootstrapTest if testing external CMake
...
If we are not actually building CMake then we should not run the
`BootstrapTest` (which builds CMake).
2017-05-31 10:11:51 -04:00
Brad King
0d5a2252ef
CMake 3.8.2
v3.8.2
2017-05-31 09:47:47 -04:00
Brad King
5e9bd8a2ea
Merge branch 'upstream-KWSys' into update-kwsys
...
* upstream-KWSys:
KWSys 2017-05-31 (bd0bbad7)
2017-05-31 09:11:14 -04:00
KWSys Upstream
50988f6d76
KWSys 2017-05-31 (bd0bbad7)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit bd0bbad7f47776565d87aeb3657250974a426190 (master).
Upstream Shortlog
-----------------
Daniel Pfeifer (1):
0f7ec930 Pass std::string as const&
Matteo Settenvini (1):
6173f4b3 SystemTools: Add function to remove empty path components
2017-05-31 09:11:11 -04:00
Silvio Traversaro
78841f27e3
FindGSL: recognize libraries name with debug postfix as debug libraries
...
This modification is necessary if the GSL libraries are installed
in an installation layout without Release and Debug subdirectories,
for example when installed by vcpkg .
2017-05-31 15:01:49 +02:00
Brad King
de16ff3e58
Merge topic 'ninja-mingw'
...
6a2f8335 Ninja: Fix escaping of path to depfile
781eb380 Tests: Fix VSResource test on MinGW with Ninja and a space in the path
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !911
2017-05-31 08:55:44 -04:00
Brad King
47281310bf
Merge topic 'minor-cleanups'
...
ed77c5c5 cmQtAutoGeneratorInitializer: Remove unused local variable
b398e716 cmVisualStudio10TargetGenerator: Remove shadowing local variable
da2330bd cmVisualStudio10ToolsetOptions: Remove unused include
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !910
2017-05-31 08:54:51 -04:00
Brad King
ff56a2f720
Merge topic 'bootstrap-drop-osf'
...
5dd0b531 bootstrap: remove explicit support for Tru64 UNIX
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !904
2017-05-31 08:54:13 -04:00
Brad King
926ef3ee03
Merge topic 'fix-XCTest-build-config'
...
be55f069 Tests: Fix XCTest build configuration
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !907
2017-05-31 08:53:39 -04:00
Brad King
3251da6fa2
Merge topic 'fix-Qt5Autogen-xcode'
...
f34f7815 Tests: Fix Qt5Autogen test on Xcode
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !908
2017-05-31 08:52:38 -04:00
Kitware Robot
b3379e63e0
CMake Nightly Date Stamp
2017-05-31 00:01:08 -04:00
Brad King
6a2f833563
Ninja: Fix escaping of path to depfile
...
Replace the dedicated and non-portable escaping code with use of our
standard escaping logic.
2017-05-30 15:30:43 -04:00
Brad King
781eb380f4
Tests: Fix VSResource test on MinGW with Ninja and a space in the path
2017-05-30 15:30:40 -04:00
Brad King
ed77c5c5bd
cmQtAutoGeneratorInitializer: Remove unused local variable
2017-05-30 13:27:36 -04:00
Brad King
b398e716f9
cmVisualStudio10TargetGenerator: Remove shadowing local variable
2017-05-30 13:27:31 -04:00
Brad King
da2330bd32
cmVisualStudio10ToolsetOptions: Remove unused include
2017-05-30 13:24:04 -04:00
Brad King
0bb67499c3
Merge topic 'doc-dev-buildbot-lints'
...
9685d077 Help/dev: Document buildbot lint-iwyu-tidy builder
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !897
2017-05-30 11:50:48 -04:00
Daniel Pfeifer
5dd0b5312c
bootstrap: remove explicit support for Tru64 UNIX
2017-05-30 17:42:20 +02:00
Brad King
3fb4f33c34
Merge topic 'iwyu-gcc-7.1'
...
63fdc2f1 IWYU: update mapping for gcc 7.1
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !906
2017-05-30 11:28:21 -04:00
Brad King
f34f7815e3
Tests: Fix Qt5Autogen test on Xcode
...
Fix the `mocPlugin` project to provide `mocPlugin.xcodeproj` instead of
`Project.xcodeproj` so that the `try_compile` project name matches.
Also search in the `Debug` subdirectory of the `try_compile` build tree
for the resulting binaries, to work with multi-config generators.
2017-05-30 10:09:37 -04:00
Brad King
be55f069f9
Tests: Fix XCTest build configuration
...
Build the test binaries with the same configuration in which they will
be tested instead of the default Debug configuration. This fixes the
test when run in a Release configuration.
2017-05-30 09:44:13 -04:00
Chuck Atkins
220ede74ff
GNU: Fix language defaults for 3.4
2017-05-30 09:35:06 -04:00
Chuck Atkins
a40e6ba88d
Clang: Fix language defaults for 2.1
2017-05-30 09:35:06 -04:00
Chuck Atkins
9b112a848a
Compilers: Port to use default cmake_record_lang_compile_features macros
2017-05-30 09:34:36 -04:00
Brad King
9685d0773c
Help/dev: Document buildbot lint-iwyu-tidy builder
...
This builder builds CMake using lint tools but does not run the test
suite. Document it for reviewers to request with `Do: test -i lint`.
2017-05-30 09:34:30 -04:00
Brad King
bd9ec9d1d0
Merge topic 'bootstrap-drop-irix'
...
39fc348f bootstrap: remove support for IRIX
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !903
2017-05-30 09:27:38 -04:00
Brad King
cf70c1efb1
Merge topic 'libuv-cygwin'
...
a9eaefaa Build with libuv on Cygwin to enable server-mode
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !901
2017-05-30 09:27:07 -04:00
Brad King
7bd63e4d6d
Merge topic '16917-c-compiler-version-variable-hint'
...
7a9a1e04 Help: Add a hint about C and C++ compiler version variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !902
2017-05-30 09:26:20 -04:00
Daniel Pfeifer
63fdc2f12b
IWYU: update mapping for gcc 7.1
2017-05-30 13:03:00 +02:00
Kitware Robot
3ed14cb3ac
CMake Nightly Date Stamp
2017-05-30 00:01:04 -04:00
Chuck Atkins
37221529c7
MSVC: Add empty definitions for std compile options
...
There are no specific options for MSVC to set language standards, but
set them as empty strings anyways so the feature test infrastructure
can at least check to see if they are defined.
2017-05-29 13:51:54 -04:00
Chuck Atkins
e556f1b909
CompileFeatures: Makes tests work with meta-feature only
2017-05-29 13:51:45 -04:00