[Cmake-commits] CMake branch, next, updated. v3.3.1-2294-gbf6eff2
Brad King
brad.king at kitware.com
Thu Aug 20 11:52:29 EDT 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via bf6eff2ec7712a601736160c192eaa3b3fe4ae0a (commit)
via 9b2f69925a59ac5bafdfafb650a2f2f785348085 (commit)
from 42f1d1166fff8f78ca9e5e5465bbae4047a7a94f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bf6eff2ec7712a601736160c192eaa3b3fe4ae0a
commit bf6eff2ec7712a601736160c192eaa3b3fe4ae0a
Merge: 42f1d11 9b2f699
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Aug 20 11:52:29 2015 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Aug 20 11:52:29 2015 -0400
Merge topic 'FindCUDA-vs2013-separate-compilation' into next
9b2f6992 FindCUDA: Fix object build rule for separate compilation on VS 2013+ (#15697)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9b2f69925a59ac5bafdfafb650a2f2f785348085
commit 9b2f69925a59ac5bafdfafb650a2f2f785348085
Author: Dominic Meiser <dmeiser at txcorp.com>
AuthorDate: Thu Aug 20 08:28:07 2015 -0600
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Aug 20 11:52:11 2015 -0400
FindCUDA: Fix object build rule for separate compilation on VS 2013+ (#15697)
The handling of multilevel dependencies has been fixed in Visual Studio 2013.
The work around used for VS 2010 and VS 2012 does not work for VS 2013 any more.
Switch to normal object build rules for VS 2013 and newer.
diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake
index f4b0783..1fc582f 100644
--- a/Modules/FindCUDA.cmake
+++ b/Modules/FindCUDA.cmake
@@ -1584,9 +1584,8 @@ function(CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS output_file cuda_target options
# we work around that issue by compiling the intermediate link object as a
# pre-link custom command in that situation.
set(do_obj_build_rule TRUE)
- if (MSVC_VERSION GREATER 1599)
- # VS 2010 and 2012 have this problem. If future versions fix this issue,
- # it should still work, it just won't be as nice as the other method.
+ if (MSVC_VERSION GREATER 1599 AND MSVC_VERSION LESS 1800)
+ # VS 2010 and 2012 have this problem.
set(do_obj_build_rule FALSE)
endif()
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list