Commit Graph

36243 Commits

Author SHA1 Message Date
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 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
Chuck Atkins
20ffa14708 Tests: Allow test macro to take no executable arguments 2017-05-29 12:34:28 -04:00
Chuck Atkins
5bb7429166 Compilers: Add default cmake_record_{c,cxx}_compile_features macros
Add default implementations for the cmake_record_lang_compile_features
macros.  All implementations of this are the same so it can be safely
factored out to a common implementation.
2017-05-29 12:33:42 -04:00
Kitware Robot
e75ac5aa03 CMake Nightly Date Stamp 2017-05-29 00:01:05 -04:00
Daniel Pfeifer
39fc348f57 bootstrap: remove support for IRIX 2017-05-28 23:37:49 +02:00
Gregor Jasny
7a9a1e0453 Help: Add a hint about C and C++ compiler version variable
Closes #16917
2017-05-28 20:19:53 +02:00
Brad King
d375618921 Merge topic 'sunpro-std-flags'
370d0d25 SunPro: update flags used for CMake itself
f1f21e30 SunPro: set -library=stlport as standard compile option for C++98
9316120c SunPro: add standard compile option for C++03
783fbb77 Tests: Compile entire Plugin test with the same language standard

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !879
2017-05-28 09:22:33 -04:00
Brad King
ff1563199c Merge topic 'intel-std-flags'
fc51b92c Intel: avoid variables in language standard flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !894
2017-05-28 09:21:43 -04:00
Brad King
f8642f953d Merge topic 'reduce-string-copying'
2c2bb5f5 Remove unnecessary operator<< usage
1e4e2f99 Remove unused variables
25486156 Improved checking for number of arguments passed
86dc86dd Add const-reference qualifications
76bdb407 Change std::basic_string<char> to std::string

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !886
2017-05-28 09:13:12 -04:00
Brad King
f9ea6247c1 Merge topic 'FindBoost-use-IN_LIST'
cc329a01 FindBoost: Simplify search in lists.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !750
2017-05-28 09:12:04 -04:00
Brad King
5a0fa11fec Merge topic 'autogen_config'
e3e692ca Autogen: Test adaptions
dbda5906 Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.
0965002e Autogen: Pass build directory in Info file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !858
2017-05-28 09:11:33 -04:00
Brad King
8b96e31ca3 Merge topic 'FindProtobuf-export-macro'
1ee20192 FindProtobuf: add optional export declaration macro to generated cpp files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !881
2017-05-28 09:09:46 -04:00
Brad King
a9eaefaa1e Build with libuv on Cygwin to enable server-mode
With our last update of libuv, Cygwin is now supported.
2017-05-28 09:05:57 -04:00
Brad King
bc341a9d5e Merge topic 'update-libuv'
478ce1c7 libuv: Update build within CMake
1ebb421b Merge branch 'upstream-libuv' into update-libuv
362435f0 libuv 2017-05-25 (dc596109)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !896
2017-05-28 09:03:46 -04:00
Kitware Robot
e6c7c420b1 CMake Nightly Date Stamp 2017-05-28 00:01:03 -04:00
Kitware Robot
6357a22355 CMake Nightly Date Stamp 2017-05-27 00:01:05 -04:00
Brad King
478ce1c7b4 libuv: Update build within CMake
Update our CMake build rules to account for upstream changes.
2017-05-26 13:48:48 -04:00
Brad King
1ebb421bfc Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv:
  libuv 2017-05-25 (dc596109)
2017-05-26 13:33:41 -04:00
libuv upstream
362435f02a libuv 2017-05-25 (dc596109)
Code extracted from:

    https://github.com/libuv/libuv.git

at commit dc596109d5a22db1dbf57098630eebd30fce8068 (v1.x).
2017-05-26 13:33:40 -04:00