1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
5 #include "cmConfigure.h" // IWYU pragma: keep
10 #include "cmGlobalVisualStudio11Generator.h"
12 class cmGlobalGeneratorFactory;
16 /** \class cmGlobalVisualStudio12Generator */
17 class cmGlobalVisualStudio12Generator : public cmGlobalVisualStudio11Generator
20 static std::unique_ptr<cmGlobalGeneratorFactory> NewFactory();
22 bool MatchesGeneratorName(const std::string& name) const override;
25 cmGlobalVisualStudio12Generator(cmake* cm, const std::string& name,
26 std::string const& platformInGeneratorName);
28 bool ProcessGeneratorToolsetField(std::string const& key,
29 std::string const& value) override;
31 bool InitializeWindowsPhone(cmMakefile* mf) override;
32 bool InitializeWindowsStore(cmMakefile* mf) override;
33 bool SelectWindowsPhoneToolset(std::string& toolset) const override;
34 bool SelectWindowsStoreToolset(std::string& toolset) const override;
36 // Used to verify that the Desktop toolset for the current generator is
37 // installed on the machine.
38 bool IsWindowsDesktopToolsetInstalled() const override;
40 // These aren't virtual because we need to check if the selected version
41 // of the toolset is installed
42 bool IsWindowsPhoneToolsetInstalled() const;
43 bool IsWindowsStoreToolsetInstalled() const;