summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-07 21:25:09 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-10 15:19:57 (GMT)
commit8cae24a1d0277fe3fdd0f2fa9e9a76906ad6c016 (patch)
tree9905beb6e087369ae7871dc80b6c43cefb9e6768
parent6ca4f2229234ab7543597ca19bda09c51297eee6 (diff)
downloadCMake-8cae24a1d0277fe3fdd0f2fa9e9a76906ad6c016.zip
CMake-8cae24a1d0277fe3fdd0f2fa9e9a76906ad6c016.tar.gz
CMake-8cae24a1d0277fe3fdd0f2fa9e9a76906ad6c016.tar.bz2
VS: Add more CUDA flag table entries
-rw-r--r--Source/cmVS10CudaFlagTable.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmVS10CudaFlagTable.h b/Source/cmVS10CudaFlagTable.h
index d8c27d7..da19d64 100644
--- a/Source/cmVS10CudaFlagTable.h
+++ b/Source/cmVS10CudaFlagTable.h
@@ -36,5 +36,16 @@ static cmVS7FlagTable cmVS10CudaFlagTable[] = {
{ "cmake-temp-arch", "-gpu-architecture", "", "",
cmVS7FlagTable::UserFollowing },
+ // Other flags.
+
+ { "FastMath", "use_fast_math", "", "true", 0 },
+ { "FastMath", "-use_fast_math", "", "true", 0 },
+
+ { "GPUDebugInfo", "G", "", "true", 0 },
+ { "GPUDebugInfo", "-device-debug", "", "true", 0 },
+
+ { "HostDebugInfo", "g", "", "true", 0 },
+ { "HostDebugInfo", "-debug", "", "true", 0 },
+
{ 0, 0, 0, 0, 0 }
};