resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cmGlobalMinGWMakefileGenerator.h
1 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2    file Copyright.txt or https://cmake.org/licensing for details.  */
3 #pragma once
4
5 #include <memory>
6 #include <string>
7 #include <vector>
8
9 #include "cmGlobalGeneratorFactory.h"
10 #include "cmGlobalUnixMakefileGenerator3.h"
11
12 class cmMakefile;
13 class cmake;
14 struct cmDocumentationEntry;
15
16 /** \class cmGlobalMinGWMakefileGenerator
17  * \brief Write a NMake makefiles.
18  *
19  * cmGlobalMinGWMakefileGenerator manages nmake build process for a tree
20  */
21 class cmGlobalMinGWMakefileGenerator : public cmGlobalUnixMakefileGenerator3
22 {
23 public:
24   cmGlobalMinGWMakefileGenerator(cmake* cm);
25   static std::unique_ptr<cmGlobalGeneratorFactory> NewFactory()
26   {
27     return std::unique_ptr<cmGlobalGeneratorFactory>(
28       new cmGlobalGeneratorSimpleFactory<cmGlobalMinGWMakefileGenerator>());
29   }
30   //! Get the name for the generator.
31   virtual std::string GetName() const
32   {
33     return cmGlobalMinGWMakefileGenerator::GetActualName();
34   }
35   static std::string GetActualName() { return "MinGW Makefiles"; }
36
37   /** Get the documentation entry for this generator.  */
38   static void GetDocumentation(cmDocumentationEntry& entry);
39 };