Commit Graph

36382 Commits

Author SHA1 Message Date
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
Daniel Pfeifer 370d0d2531 SunPro: update flags used for CMake itself
Special flags should no longer be required when CMake is built with a
recent version of CMake.
2017-05-26 13:26:40 -04:00
Daniel Pfeifer f1f21e3077 SunPro: set -library=stlport as standard compile option for C++98 2017-05-26 13:26:39 -04:00
Daniel Pfeifer 9316120c80 SunPro: add standard compile option for C++03 2017-05-26 13:26:39 -04:00
Brad King 783fbb77e7 Tests: Compile entire Plugin test with the same language standard
Set `CMAKE_CXX_STANDARD` early so that both KWSys and our test code
build with the same language standard.  This is important on compilers
that have incompatible standard libraries.
2017-05-26 13:26:39 -04:00
Pavel Solodovnikov 2c2bb5f527 Remove unnecessary operator<< usage 2017-05-26 19:54:29 +03:00
Pavel Solodovnikov 1e4e2f993c Remove unused variables 2017-05-26 19:52:31 +03:00
Pavel Solodovnikov 2548615630 Improved checking for number of arguments passed 2017-05-26 19:51:40 +03:00
Pavel Solodovnikov 86dc86dd6c Add const-reference qualifications 2017-05-26 19:50:11 +03:00
André Apitzsch 1ee2019239 FindProtobuf: add optional export declaration macro to generated cpp files 2017-05-26 11:35:03 -04:00
Alex Turbov cc329a0125 FindBoost: Simplify search in lists.
Instead of `list(FIND...)` and then checking result for `-1`
(found/not-found), nowadays `if` command has the `IN_LIST` test for
that.
2017-05-26 11:21:49 -04:00
Brad King bc407ba6ba Merge topic 'codecvt-revise'
690acadc codecvt: Re-implement do_out and do_unshift

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !891
2017-05-26 11:17:17 -04:00