mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
cmState: Add method to check for the Borland Makefiles generator
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user