Robert Maynard
d9c8aa47c2
FindCUDA: Always obey the CUDA_USE_STATIC_CUDA_RUNTIME option.
...
Fixes #17150 , where the FindCUDA would incorrectly handle
CUDA_USE_STATIC_CUDA_RUNTIME being set to false.
2017-08-10 09:33:06 -04:00
Kitware Robot
2d5e494637
CMake Nightly Date Stamp
2017-07-17 00:01:04 -04:00
Kitware Robot
ecfd3ef2f3
CMake Nightly Date Stamp
2017-07-16 00:01:04 -04:00
Kitware Robot
c9433f9b5a
CMake Nightly Date Stamp
2017-07-15 00:01:09 -04:00
Brad King
db8b6c69da
Merge branch 'release-3.9'
2017-07-14 11:13:18 -04:00
Brad King
0f096b8d73
Merge topic 'cmp0054-asm-warning'
...
336c4fc6
CMakeDetermineASMCompiler: fix a CMP0054 warning
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1057
2017-07-14 08:24:31 -04:00
Brad King
688b1c11ec
Merge topic 'ninja_cuda_export_compile_commands_support'
...
712af07e
CUDA: CMAKE_EXPORT_COMPILE_COMMANDS now works with CUDA and Ninja
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1055
2017-07-14 08:23:58 -04:00
Brad King
38f81fab72
Merge topic 'vs_csharp_add_custom_command_comment'
...
21ee3309
VS: print comment in CSharp target only if it is actually set
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1049
2017-07-14 08:22:59 -04:00
Brad King
652b2956c8
Merge topic 'CMakePushCheckState-fix-RESET'
...
fda50a08
CMakePushCheckState: Fix cmake_push_check_state RESET argument
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1040
2017-07-14 08:22:27 -04:00
Kitware Robot
52db8d55e8
CMake Nightly Date Stamp
2017-07-14 00:01:07 -04:00
Ben Boeckel
336c4fc6fa
CMakeDetermineASMCompiler: fix a CMP0054 warning
...
This was introduced in commit d8e6cd9e
(IAR: Improve support for IAR ARM
Compiler, 2017-06-15) from !991 .
Fixes #17062 .
2017-07-13 14:01:38 -04:00
Brad King
9d9085ab36
Merge branch 'ninja_cuda_export_compile_commands_support' into release-3.9
2017-07-13 11:40:08 -04:00
Robert Maynard
712af07e47
CUDA: CMAKE_EXPORT_COMPILE_COMMANDS now works with CUDA and Ninja
...
Fixes : #17061
2017-07-13 11:23:16 -04:00
Brad King
4b460a5ba8
Merge branch 'release-3.9'
2017-07-13 10:08:27 -04:00
Brad King
489a7706c2
Merge topic 'android-system-include-last'
...
4bafa392
Android: Always add standard include directories last
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1052
2017-07-13 10:07:36 -04:00
Brad King
d11c48e0e3
Merge branch 'android-system-include-last' into release-3.9
2017-07-13 10:04:14 -04:00
Brad King
4bafa3922e
Android: Always add standard include directories last
...
The logic added in commit v3.6.0-rc1~30^2 (Add a variable to specify
language-wide system include directories, 2016-05-24) to use
`CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES` incorrectly filters them by
`CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES`. Rather than recognizing
this, commit v3.8.0-rc1~60^2 (Android: Pass sysroot include directory
explicitly, 2017-01-20) worked around the problem by incorrectly
removing `/usr/include` from `CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES`
so it worked in `CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES`.
By not filtering out `/usr/include` from user-specified include
directories, we allow the code
include_directories(${CMAKE_SYSROOT}/usr/include)
to place the include directory too early on the command line.
Fix support for standard include directories to not be filtered by
implicit include directories, and do not remove `/usr/include` from the
list of implicit include directories for Android builds. Add a test
case to verify that an explicit `/usr/include` is ignored in favor
of the standard directory at the end.
Fixes : #17059
2017-07-13 10:03:58 -04:00
Brad King
aa97170f2b
Merge topic 'win10-sdk-request-mismatch'
...
80f59ee6
cmGlobalVisualStudio14Generator: notify when the SDK version doesn't match
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !866
2017-07-13 08:23:56 -04:00
Ben Boeckel
80f59ee602
cmGlobalVisualStudio14Generator: notify when the SDK version doesn't match
...
When requesting an SDK version which is not suitable (e.g., missing
`windows.h`), CMake will use the next-best SDK version. Output a message
when CMake chooses something different than the requested SDK version.
See #16895 .
2017-07-13 08:10:57 -04:00
Brad King
a4a39a46c3
Merge topic 'FindProtobuf-protoc-target'
...
c281acf8
FindProtobuf: add target for protoc
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1045
2017-07-13 07:52:09 -04:00
Brad King
47d9772618
Merge topic 'better-exception-reporting'
...
0c650f39
CTest: Report more detail about system exceptions in tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1046
2017-07-13 07:51:05 -04:00
Brad King
0f158272d6
Merge topic 'test_include_files'
...
117033c1
Add TEST_INCLUDE_DIR[S] unit test
ed5bde30
Add TEST_INCLUDE_FILES
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1031
2017-07-13 07:46:47 -04:00
Brad King
f5be951117
Merge topic 'labels-for-subprojects'
...
376dc3eb
Help: Add notes for topic 'labels_for_subprojects'
a70d8e93
Add tests for new directory labels and labels-for-subprojects features
47b3a57c
Display subproject timing summary
d3859624
Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variable
d08ec4d2
Add CTEST_LABELS_FOR_SUBPROJECTS as a CTest module and script variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1004
2017-07-13 07:46:09 -04:00
Brad King
37915a6930
Merge topic 'ninja-dyndep-response-file'
...
4ef0eedb
Ninja: always use response file for cmake_ninja_dyndep
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1038
2017-07-13 07:45:11 -04:00
Brad King
e5c762d32d
Merge topic 'server-target-backtraces'
...
0c572382
server: Report backtraces in codemodel response
4db32275
server: Rename cmServerProtocol1_0 to cmServerProtocol1
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !992
2017-07-13 07:44:11 -04:00
Brad King
c8f4cf0821
Merge topic 'source-group-regex-tweaks'
...
2c82d9c8
Add more extensions to Resources source group by default
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1028
2017-07-13 07:42:42 -04:00
Kitware Robot
3d209acc1f
CMake Nightly Date Stamp
2017-07-13 00:01:06 -04:00
Brad King
fda50a0843
CMakePushCheckState: Fix cmake_push_check_state RESET argument
...
This option was added by commit v2.8.12~138^2 (Add
cmake_reset_check_state() macro, 2013-07-28) but has never worked.
Fix the implementation to refer to macro arguments properly (not as
normal variables).
Fixes : #17048
2017-07-12 15:09:16 -04:00
André Apitzsch
c281acf807
FindProtobuf: add target for protoc
2017-07-12 13:48:22 -04:00
Brad King
75cbc5611d
Merge branch 'release-3.8'
2017-07-12 13:38:02 -04:00
Brad King
23fb573c5f
Merge branch 'backport-ep-log-no-extract-fix' into release-3.8
2017-07-12 13:37:54 -04:00
Bill Hoffman
0c650f3965
CTest: Report more detail about system exceptions in tests
...
This passes the system exception string up to CDash and to the command line
instead of just printing "other".
2017-07-12 13:29:21 -04:00
Matthew Woehlke
117033c1d9
Add TEST_INCLUDE_DIR[S] unit test
...
Add a unit test for the TEST_INCLUDE_DIR and (new) TEST_INCLUDE_DIRS
directory properties.
2017-07-12 13:28:21 -04:00
Matthew Woehlke
ed5bde30f7
Add TEST_INCLUDE_FILES
...
Add new directory property TEST_INCLUDE_FILES. This supersedes
TEST_INCLUDE_FILE, though the latter is of course retained for
compatibility.
Basically, this is a list rather than a single file. This allows the
feature to be used by generic utilities without conflicting with local
use.
2017-07-12 13:28:21 -04:00
Ben Boeckel
627422d9de
ExternalProject: only append COMMAND
if actually adding a command
...
Fixes #17046 .
(cherry picked from commit 99d6de6c1a
)
2017-07-12 11:33:07 -04:00
Brad King
ca7f6c3451
Merge branch 'release-3.9'
2017-07-12 10:27:25 -04:00
Michael Stürmer
21ee3309b2
VS: print comment in CSharp target only if it is actually set
2017-07-12 15:45:28 +02:00
Brad King
25b72e9097
CMake 3.9.0-rc6
2017-07-12 09:20:01 -04:00
Brad King
5b67090d9f
Merge branch 'release-3.9'
2017-07-12 09:19:25 -04:00
Brad King
e63472abc5
Merge topic 'android-fix-c++_shared'
...
e0fb3f31
Android: Link to android_support with c++_shared
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1048
2017-07-12 09:00:43 -04:00
Brad King
ff9321a18a
Merge topic 'vs-2017-sln-guid'
...
5cf9c3d0
VS: Add SolutionGuid to generated .sln files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1042
2017-07-12 08:59:26 -04:00
Brad King
083a5cad0e
Merge topic 'find_package-root-prefix-path-suffixes'
...
80b905f8
find_*: Honor PATH_SUFFIXES in PackageName_ROOT paths
1ae1b880
cmFindCommon: Drop unused FilterPaths method
cca8454e
cmFindCommon: Fix typo in PackageName_ROOT path label
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Chuck Atkins <chuck.atkins@kitware.com>
Merge-request: !1044
2017-07-12 08:59:07 -04:00
Brad King
7020833841
Merge topic 'bindexplib-revert-consts'
...
3250b9a1
bindexplib: Revert support for constants symbols
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1041
2017-07-12 08:58:36 -04:00
Brad King
e8e38aea26
Merge branch 'android-fix-c++_shared' into release-3.9
2017-07-12 08:39:55 -04:00
Brad King
e0fb3f314f
Android: Link to android_support with c++_shared
...
The NDK has done this in `build/core/definitions.mk` since r13
(r12 and below do so only for c++_static).
2017-07-12 08:39:42 -04:00
Kitware Robot
fadcfd4b89
CMake Nightly Date Stamp
2017-07-12 00:01:06 -04:00
Brad King
c42c039d32
Merge branch 'vs-2017-sln-guid' into release-3.9
2017-07-11 10:42:21 -04:00
Brad King
5cf9c3d0cc
VS: Add SolutionGuid to generated .sln files
...
Visual Studio 2017 Update 3 adds a SolutionGuid to its `.sln` files.
Fixes : #17041
2017-07-11 10:41:28 -04:00
Brad King
7638c6ea8d
Merge branch 'find_package-root-prefix-path-suffixes' into release-3.9
2017-07-11 09:20:37 -04:00
Brad King
80b905f882
find_*: Honor PATH_SUFFIXES in PackageName_ROOT paths
...
This was accidentally forgotten in commit v3.9.0-rc1~71^2~2 (find_*: Add
a new PackageRoot search path group, 2017-05-03).
Fixes : #17052
2017-07-11 09:11:19 -04:00