fix issue 9346. add binary directory to window title to make it easier to deal with...
[cmake.git] / Source / cmGlobalVisualStudio71Generator.h
blob0849ad804ff7e0d85c00916898c36f1e2c300f2b
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmGlobalVisualStudio71Generator.h,v $
5 Language: C++
6 Date: $Date: 2009-09-16 15:44:04 $
7 Version: $Revision: 1.20 $
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
30 public:
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();
46 /**
47 * Where does this version of Visual Studio look for macros for the
48 * current user? Returns the empty string if this version of Visual
49 * Studio does not implement support for VB macros.
51 virtual std::string GetUserMacrosDirectory();
53 /**
54 * What is the reg key path to "vsmacros" for this version of Visual
55 * Studio?
57 virtual std::string GetUserMacrosRegKeyBase();
59 protected:
60 virtual const char* GetIDEVersion() { return "7.1"; }
61 virtual void AddPlatformDefinitions(cmMakefile* mf);
62 virtual void WriteSLNFile(std::ostream& fout,
63 cmLocalGenerator* root,
64 std::vector<cmLocalGenerator*>& generators);
65 virtual void WriteSolutionConfigurations(std::ostream& fout);
66 virtual void WriteProject(std::ostream& fout,
67 const char* name, const char* path, cmTarget &t);
68 virtual void WriteProjectDepends(std::ostream& fout,
69 const char* name, const char* path, cmTarget &t);
70 virtual void WriteProjectConfigurations(std::ostream& fout,
71 const char* name,
72 bool partOfDefaultBuild);
73 virtual void WriteExternalProject(std::ostream& fout,
74 const char* name,
75 const char* path,
76 const std::set<cmStdString>& depends);
77 virtual void WriteSLNFooter(std::ostream& fout);
78 virtual void WriteSLNHeader(std::ostream& fout);
80 std::string ProjectConfigurationSectionName;
82 #endif