ENH: Return utility target after creation
[cmake.git] / Source / cmGlobalBorlandMakefileGenerator.h
blobcc7b6cb8b19de2bdc24a12fd36bdb928eff93647
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmGlobalBorlandMakefileGenerator.h,v $
5 Language: C++
6 Date: $Date: 2007-06-28 13:09:26 $
7 Version: $Revision: 1.7 $
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 cmGlobalBorlandMakefileGenerator_h
18 #define cmGlobalBorlandMakefileGenerator_h
20 #include "cmGlobalNMakeMakefileGenerator.h"
22 /** \class cmGlobalBorlandMakefileGenerator
23 * \brief Write a Borland makefiles.
25 * cmGlobalBorlandMakefileGenerator manages nmake build process for a tree
27 class cmGlobalBorlandMakefileGenerator : public cmGlobalNMakeMakefileGenerator
29 public:
30 cmGlobalBorlandMakefileGenerator();
31 static cmGlobalGenerator* New()
32 { return new cmGlobalBorlandMakefileGenerator; }
34 ///! Get the name for the generator.
35 virtual const char* GetName() const {
36 return cmGlobalBorlandMakefileGenerator::GetActualName();}
37 static const char* GetActualName() {return "Borland Makefiles";}
39 /** Get the documentation entry for this generator. */
40 virtual void GetDocumentation(cmDocumentationEntry& entry) const;
42 ///! Create a local generator appropriate to this Global Generator
43 virtual cmLocalGenerator *CreateLocalGenerator();
45 /**
46 * Try to determine system infomation such as shared library
47 * extension, pthreads, byte order etc.
49 virtual void EnableLanguage(std::vector<std::string>const& languages,
50 cmMakefile *, bool optional);
53 #endif