1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmGlobalMSYSMakefileGenerator.h,v $
6 Date: $Date: 2007/08/09 19:57:30 $
7 Version: $Revision: 1.6 $
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 cmGlobalMSYSMakefileGenerator_h
18 #define cmGlobalMSYSMakefileGenerator_h
20 #include "cmGlobalUnixMakefileGenerator3.h"
22 /** \class cmGlobalMSYSMakefileGenerator
23 * \brief Write a NMake makefiles.
25 * cmGlobalMSYSMakefileGenerator manages nmake build process for a tree
27 class cmGlobalMSYSMakefileGenerator
: public cmGlobalUnixMakefileGenerator3
30 cmGlobalMSYSMakefileGenerator();
31 static cmGlobalGenerator
* New() {
32 return new cmGlobalMSYSMakefileGenerator
; }
34 ///! Get the name for the generator.
35 virtual const char* GetName() const {
36 return cmGlobalMSYSMakefileGenerator::GetActualName();}
37 static const char* GetActualName() {return "MSYS 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();
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 std::string
FindMinGW(std::string
const& makeloc
);