cmGlobalVisualStudio12Generator.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. std::string const& platformInGeneratorName);
  16. bool ProcessGeneratorToolsetField(std::string const& key,
  17. std::string const& value) override;
  18. bool InitializeWindowsPhone(cmMakefile* mf) override;
  19. bool InitializeWindowsStore(cmMakefile* mf) override;
  20. bool SelectWindowsPhoneToolset(std::string& toolset) const override;
  21. bool SelectWindowsStoreToolset(std::string& toolset) const override;
  22. // Used to verify that the Desktop toolset for the current generator is
  23. // installed on the machine.
  24. bool IsWindowsDesktopToolsetInstalled() const override;
  25. // These aren't virtual because we need to check if the selected version
  26. // of the toolset is installed
  27. bool IsWindowsPhoneToolsetInstalled() const;
  28. bool IsWindowsStoreToolsetInstalled() const;
  29. };