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. */
|
2008-10-12 18:41:06 +02:00
|
|
|
#include "cmGlobalMinGWMakefileGenerator.h"
|
2016-07-09 11:21:54 +02:00
|
|
|
|
2008-10-12 18:41:06 +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"
|
2008-10-12 18:41:06 +02:00
|
|
|
|
2015-08-17 11:37:30 +02:00
|
|
|
cmGlobalMinGWMakefileGenerator::cmGlobalMinGWMakefileGenerator(cmake* cm)
|
|
|
|
: cmGlobalUnixMakefileGenerator3(cm)
|
2008-10-12 18:41:06 +02:00
|
|
|
{
|
|
|
|
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);
|
2008-10-12 18:41:06 +02:00
|
|
|
}
|
|
|
|
|
2023-05-23 16:38:00 +02:00
|
|
|
cmDocumentationEntry cmGlobalMinGWMakefileGenerator::GetDocumentation()
|
2008-10-12 18:41:06 +02:00
|
|
|
{
|
2023-05-23 16:38:00 +02:00
|
|
|
return { cmGlobalMinGWMakefileGenerator::GetActualName(),
|
|
|
|
"Generates a make file for use with mingw32-make." };
|
2008-10-12 18:41:06 +02:00
|
|
|
}
|