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 cmGlobalWatcomWMakeGenerator_h
13 #define cmGlobalWatcomWMakeGenerator_h
15 #include "cmGlobalUnixMakefileGenerator3.h"
17 /** \class cmGlobalWatcomWMakeGenerator
18 * \brief Write a NMake makefiles.
20 * cmGlobalWatcomWMakeGenerator manages nmake build process for a tree
22 class cmGlobalWatcomWMakeGenerator : public cmGlobalUnixMakefileGenerator3
25 cmGlobalWatcomWMakeGenerator();
26 static cmGlobalGenerator* New() { return new cmGlobalWatcomWMakeGenerator; }
27 ///! Get the name for the generator.
28 virtual const char* GetName() const {
29 return cmGlobalWatcomWMakeGenerator::GetActualName();}
30 static const char* GetActualName() {return "Watcom WMake";}
32 /** Get the documentation entry for this generator. */
33 virtual void GetDocumentation(cmDocumentationEntry& entry) const;
35 ///! Create a local generator appropriate to this Global Generator
36 virtual cmLocalGenerator *CreateLocalGenerator();
39 * Try to determine system infomation such as shared library
40 * extension, pthreads, byte order etc.
42 virtual void EnableLanguage(std::vector<std::string>const& languages,
43 cmMakefile *, bool optional);