21759 Commits

Author SHA1 Message Date
Kitware Robot
996e5237ca CMake Nightly Date Stamp 2016-11-30 00:01:04 -05:00
Brad King
839cd16396 Merge topic 'vs-default-build-package'
9e3164df VS: Add option to place `PACKAGE` target in solution default build
2016-11-29 08:59:11 -05:00
Brad King
2f7bafd6da Merge topic 'try_compile-honor-CMAKE_WARN_DEPRECATED'
6d604c49 try_compile: Honor CMAKE_WARN_DEPRECATED in test project
2016-11-29 08:59:07 -05:00
Brad King
4838ca14df Merge topic 'initial_cuda_language_support'
4cc601f2 Help: Add release note for CUDA support
7b9131da CUDA: Add tests to verify CUDA compiler works properly.
9cf5b98d CUDA: Prefer environment variables CUDACXX and CUDAHOSTCXX.
a5e806b3 CUDA: Add support for CMAKE_CUDA_COMPILE_OPTIONS_VISIBILITY
d038559e CUDA: Add separable compilation support to the makefile generator.
43ce4414 CUDA: Add separable compilation support to the ninja generator.
4b316097 CUDA: Add support for the CUDA_SEPARABLE_COMPILATION target property
ae05fcc6 CUDA: Add LinkLineComputer that computes cuda dlink lines.
115269a8 CUDA: Refactor cmLinkLineComputer to allow for better derived children.
5dec4031 CUDA: Refactor CMakeCUDAInformation to prepare for separable compilation.
5b20d0ab CUDA: C++ compile features now enable cuda c++11 support.
489c52ce CUDA: Use the host compiler for linking CUDA executables and shared libs.
bbaf2434 CUDA: add support for specifying an explicit host compiler.
a92f8d96 CUDA: Enable header dependency scanning.
ec6ce623 CUDA: State that cuda has preprocessor output and can generate assembly.
4f5155f6 CUDA: We now properly perform CUDA compiler identification.
...
2016-11-29 08:59:03 -05:00
Michael Stürmer
9e3164dfa2 VS: Add option to place PACKAGE target in solution default build
Add a `CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD` variable to control
this behavior.
2016-11-29 08:46:27 -05:00
Kitware Robot
2f7e05fbc2 CMake Nightly Date Stamp 2016-11-29 00:01:04 -05:00
Brad King
4093bd4025 Merge topic 'include-what-you-use'
d0c14dfb avoid including cmStandardIncludes.h
66a70999 iwyu: Fix VisualStudio specific issues
7b4244ac iwyu: Fix more findings
aeff60e4 iwyu: Fix OSX specific issues
2016-11-28 14:24:07 -05:00
Brad King
8a975efc94 Merge topic '16449-revert-xcode-system-includes'
543dcb0a Revert "Xcode: Obey SYSTEM keyword for includes (#15687)"
2016-11-28 14:23:21 -05:00
Daniel Pfeifer
d0c14dfb36 avoid including cmStandardIncludes.h 2016-11-28 14:06:41 -05:00
Daniel Pfeifer
66a7099993 iwyu: Fix VisualStudio specific issues 2016-11-28 14:06:40 -05:00
Daniel Pfeifer
7b4244aceb iwyu: Fix more findings 2016-11-28 14:06:40 -05:00
Gregor Jasny
543dcb0ada Revert "Xcode: Obey SYSTEM keyword for includes (#15687)"
Revert commit v3.7.0-rc1~266^2 (Xcode: Obey SYSTEM keyword for includes,
2015-08-31).  It worked for C, C++, and Swift but not for GNU Assembly
files for which Xcode has no property to set flags.

Closes: #16449
2016-11-28 13:42:46 -05:00
Kitware Robot
1b22cb0a07 CMake Nightly Date Stamp 2016-11-28 00:01:05 -05:00
Kitware Robot
9e57dafd74 CMake Nightly Date Stamp 2016-11-27 00:01:03 -05:00
Kitware Robot
6eb654c06e CMake Nightly Date Stamp 2016-11-26 00:01:04 -05:00
Kitware Robot
04029ab47d CMake Nightly Date Stamp 2016-11-25 00:01:03 -05:00
Kitware Robot
129c21d260 CMake Nightly Date Stamp 2016-11-24 00:01:04 -05:00
Kitware Robot
8288d16126 CMake Nightly Date Stamp 2016-11-23 00:01:04 -05:00
Daniel Pfeifer
aeff60e44c iwyu: Fix OSX specific issues 2016-11-23 00:41:44 +01:00
Brad King
6d604c4972 try_compile: Honor CMAKE_WARN_DEPRECATED in test project
This causes the `-Wno-deprecated` option to be honored even inside a
`try_compile` test project, which is needed to suppress all deprecation
warnings as the option documents.

Closes: #16446
2016-11-22 10:17:20 -05:00
Brad King
74a0359ee6 Merge topic 'eclipse-subprojects'
f84a3acd Eclipse: Fix indexer for subprojects
2016-11-22 08:41:07 -05:00
Brad King
2420ce88f1 Merge topic 'imported-interface-no-system'
46005251 Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE libraries
2016-11-22 08:41:03 -05:00
Kitware Robot
0ffc4e735a CMake Nightly Date Stamp 2016-11-22 00:01:03 -05:00
Adam Weisi
f84a3acd71 Eclipse: Fix indexer for subprojects
Using `add_subdirectory(source_dir binary_dir)` with `source_dir` not a
subdirectory needs to add a `[Subprojects]` entry to the source path in
Eclipse.  The Eclipse indexer seems to use those entries as reference to
index source files.

Closes: #15984
2016-11-21 15:05:14 -05:00
Brad King
460052516f Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE libraries
Imported INTERFACE libraries can specify include directories via
`INTERFACE_INCLUDE_DIRECTORIES` so the default behavior of treating them
as system include directories applies.  Allow users to turn this off by
setting `NO_SYSTEM_FROM_IMPORTED` on such targets.

Closes: #16443
2016-11-21 11:42:01 -05:00
Brad King
95cfb54579 Merge topic 'capture-clang-tidy-errors'
80ebc55a cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero
ce1abfa4 cmake: If ldd for LINK_WHAT_YOU_USE fails to run then report why
44de6157 cmake: Comment why we ignore the include-what-you-use return code
2016-11-21 10:02:02 -05:00
Brad King
45d74e9ad3 Merge topic 'update-kwsys'
4775a99f Merge branch 'upstream-KWSys' into update-kwsys
0a56e6fe KWSys 2016-11-18 (2a3f6f6b)
2016-11-21 10:01:58 -05:00
Kitware Robot
1528831bb1 CMake Nightly Date Stamp 2016-11-21 00:01:03 -05:00
Kitware Robot
029b209612 CMake Nightly Date Stamp 2016-11-20 00:01:08 -05:00
Kitware Robot
1748b60a47 CMake Nightly Date Stamp 2016-11-19 00:01:04 -05:00
Brad King
80ebc55a7c cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero
When using `<LANG>_CLANG_TIDY` our internal launcher for the tool must
capture its return code and stderr and report them on failure.
Otherwise incorrect command lines silently fail.

Closes: #16435
2016-11-18 09:43:22 -05:00
Brad King
ce1abfa414 cmake: If ldd for LINK_WHAT_YOU_USE fails to run then report why 2016-11-18 09:43:22 -05:00
Brad King
44de615781 cmake: Comment why we ignore the include-what-you-use return code
The include-what-you-use tool always returns non-zero to indicate that
it did not actually produce an object file as Clang would from the same
command line.  Add a comment explaining that this is why we ignore its
return code.  Also update our `pseudo_iwyu` test suite tool to always
exit with an error too.
2016-11-18 09:43:19 -05:00
Brad King
4775a99f61 Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2016-11-18 (2a3f6f6b)
2016-11-18 09:13:40 -05:00
Brad King
c9d142c4e9 Merge topic 'auto_project_regeneration'
427b6da9 VS: Teach `cmake --build` to reconfigure if needed before building
2016-11-18 09:10:33 -05:00
Brad King
2469cb5aae Merge topic 'tolerate-removed-cache'
25b6e7b7 Tolerate removed/replaced CMakeCache.txt with old CMakeFiles/
2016-11-18 09:10:29 -05:00
Brad King
1725477221 Merge topic 'xcode-add-override-keyword'
c0e223cd Xcode: Add override keyword to suppress warnings
2016-11-18 09:10:08 -05:00
Kitware Robot
706d05e71a CMake Nightly Date Stamp 2016-11-18 00:01:04 -05:00
Gregor Jasny
c0e223cd2a Xcode: Add override keyword to suppress warnings 2016-11-17 22:39:46 +01:00
Yves Frederix
427b6da9e5 VS: Teach cmake --build to reconfigure if needed before building
Visual Studio's build system does not cleanly handle itself being
re-generated during the build.  Teach `cmake --build` to check whether
the build system needs to be re-generated before launching the native
build tool.
2016-11-17 13:53:42 -05:00
Brad King
25b6e7b710 Tolerate removed/replaced CMakeCache.txt with old CMakeFiles/
Users or scripts commonly remove or replace `CMakeCache.txt` without
also removing `CMakeFiles/`.  In this case the information saved in the
cache from platform information initialization is missing, so we need to
re-initialize it.  In such a case, remove the platform information
directory so that re-initialization will occur and restore needed
information to the cache.

Closes: #14820
2016-11-17 10:29:58 -05:00
Brad King
8dd3c319c9 Merge topic 'improve_ctest_memcheck_output'
f0d50957 ctest: Improve output for `-T memcheck`
2016-11-17 09:40:26 -05:00
Brad King
837d1359ee Merge topic 'update-kwsys'
451e9f93 Merge branch 'upstream-KWSys' into update-kwsys
572ac897 KWSys 2016-11-16 (a0c60eec)
2016-11-17 09:40:23 -05:00
Bill Hoffman
f0d50957b9 ctest: Improve output for -T memcheck
Show how many defects each test that had a defect produced.
Also tell the user where to find the full log files.
2016-11-17 09:38:06 -05:00
Kitware Robot
ab4a9a9826 CMake Nightly Date Stamp 2016-11-17 00:01:03 -05:00
Brad King
451e9f93be Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2016-11-16 (a0c60eec)
2016-11-16 13:27:07 -05:00
Brad King
095279bc94 Merge topic 'ccmake_fix_print_keys'
5ca4abb2 ccmake: Correctly display edit mode and associated keys
a9562eac ccmake: Add missing spaces to match the previous text length
2016-11-16 07:47:15 -05:00
Brad King
7849424173 Merge topic 'vs-suppress-upgrade-prompt'
7c8f7737 VS: Disable project upgrade prompt on VS 2013 and above
2016-11-16 07:47:09 -05:00
Brad King
e57ee41370 Merge topic 'Empty_CTestTestfile_on_BUILD_TESTING_OFF'
ae4cfa8b Remove CTestTestfile.cmake when BUILD_TESTING is OFF
2016-11-16 07:47:02 -05:00
Brad King
2a663ebce1 Merge topic 'childEncoding'
f55fcdc8 CTest: Use UTF-8 encoding for output from Git
40bd42df Add Encoding option for RunChild, RunMakeCommand and RunProcess
595feb32 Windows: Encode child process output to internally-used encoding
96103972 Add cmProcessOutput class to be used for decoding text data
92c865b8 cmCTestBuildHandler: Use size_t in ProcessBuffer length argument
2016-11-16 07:46:48 -05:00