From 8cae24a1d0277fe3fdd0f2fa9e9a76906ad6c016 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 7 Mar 2017 16:25:09 -0500 Subject: VS: Add more CUDA flag table entries --- Source/cmVS10CudaFlagTable.h | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 } }; -- cgit v0.12