2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2009-06-26 00:41:57 +04:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2009-06-26 00:41:57 +04:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
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.
|
|
|
|
============================================================================*/
|
2009-06-26 00:41:57 +04:00
|
|
|
#ifndef cmLocalVisualStudio10Generator_h
|
|
|
|
#define cmLocalVisualStudio10Generator_h
|
|
|
|
|
|
|
|
#include "cmLocalVisualStudio7Generator.h"
|
|
|
|
|
|
|
|
|
|
|
|
/** \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.
|
|
|
|
cmLocalVisualStudio10Generator();
|
|
|
|
|
|
|
|
virtual ~cmLocalVisualStudio10Generator();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Generate the makefile for this directory.
|
|
|
|
*/
|
|
|
|
virtual void Generate();
|
2009-07-14 00:58:24 +04:00
|
|
|
virtual void ReadAndStoreExternalGUID(const char* name,
|
|
|
|
const char* path);
|
2010-12-17 19:11:55 +03:00
|
|
|
|
|
|
|
protected:
|
2011-04-08 18:40:57 +04:00
|
|
|
virtual const char* ReportErrorLabel() const;
|
2011-04-11 18:07:40 +04:00
|
|
|
virtual bool CustomCommandUseLocal() const { return true; }
|
2010-12-17 19:11:55 +03:00
|
|
|
|
2009-06-26 00:41:57 +04:00
|
|
|
private:
|
|
|
|
};
|
|
|
|
#endif
|