summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudioVersionedGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-26 15:13:53 -0400
committerBrad King <brad.king@kitware.com>2021-10-29 11:52:58 -0400
commit8e6d930e8c3fb951e3c4388cc6a9a96dedcb412b (patch)
treefdf30764ab7d82ca8d4cfac17521d9a0d04987ac /Source/cmGlobalVisualStudioVersionedGenerator.h
parent5d1f377737a9d1d14f4925072c46201d6b7b3c30 (diff)
downloadcmake-8e6d930e8c3fb951e3c4388cc6a9a96dedcb412b.tar.gz
VS: Parse comma-separated fields from CMAKE_GENERATOR_INSTANCE
Diffstat (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.h')
-rw-r--r--Source/cmGlobalVisualStudioVersionedGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.h b/Source/cmGlobalVisualStudioVersionedGenerator.h
index 2aed65b87f..a19e506ef6 100644
--- a/Source/cmGlobalVisualStudioVersionedGenerator.h
+++ b/Source/cmGlobalVisualStudioVersionedGenerator.h
@@ -65,6 +65,9 @@ protected:
std::string GetWindows10SDKMaxVersionDefault(cmMakefile*) const override;
+ virtual bool ProcessGeneratorInstanceField(std::string const& key,
+ std::string const& value);
+
std::string FindMSBuildCommand() override;
std::string FindDevEnvCommand() override;
@@ -76,5 +79,9 @@ private:
class Factory17;
friend class Factory17;
mutable cmVSSetupAPIHelper vsSetupAPIHelper;
+
+ bool ParseGeneratorInstance(std::string const& is, cmMakefile* mf);
+
+ std::string GeneratorInstance;
cm::optional<std::string> LastGeneratorInstanceString;
};