cmake/Source/cmGlobalMinGWMakefileGenerator.cxx

26 lines
836 B
C++
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmGlobalMinGWMakefileGenerator.h"
2016-07-09 11:21:54 +02:00
#include "cmMakefile.h"
2017-04-14 19:02:05 +02:00
#include "cmState.h"
2022-03-29 21:10:50 +02:00
#include "cmSystemTools.h"
2019-11-11 23:01:05 +01:00
#include "cmake.h"
2015-08-17 11:37:30 +02:00
cmGlobalMinGWMakefileGenerator::cmGlobalMinGWMakefileGenerator(cmake* cm)
: cmGlobalUnixMakefileGenerator3(cm)
{
this->FindMakeProgramFile = "CMakeMinGWFindMake.cmake";
this->ForceUnixPaths = true;
this->ToolSupportsColor = true;
this->UseLinkScript = true;
2015-08-17 11:37:30 +02:00
cm->GetState()->SetWindowsShell(true);
cm->GetState()->SetMinGWMake(true);
}
2023-05-23 16:38:00 +02:00
cmDocumentationEntry cmGlobalMinGWMakefileGenerator::GetDocumentation()
{
2023-05-23 16:38:00 +02:00
return { cmGlobalMinGWMakefileGenerator::GetActualName(),
"Generates a make file for use with mingw32-make." };
}