ENH: make sure CTEST_CURL_OPTIONS work from script mode
[cmake.git] / Source / cmGlobalVisualStudio8Generator.h
bloba183ccb87b9db731c2bea3c448069c5315fae549
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmGlobalVisualStudio8Generator.h,v $
5 Language: C++
6 Date: $Date: 2008-02-15 16:49:58 $
7 Version: $Revision: 1.13 $
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 cmGlobalVisualStudio8Generator_h
18 #define cmGlobalVisualStudio8Generator_h
20 #include "cmGlobalVisualStudio71Generator.h"
23 /** \class cmGlobalVisualStudio8Generator
24 * \brief Write a Unix makefiles.
26 * cmGlobalVisualStudio8Generator manages UNIX build process for a tree
28 class cmGlobalVisualStudio8Generator : public cmGlobalVisualStudio71Generator
30 public:
31 cmGlobalVisualStudio8Generator();
32 static cmGlobalGenerator* New() {
33 return new cmGlobalVisualStudio8Generator; }
35 ///! Get the name for the generator.
36 virtual const char* GetName() const {
37 return cmGlobalVisualStudio8Generator::GetActualName();}
38 static const char* GetActualName() {return "Visual Studio 8 2005";}
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 * Override Configure and Generate to add the build-system check
48 * target.
50 virtual void Configure();
51 virtual void Generate();
53 /**
54 * Where does this version of Visual Studio look for macros for the
55 * current user? Returns the empty string if this version of Visual
56 * Studio does not implement support for VB macros.
58 virtual std::string GetUserMacrosDirectory();
60 /**
61 * What is the reg key path to "vsmacros" for this version of Visual
62 * Studio?
64 virtual std::string GetUserMacrosRegKeyBase();
66 protected:
68 virtual bool VSLinksDependencies() const { return false; }
70 static cmVS7FlagTable const* GetExtraFlagTableVS8();
71 virtual void AddPlatformDefinitions(cmMakefile* mf);
72 virtual void WriteSLNFile(std::ostream& fout, cmLocalGenerator* root,
73 std::vector<cmLocalGenerator*>& generators);
74 virtual void WriteSLNHeader(std::ostream& fout);
75 virtual void WriteSolutionConfigurations(std::ostream& fout);
76 virtual void WriteProjectConfigurations(std::ostream& fout,
77 const char* name,
78 bool partOfDefaultBuild);
79 std::string PlatformName; // Win32 or x64
81 #endif