Imported Upstream version 2.8.12.2
[platform/upstream/cmake.git] / Source / cmLocalVisualStudio10Generator.h
1 /*============================================================================
2   CMake - Cross Platform Makefile Generator
3   Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
4
5   Distributed under the OSI-approved BSD License (the "License");
6   see accompanying file Copyright.txt for details.
7
8   This software is distributed WITHOUT ANY WARRANTY; without even the
9   implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10   See the License for more information.
11 ============================================================================*/
12 #ifndef cmLocalVisualStudio10Generator_h
13 #define cmLocalVisualStudio10Generator_h
14
15 #include "cmLocalVisualStudio7Generator.h"
16
17
18 /** \class cmLocalVisualStudio10Generator
19  * \brief Write Visual Studio 10 project files.
20  *
21  * cmLocalVisualStudio10Generator produces a Visual Studio 10 project
22  * file for each target in its directory.
23  */
24 class cmLocalVisualStudio10Generator : public cmLocalVisualStudio7Generator
25 {
26 public:
27   ///! Set cache only and recurse to false by default.
28   cmLocalVisualStudio10Generator(VSVersion v);
29
30   virtual ~cmLocalVisualStudio10Generator();
31
32
33   /**
34    * Generate the makefile for this directory.
35    */
36   virtual void Generate();
37   virtual void ReadAndStoreExternalGUID(const char* name,
38                                         const char* path);
39
40 protected:
41   virtual const char* ReportErrorLabel() const;
42   virtual bool CustomCommandUseLocal() const { return true; }
43
44 private:
45 };
46 #endif