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.
|
2011-11-11 02:17:41 +04:00
|
|
|
cmLocalVisualStudio10Generator(VSVersion v);
|
2009-06-26 00:41:57 +04:00
|
|
|
|
|
|
|
virtual ~cmLocalVisualStudio10Generator();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2012-08-13 21:42:58 +04:00
|
|
|
* Generate the makefile for this directory.
|
2009-06-26 00:41:57 +04:00
|
|
|
*/
|
|
|
|
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
|