2016-10-30 18:24:19 +01:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2009-10-04 10:30:41 +03:00
|
|
|
#ifndef cmLocalVisualStudio10Generator_h
|
|
|
|
#define cmLocalVisualStudio10Generator_h
|
|
|
|
|
2017-07-20 19:35:53 +02:00
|
|
|
#include "cmConfigure.h"
|
2017-04-14 19:02:05 +02:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2009-10-04 10:30:41 +03:00
|
|
|
#include "cmLocalVisualStudio7Generator.h"
|
|
|
|
|
2017-04-14 19:02:05 +02:00
|
|
|
class cmGlobalGenerator;
|
|
|
|
class cmMakefile;
|
|
|
|
|
2009-10-04 10:30:41 +03:00
|
|
|
/** \class cmLocalVisualStudio10Generator
|
|
|
|
* \brief Write Visual Studio 10 project files.
|
|
|
|
*
|
|
|
|
* cmLocalVisualStudio10Generator produces a Visual Studio 10 project
|
|
|
|
* file for each target in its directory.
|
|
|
|
*/
|
|
|
|
class cmLocalVisualStudio10Generator : public cmLocalVisualStudio7Generator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
///! Set cache only and recurse to false by default.
|
2015-11-17 17:22:37 +01:00
|
|
|
cmLocalVisualStudio10Generator(cmGlobalGenerator* gg, cmMakefile* mf);
|
2009-10-04 10:30:41 +03:00
|
|
|
|
|
|
|
virtual ~cmLocalVisualStudio10Generator();
|
|
|
|
|
|
|
|
/**
|
2013-03-16 19:13:01 +02:00
|
|
|
* Generate the makefile for this directory.
|
2009-10-04 10:30:41 +03:00
|
|
|
*/
|
|
|
|
virtual void Generate();
|
2015-04-27 22:25:09 +02:00
|
|
|
virtual void ReadAndStoreExternalGUID(const std::string& name,
|
2009-10-04 10:30:41 +03:00
|
|
|
const char* path);
|
2011-01-16 11:35:12 +01:00
|
|
|
|
|
|
|
protected:
|
2011-06-19 15:41:06 +03:00
|
|
|
virtual const char* ReportErrorLabel() const;
|
|
|
|
virtual bool CustomCommandUseLocal() const { return true; }
|
2011-01-16 11:35:12 +01:00
|
|
|
|
2009-10-04 10:30:41 +03:00
|
|
|
private:
|
|
|
|
};
|
|
|
|
#endif
|