summaryrefslogtreecommitdiff
path: root/Source/cmVisualStudioGeneratorOptions.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-07 16:21:29 -0500
committerBrad King <brad.king@kitware.com>2017-03-10 10:19:57 -0500
commit94255511a6d59b14159544e2489905c62dab9fca (patch)
tree585ae5293bf524dd1a5532907737cb787ecb8b35 /Source/cmVisualStudioGeneratorOptions.h
parent253594d0aec0cbe34694cac59ef1a8e42a532118 (diff)
downloadcmake-94255511a6d59b14159544e2489905c62dab9fca.tar.gz
VS: Select CUDA code generation architectures
Parse the `-gencode=`, `-arch`, and `-code` flags and generate a `CodeGeneration` field in the project file.
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.h b/Source/cmVisualStudioGeneratorOptions.h
index 6722503603..52689e0a55 100644
--- a/Source/cmVisualStudioGeneratorOptions.h
+++ b/Source/cmVisualStudioGeneratorOptions.h
@@ -75,6 +75,8 @@ public:
};
CudaRuntime GetCudaRuntime() const;
+ void FixCudaCodeGeneration();
+
bool IsDebug() const;
bool IsWinRt() const;
bool IsManaged() const;