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