summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioGeneratorOptions.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-28 15:52:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-28 15:52:33 (GMT)
commit1f9321c68399c8cc37a2cb9c78ef45949412bd7b (patch)
treed6119155229ec9948d8c1e6d1399bf7139b5d4db /Source/cmVisualStudioGeneratorOptions.h
parent2e4a948fb821612d8317f7fe4a33792af73472d1 (diff)
parent0d0145138fe7cd60edc7f0b97e860e9a4fae1555 (diff)
downloadCMake-1f9321c68399c8cc37a2cb9c78ef45949412bd7b.zip
CMake-1f9321c68399c8cc37a2cb9c78ef45949412bd7b.tar.gz
CMake-1f9321c68399c8cc37a2cb9c78ef45949412bd7b.tar.bz2
Merge topic 'cuda_runtime_library_controls'
0d0145138f CUDA: Add abstraction for cuda runtime selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4178
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.h b/Source/cmVisualStudioGeneratorOptions.h
index d8dcfe2..b335694 100644
--- a/Source/cmVisualStudioGeneratorOptions.h
+++ b/Source/cmVisualStudioGeneratorOptions.h
@@ -13,6 +13,7 @@
#include "cmIDEOptions.h"
class cmLocalVisualStudioGenerator;
+class cmGeneratorTarget;
using cmVS7FlagTable = cmIDEFlagTable;
@@ -61,15 +62,8 @@ public:
bool UsingUnicode() const;
bool UsingSBCS() const;
- enum CudaRuntime
- {
- CudaRuntimeStatic,
- CudaRuntimeShared,
- CudaRuntimeNone
- };
- CudaRuntime GetCudaRuntime() const;
-
void FixCudaCodeGeneration();
+ void FixCudaRuntime(cmGeneratorTarget* target);
void FixManifestUACFlags();