1 /*============================================================================
2 CMake - Cross Platform Makefile Generator
3 Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
5 Distributed under the OSI-approved BSD License (the "License");
6 see accompanying file Copyright.txt for details.
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 cmGlobalVisualStudio9Generator_h
13 #define cmGlobalVisualStudio9Generator_h
15 #include "cmGlobalVisualStudio8Generator.h"
18 /** \class cmGlobalVisualStudio9Generator
19 * \brief Write a Unix makefiles.
21 * cmGlobalVisualStudio9Generator manages UNIX build process for a tree
23 class cmGlobalVisualStudio9Generator :
24 public cmGlobalVisualStudio8Generator
27 cmGlobalVisualStudio9Generator(const char* name,
28 const char* architectureId, const char* additionalPlatformDefinition);
29 static cmGlobalGeneratorFactory* NewFactory();
31 ///! create the correct local generator
32 virtual cmLocalGenerator *CreateLocalGenerator();
35 * Try to determine system infomation such as shared library
36 * extension, pthreads, byte order etc.
38 virtual void EnableLanguage(std::vector<std::string>const& languages,
39 cmMakefile *, bool optional);
40 virtual void WriteSLNHeader(std::ostream& fout);
43 * Where does this version of Visual Studio look for macros for the
44 * current user? Returns the empty string if this version of Visual
45 * Studio does not implement support for VB macros.
47 virtual std::string GetUserMacrosDirectory();
50 * What is the reg key path to "vsmacros" for this version of Visual
53 virtual std::string GetUserMacrosRegKeyBase();
55 virtual const char* GetIDEVersion() { return "9.0"; }