cmGlobalVisualStudio12Generator.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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
  4. #include "cmConfigure.h" // IWYU pragma: keep
  5. #include <memory>
  6. #include <string>
  7. #include "cmGlobalVisualStudio11Generator.h"
  8. class cmMakefile;
  9. class cmake;
  10. /** \class cmGlobalVisualStudio12Generator */
  11. class cmGlobalVisualStudio12Generator : public cmGlobalVisualStudio11Generator
  12. {
  13. protected:
  14. cmGlobalVisualStudio12Generator(cmake* cm, const std::string& name);
  15. bool ProcessGeneratorToolsetField(std::string const& key,
  16. std::string const& value) override;
  17. bool InitializeWindowsPhone(cmMakefile* mf) override;
  18. bool InitializeWindowsStore(cmMakefile* mf) override;
  19. bool SelectWindowsPhoneToolset(std::string& toolset) const override;
  20. bool SelectWindowsStoreToolset(std::string& toolset) const override;
  21. // Used to verify that the Desktop toolset for the current generator is
  22. // installed on the machine.
  23. bool IsWindowsDesktopToolsetInstalled() const override;
  24. // These aren't virtual because we need to check if the selected version
  25. // of the toolset is installed
  26. bool IsWindowsPhoneToolsetInstalled() const;
  27. bool IsWindowsStoreToolsetInstalled() const;
  28. };