Introduce "generator expressions" to add_test()
[cmake.git] / Source / cmGlobalVisualStudio9Generator.h
blobbc7201359fcc7c2e4509f366fc7a8170115ff308
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmGlobalVisualStudio9Generator.h,v $
5 Language: C++
6 Date: $Date: 2008-02-15 16:49:58 $
7 Version: $Revision: 1.4 $
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 cmGlobalVisualStudio9Generator_h
18 #define cmGlobalVisualStudio9Generator_h
20 #include "cmGlobalVisualStudio8Generator.h"
23 /** \class cmGlobalVisualStudio9Generator
24 * \brief Write a Unix makefiles.
26 * cmGlobalVisualStudio9Generator manages UNIX build process for a tree
28 class cmGlobalVisualStudio9Generator :
29 public cmGlobalVisualStudio8Generator
31 public:
32 cmGlobalVisualStudio9Generator();
33 static cmGlobalGenerator* New() {
34 return new cmGlobalVisualStudio9Generator; }
36 ///! Get the name for the generator.
37 virtual const char* GetName() const {
38 return cmGlobalVisualStudio9Generator::GetActualName();}
39 static const char* GetActualName() {return "Visual Studio 9 2008";}
40 virtual void AddPlatformDefinitions(cmMakefile* mf);
42 /** Get the documentation entry for this generator. */
43 virtual void GetDocumentation(cmDocumentationEntry& entry) const;
45 ///! create the correct local generator
46 virtual cmLocalGenerator *CreateLocalGenerator();
48 /**
49 * Try to determine system infomation such as shared library
50 * extension, pthreads, byte order etc.
52 virtual void EnableLanguage(std::vector<std::string>const& languages,
53 cmMakefile *, bool optional);
54 virtual void WriteSLNHeader(std::ostream& fout);
56 /**
57 * Where does this version of Visual Studio look for macros for the
58 * current user? Returns the empty string if this version of Visual
59 * Studio does not implement support for VB macros.
61 virtual std::string GetUserMacrosDirectory();
63 /**
64 * What is the reg key path to "vsmacros" for this version of Visual
65 * Studio?
67 virtual std::string GetUserMacrosRegKeyBase();
69 #endif