1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
9 #include "cmGlobalGeneratorFactory.h"
10 #include "cmGlobalUnixMakefileGenerator3.h"
14 struct cmDocumentationEntry;
16 /** \class cmGlobalMSYSMakefileGenerator
17 * \brief Write a NMake makefiles.
19 * cmGlobalMSYSMakefileGenerator manages nmake build process for a tree
21 class cmGlobalMSYSMakefileGenerator : public cmGlobalUnixMakefileGenerator3
24 cmGlobalMSYSMakefileGenerator(cmake* cm);
25 static std::unique_ptr<cmGlobalGeneratorFactory> NewFactory()
27 return std::unique_ptr<cmGlobalGeneratorFactory>(
28 new cmGlobalGeneratorSimpleFactory<cmGlobalMSYSMakefileGenerator>());
31 //! Get the name for the generator.
32 virtual std::string GetName() const
34 return cmGlobalMSYSMakefileGenerator::GetActualName();
36 static std::string GetActualName() { return "MSYS Makefiles"; }
38 /** Get the documentation entry for this generator. */
39 static void GetDocumentation(cmDocumentationEntry& entry);
42 * Try to determine system information such as shared library
43 * extension, pthreads, byte order etc.
45 virtual void EnableLanguage(std::vector<std::string> const& languages,
46 cmMakefile*, bool optional);
49 std::string FindMinGW(std::string const& makeloc);