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 cmGlobalJOMMakefileGenerator_h
13 #define cmGlobalJOMMakefileGenerator_h
15 #include "cmGlobalUnixMakefileGenerator3.h"
17 /** \class cmGlobalJOMMakefileGenerator
18 * \brief Write a JOM makefiles.
20 * cmGlobalJOMMakefileGenerator manages nmake build process for a tree
22 class cmGlobalJOMMakefileGenerator : public cmGlobalUnixMakefileGenerator3
25 cmGlobalJOMMakefileGenerator();
26 static cmGlobalGeneratorFactory* NewFactory() {
27 return new cmGlobalGeneratorSimpleFactory
28 <cmGlobalJOMMakefileGenerator>(); }
29 ///! Get the name for the generator.
30 virtual const char* GetName() const {
31 return cmGlobalJOMMakefileGenerator::GetActualName();}
32 // use NMake Makefiles in the name so that scripts/tests that depend on the
33 // name NMake Makefiles will work
34 static const char* GetActualName() {return "NMake Makefiles JOM";}
36 /** Get the documentation entry for this generator. */
37 static void GetDocumentation(cmDocumentationEntry& entry);
39 ///! Create a local generator appropriate to this Global Generator
40 virtual cmLocalGenerator *CreateLocalGenerator();
43 * Try to determine system infomation such as shared library
44 * extension, pthreads, byte order etc.
46 virtual void EnableLanguage(std::vector<std::string>const& languages,
47 cmMakefile *, bool optional);