cmState: Add method to check for the Borland Makefiles generator

This commit is contained in:
Brad King
2024-05-14 12:52:08 -04:00
parent 648a7fb9b9
commit 6010e007c7
3 changed files with 14 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ cmGlobalBorlandMakefileGenerator::cmGlobalBorlandMakefileGenerator(cmake* cm)
this->ToolSupportsColor = true;
this->UseLinkScript = false;
cm->GetState()->SetWindowsShell(true);
cm->GetState()->SetBorlandMake(true);
this->IncludeDirective = "!include";
this->DefineWindowsNULL = true;
this->PassMakeflags = true;

View File

@@ -716,6 +716,16 @@ bool cmState::UseGhsMultiIDE() const
return this->GhsMultiIDE;
}
void cmState::SetBorlandMake(bool borlandMake)
{
this->BorlandMake = borlandMake;
}
bool cmState::UseBorlandMake() const
{
return this->BorlandMake;
}
void cmState::SetWatcomWMake(bool watcomWMake)
{
this->WatcomWMake = watcomWMake;

View File

@@ -213,6 +213,8 @@ public:
bool UseWindowsVSIDE() const;
void SetGhsMultiIDE(bool ghsMultiIDE);
bool UseGhsMultiIDE() const;
void SetBorlandMake(bool borlandMake);
bool UseBorlandMake() const;
void SetWatcomWMake(bool watcomWMake);
bool UseWatcomWMake() const;
void SetMinGWMake(bool minGWMake);
@@ -294,6 +296,7 @@ private:
bool WindowsShell = false;
bool WindowsVSIDE = false;
bool GhsMultiIDE = false;
bool BorlandMake = false;
bool WatcomWMake = false;
bool MinGWMake = false;
bool NMake = false;