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