cmGlobalMinGWMakefileGenerator.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmGlobalMinGWMakefileGenerator_h
  4. #define cmGlobalMinGWMakefileGenerator_h
  5. #include "cmGlobalUnixMakefileGenerator3.h"
  6. /** \class cmGlobalMinGWMakefileGenerator
  7. * \brief Write a NMake makefiles.
  8. *
  9. * cmGlobalMinGWMakefileGenerator manages nmake build process for a tree
  10. */
  11. class cmGlobalMinGWMakefileGenerator : public cmGlobalUnixMakefileGenerator3
  12. {
  13. public:
  14. cmGlobalMinGWMakefileGenerator(cmake* cm);
  15. static cmGlobalGeneratorFactory* NewFactory()
  16. {
  17. return new cmGlobalGeneratorSimpleFactory<
  18. cmGlobalMinGWMakefileGenerator>();
  19. }
  20. ///! Get the name for the generator.
  21. virtual std::string GetName() const
  22. {
  23. return cmGlobalMinGWMakefileGenerator::GetActualName();
  24. }
  25. static std::string GetActualName() { return "MinGW Makefiles"; }
  26. /** Get the documentation entry for this generator. */
  27. static void GetDocumentation(cmDocumentationEntry& entry);
  28. /**
  29. * Try to determine system information such as shared library
  30. * extension, pthreads, byte order etc.
  31. */
  32. virtual void EnableLanguage(std::vector<std::string> const& languages,
  33. cmMakefile*, bool optional);
  34. };
  35. #endif