From 8e6d930e8c3fb951e3c4388cc6a9a96dedcb412b Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 26 Oct 2021 15:13:53 -0400 Subject: VS: Parse comma-separated fields from CMAKE_GENERATOR_INSTANCE --- Source/cmGlobalVisualStudioVersionedGenerator.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.h') 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 LastGeneratorInstanceString; }; -- cgit v1.2.1