1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmGlobalVisualStudio71Generator.h,v $
6 Date: $Date: 2008/01/30 17:04:38 $
7 Version: $Revision: 1.17 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #ifndef cmGlobalVisualStudio71Generator_h
18 #define cmGlobalVisualStudio71Generator_h
20 #include "cmGlobalVisualStudio7Generator.h"
23 /** \class cmGlobalVisualStudio71Generator
24 * \brief Write a Unix makefiles.
26 * cmGlobalVisualStudio71Generator manages UNIX build process for a tree
28 class cmGlobalVisualStudio71Generator
: public cmGlobalVisualStudio7Generator
31 cmGlobalVisualStudio71Generator();
32 static cmGlobalGenerator
* New()
33 { return new cmGlobalVisualStudio71Generator
; }
35 ///! Get the name for the generator.
36 virtual const char* GetName() const {
37 return cmGlobalVisualStudio71Generator::GetActualName();}
38 static const char* GetActualName() {return "Visual Studio 7 .NET 2003";}
40 /** Get the documentation entry for this generator. */
41 virtual void GetDocumentation(cmDocumentationEntry
& entry
) const;
43 ///! Create a local generator appropriate to this Global Generator
44 virtual cmLocalGenerator
*CreateLocalGenerator();
47 virtual void AddPlatformDefinitions(cmMakefile
* mf
);
48 virtual void WriteSLNFile(std::ostream
& fout
,
49 cmLocalGenerator
* root
,
50 std::vector
<cmLocalGenerator
*>& generators
);
51 virtual void WriteSolutionConfigurations(std::ostream
& fout
);
52 virtual void WriteProject(std::ostream
& fout
,
53 const char* name
, const char* path
, cmTarget
&t
);
54 virtual void WriteProjectDepends(std::ostream
& fout
,
55 const char* name
, const char* path
, cmTarget
&t
);
56 virtual void WriteProjectConfigurations(std::ostream
& fout
,
58 bool partOfDefaultBuild
);
59 virtual void WriteExternalProject(std::ostream
& fout
,
62 const std::vector
<std::string
>& depends
);
63 virtual void WriteSLNFooter(std::ostream
& fout
);
64 virtual void WriteSLNHeader(std::ostream
& fout
);
66 std::string ProjectConfigurationSectionName
;