ENH: Return utility target after creation
[cmake.git] / Source / cmGlobalWatcomWMakeGenerator.h
blobc1bc41bcab866170d777c1efe7996e8b03d11584
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmGlobalWatcomWMakeGenerator.h,v $
5 Language: C++
6 Date: $Date: 2007-08-09 19:57:30 $
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 cmGlobalWatcomWMakeGenerator_h
18 #define cmGlobalWatcomWMakeGenerator_h
20 #include "cmGlobalUnixMakefileGenerator3.h"
22 /** \class cmGlobalWatcomWMakeGenerator
23 * \brief Write a NMake makefiles.
25 * cmGlobalWatcomWMakeGenerator manages nmake build process for a tree
27 class cmGlobalWatcomWMakeGenerator : public cmGlobalUnixMakefileGenerator3
29 public:
30 cmGlobalWatcomWMakeGenerator();
31 static cmGlobalGenerator* New() { return new cmGlobalWatcomWMakeGenerator; }
32 ///! Get the name for the generator.
33 virtual const char* GetName() const {
34 return cmGlobalWatcomWMakeGenerator::GetActualName();}
35 static const char* GetActualName() {return "Watcom WMake";}
37 /** Get the documentation entry for this generator. */
38 virtual void GetDocumentation(cmDocumentationEntry& entry) const;
40 ///! Create a local generator appropriate to this Global Generator
41 virtual cmLocalGenerator *CreateLocalGenerator();
43 /**
44 * Try to determine system infomation such as shared library
45 * extension, pthreads, byte order etc.
47 virtual void EnableLanguage(std::vector<std::string>const& languages,
48 cmMakefile *, bool optional);
51 #endif