summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-16 14:53:22 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-16 17:22:32 (GMT)
commitaabc3ca47d51731e247300e4a6159f41e9dcb17c (patch)
treedfbc626fa1439840d88dbefb92b59e47d4d97dc8 /Source/cmGlobalVisualStudio10Generator.h
parente66a7fe07b117362120ae62826eb51c189f39c40 (diff)
downloadCMake-aabc3ca47d51731e247300e4a6159f41e9dcb17c.zip
CMake-aabc3ca47d51731e247300e4a6159f41e9dcb17c.tar.gz
CMake-aabc3ca47d51731e247300e4a6159f41e9dcb17c.tar.bz2
cmGlobalVisualStudio10Generator: Adopt GetVSInstanceVersion method
Port from `cmGlobalVisualStudioVersionedGenerator`.
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 2596720..48fe465 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -128,6 +128,11 @@ public:
std::string Encoding() override;
const char* GetToolsVersion() const;
+ virtual cm::optional<unsigned long long> GetVSInstanceVersion() const
+ {
+ return {};
+ }
+
bool GetSupportsUnityBuilds() const { return this->SupportsUnityBuilds; }
bool FindMakeProgram(cmMakefile* mf) override;