2014-06-24 23:39:11 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2014 Kitware, Inc., Insight Software Consortium
|
|
|
|
|
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
|
|
|
#ifndef cmGlobalVisualStudio14Generator_h
|
|
|
|
#define cmGlobalVisualStudio14Generator_h
|
|
|
|
|
|
|
|
#include "cmGlobalVisualStudio12Generator.h"
|
|
|
|
|
|
|
|
|
|
|
|
/** \class cmGlobalVisualStudio14Generator */
|
|
|
|
class cmGlobalVisualStudio14Generator:
|
|
|
|
public cmGlobalVisualStudio12Generator
|
|
|
|
{
|
|
|
|
public:
|
2015-05-24 12:31:14 +03:00
|
|
|
cmGlobalVisualStudio14Generator(cmake* cm, const std::string& name,
|
2014-07-18 00:16:10 +04: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);
|
2014-06-24 23:39:11 +04:00
|
|
|
virtual const char* GetIDEVersion() { return "14.0"; }
|
2015-09-30 23:22:43 +03:00
|
|
|
virtual bool SelectWindows10SDK(cmMakefile* mf);
|
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
|