summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-28 15:49:16 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-28 17:58:21 (GMT)
commit0fd742a6ffa637b8ccac3b61b42bd10b2c3a87cc (patch)
tree3f264f210f2e7ab523433b4f87509e581c7e9110 /Source/cmGlobalVisualStudio10Generator.h
parent17cef3806d958bd03ec08b925fe585a0cfa204fa (diff)
downloadCMake-0fd742a6ffa637b8ccac3b61b42bd10b2c3a87cc.zip
CMake-0fd742a6ffa637b8ccac3b61b42bd10b2c3a87cc.tar.gz
CMake-0fd742a6ffa637b8ccac3b61b42bd10b2c3a87cc.tar.bz2
VS: Teach VS 2019 generator to select host tools matching host arch
This generator is new so we can introduce the long-desired behavior of selecting ``host=x64`` tools by default on x64 hosts.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 7c8918a..f496357 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -58,6 +58,7 @@ public:
/** The toolset host architecture name (e.g. x64 for 64-bit host tools). */
const char* GetPlatformToolsetHostArchitecture() const;
+ std::string const& GetPlatformToolsetHostArchitectureString() const;
/** The cuda toolset version. */
const char* GetPlatformToolsetCuda() const;
@@ -152,6 +153,7 @@ protected:
std::string GeneratorToolsetHostArchitecture;
std::string GeneratorToolsetCuda;
std::string DefaultPlatformToolset;
+ std::string DefaultPlatformToolsetHostArchitecture;
std::string WindowsTargetPlatformVersion;
std::string SystemName;
std::string SystemVersion;