cmGlobalMinGWMakefileGenerator.h 1.27 KB
Newer Older
1 2
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
3 4 5
#ifndef cmGlobalMinGWMakefileGenerator_h
#define cmGlobalMinGWMakefileGenerator_h

6
#include "cmGlobalUnixMakefileGenerator3.h"
7 8 9 10 11 12 13 14 15

/** \class cmGlobalMinGWMakefileGenerator
 * \brief Write a NMake makefiles.
 *
 * cmGlobalMinGWMakefileGenerator manages nmake build process for a tree
 */
class cmGlobalMinGWMakefileGenerator : public cmGlobalUnixMakefileGenerator3
{
public:
16
  cmGlobalMinGWMakefileGenerator(cmake* cm);
17 18 19 20 21
  static cmGlobalGeneratorFactory* NewFactory()
  {
    return new cmGlobalGeneratorSimpleFactory<
      cmGlobalMinGWMakefileGenerator>();
  }
22
  ///! Get the name for the generator.
23 24 25 26 27
  virtual std::string GetName() const
  {
    return cmGlobalMinGWMakefileGenerator::GetActualName();
  }
  static std::string GetActualName() { return "MinGW Makefiles"; }
28 29

  /** Get the documentation entry for this generator.  */
30
  static void GetDocumentation(cmDocumentationEntry& entry);
31

32
  /**
33
   * Try to determine system information such as shared library
34
   * extension, pthreads, byte order etc.
35
   */
36 37
  virtual void EnableLanguage(std::vector<std::string> const& languages,
                              cmMakefile*, bool optional);
38 39 40
};

#endif