2016-09-27 22:01:08 +03:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2014-06-24 23:39:11 +04:00
|
|
|
#ifndef cmGlobalVisualStudio14Generator_h
|
|
|
|
#define cmGlobalVisualStudio14Generator_h
|
|
|
|
|
|
|
|
#include "cmGlobalVisualStudio12Generator.h"
|
|
|
|
|
|
|
|
/** \class cmGlobalVisualStudio14Generator */
|
2016-05-16 17:34:04 +03:00
|
|
|
class cmGlobalVisualStudio14Generator : public cmGlobalVisualStudio12Generator
|
2014-06-24 23:39:11 +04:00
|
|
|
{
|
|
|
|
public:
|
2015-05-24 12:31:14 +03:00
|
|
|
cmGlobalVisualStudio14Generator(cmake* cm, const std::string& name,
|
2016-05-16 17:34:04 +03:00
|
|
|
const std::string& platformName);
|
2014-06-24 23:39:11 +04:00
|
|
|
static cmGlobalGeneratorFactory* NewFactory();
|
|
|
|
|
|
|
|
virtual bool MatchesGeneratorName(const std::string& name) const;
|
|
|
|
|
|
|
|
virtual void WriteSLNHeader(std::ostream& fout);
|
|
|
|
|
|
|
|
virtual const char* GetToolsVersion() { return "14.0"; }
|
|
|
|
protected:
|
2015-09-30 23:22:43 +03:00
|
|
|
virtual bool InitializeWindows(cmMakefile* mf);
|
2015-10-02 21:34:55 +03:00
|
|
|
virtual bool InitializeWindowsStore(cmMakefile* mf);
|
|
|
|
virtual bool SelectWindowsStoreToolset(std::string& toolset) const;
|
|
|
|
|
|
|
|
// These aren't virtual because we need to check if the selected version
|
|
|
|
// of the toolset is installed
|
|
|
|
bool IsWindowsStoreToolsetInstalled() const;
|
|
|
|
|
2014-06-24 23:39:11 +04:00
|
|
|
virtual const char* GetIDEVersion() { return "14.0"; }
|
2016-01-21 19:44:17 +03:00
|
|
|
virtual bool SelectWindows10SDK(cmMakefile* mf, bool required);
|
2015-09-01 23:52:36 +03:00
|
|
|
|
|
|
|
// Used to verify that the Desktop toolset for the current generator is
|
|
|
|
// installed on the machine.
|
|
|
|
virtual bool IsWindowsDesktopToolsetInstalled() const;
|
|
|
|
|
2015-09-30 23:22:43 +03:00
|
|
|
std::string GetWindows10SDKVersion();
|
|
|
|
|
2014-06-24 23:39:11 +04:00
|
|
|
private:
|
|
|
|
class Factory;
|
|
|
|
};
|
|
|
|
#endif
|