summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBenjamin Wozniak <benjamin.wozniak@intenta.de>2019-08-21 15:27:42 +0200
committerBenjamin Wozniak <benjamin.wozniak@intenta.de>2019-08-27 12:54:35 +0200
commitdf0247a3714667e0f60d64da1b30ea200c43c7d5 (patch)
treed0cadcc0e9a720740879989e089e57b31da981d4 /Source/cmGlobalVisualStudio10Generator.h
parenta04b852a7b1c8590ad35db5d09c99e73ebd5e464 (diff)
downloadcmake-df0247a3714667e0f60d64da1b30ea200c43c7d5.tar.gz
cuda: Extend toolset argument to accept path
Previously cuda could only be used with cmake if it is installed globally on the system. Sometimes this is not possible (eg docker, packaging with conan, etc.). Thus the cuda toolset argument is extended to take a path to a cuda install directory.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 1d30cd6b37..9adcf08ae2 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -61,6 +61,10 @@ public:
const char* GetPlatformToolsetCuda() const;
std::string const& GetPlatformToolsetCudaString() const;
+ /** The custom cuda install directory */
+ const char* GetPlatformToolsetCudaCustomDir() const;
+ std::string const& GetPlatformToolsetCudaCustomDirString() const;
+
/** Return whether we need to use No/Debug instead of false/true
for GenerateDebugInformation. */
bool GetPlatformToolsetNeedsDebugEnum() const
@@ -152,6 +156,7 @@ protected:
std::string GeneratorToolsetVersion;
std::string GeneratorToolsetHostArchitecture;
std::string GeneratorToolsetCuda;
+ std::string GeneratorToolsetCudaCustomDir;
std::string DefaultPlatformToolset;
std::string DefaultPlatformToolsetHostArchitecture;
std::string WindowsTargetPlatformVersion;