CMake Nightly Date Stamp
[kiteware-cmake.git] / Source / cmGlobalVisualStudio12Generator.h
blobedb86e2abc58bdfe5bfcdda3c5f08d74f44b455e
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
3 #pragma once
5 #include "cmConfigure.h" // IWYU pragma: keep
7 #include <memory>
8 #include <string>
10 #include "cmGlobalVisualStudio11Generator.h"
12 class cmMakefile;
13 class cmake;
15 /** \class cmGlobalVisualStudio12Generator */
16 class cmGlobalVisualStudio12Generator : public cmGlobalVisualStudio11Generator
18 protected:
19 cmGlobalVisualStudio12Generator(cmake* cm, const std::string& name,
20 std::string const& platformInGeneratorName);
22 bool ProcessGeneratorToolsetField(std::string const& key,
23 std::string const& value) override;
25 bool InitializeWindowsPhone(cmMakefile* mf) override;
26 bool InitializeWindowsStore(cmMakefile* mf) override;
27 bool SelectWindowsPhoneToolset(std::string& toolset) const override;
28 bool SelectWindowsStoreToolset(std::string& toolset) const override;
30 // Used to verify that the Desktop toolset for the current generator is
31 // installed on the machine.
32 bool IsWindowsDesktopToolsetInstalled() const override;
34 // These aren't virtual because we need to check if the selected version
35 // of the toolset is installed
36 bool IsWindowsPhoneToolsetInstalled() const;
37 bool IsWindowsStoreToolsetInstalled() const;