resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cmGlobalMinGWMakefileGenerator.cxx
1 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2    file Copyright.txt or https://cmake.org/licensing for details.  */
3 #include "cmGlobalMinGWMakefileGenerator.h"
4
5 #include "cmDocumentationEntry.h"
6 #include "cmMakefile.h"
7 #include "cmState.h"
8 #include "cmSystemTools.h"
9 #include "cmake.h"
10
11 cmGlobalMinGWMakefileGenerator::cmGlobalMinGWMakefileGenerator(cmake* cm)
12   : cmGlobalUnixMakefileGenerator3(cm)
13 {
14   this->FindMakeProgramFile = "CMakeMinGWFindMake.cmake";
15   this->ForceUnixPaths = true;
16   this->ToolSupportsColor = true;
17   this->UseLinkScript = true;
18   cm->GetState()->SetWindowsShell(true);
19   cm->GetState()->SetMinGWMake(true);
20 }
21
22 void cmGlobalMinGWMakefileGenerator::GetDocumentation(
23   cmDocumentationEntry& entry)
24 {
25   entry.Name = cmGlobalMinGWMakefileGenerator::GetActualName();
26   entry.Brief = "Generates a make file for use with mingw32-make.";
27 }