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"
5 #include "cmDocumentationEntry.h"
6 #include "cmMakefile.h"
8 #include "cmSystemTools.h"
11 cmGlobalMinGWMakefileGenerator::cmGlobalMinGWMakefileGenerator(cmake* cm)
12 : cmGlobalUnixMakefileGenerator3(cm)
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);
22 void cmGlobalMinGWMakefileGenerator::GetDocumentation(
23 cmDocumentationEntry& entry)
25 entry.Name = cmGlobalMinGWMakefileGenerator::GetActualName();
26 entry.Brief = "Generates a make file for use with mingw32-make.";