1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmGlobalMinGWMakefileGenerator.h,v $
6 Date: $Date: 2007-08-09 19:57:30 $
7 Version: $Revision: 1.5 $
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 cmGlobalMinGWMakefileGenerator_h
18 #define cmGlobalMinGWMakefileGenerator_h
20 #include "cmGlobalUnixMakefileGenerator3.h"
22 /** \class cmGlobalMinGWMakefileGenerator
23 * \brief Write a NMake makefiles.
25 * cmGlobalMinGWMakefileGenerator manages nmake build process for a tree
27 class cmGlobalMinGWMakefileGenerator
: public cmGlobalUnixMakefileGenerator3
30 cmGlobalMinGWMakefileGenerator();
31 static cmGlobalGenerator
* New() {
32 return new cmGlobalMinGWMakefileGenerator
; }
33 ///! Get the name for the generator.
34 virtual const char* GetName() const {
35 return cmGlobalMinGWMakefileGenerator::GetActualName();}
36 static const char* GetActualName() {return "MinGW Makefiles";}
38 /** Get the documentation entry for this generator. */
39 virtual void GetDocumentation(cmDocumentationEntry
& entry
) const;
41 ///! Create a local generator appropriate to this Global Generator
42 virtual cmLocalGenerator
*CreateLocalGenerator();
45 * Try to determine system infomation such as shared library
46 * extension, pthreads, byte order etc.
48 virtual void EnableLanguage(std::vector
<std::string
>const& languages
,
49 cmMakefile
*, bool optional
);