diff options
author | Benjamin Wozniak <benjamin.wozniak@intenta.de> | 2019-08-21 13:27:42 (GMT) |
---|---|---|
committer | Benjamin Wozniak <benjamin.wozniak@intenta.de> | 2019-08-27 10:54:35 (GMT) |
commit | df0247a3714667e0f60d64da1b30ea200c43c7d5 (patch) | |
tree | d0cadcc0e9a720740879989e089e57b31da981d4 /Source/cmGlobalVisualStudio10Generator.h | |
parent | a04b852a7b1c8590ad35db5d09c99e73ebd5e464 (diff) | |
download | CMake-df0247a3714667e0f60d64da1b30ea200c43c7d5.zip CMake-df0247a3714667e0f60d64da1b30ea200c43c7d5.tar.gz CMake-df0247a3714667e0f60d64da1b30ea200c43c7d5.tar.bz2 |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h index 1d30cd6..9adcf08 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; |