diff --git a/Source/cmGlobalBorlandMakefileGenerator.cxx b/Source/cmGlobalBorlandMakefileGenerator.cxx index 2fd7f8a0a3..6eabe9cf90 100644 --- a/Source/cmGlobalBorlandMakefileGenerator.cxx +++ b/Source/cmGlobalBorlandMakefileGenerator.cxx @@ -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; diff --git a/Source/cmState.cxx b/Source/cmState.cxx index 72eeb9dfb7..e05eb10711 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -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; diff --git a/Source/cmState.h b/Source/cmState.h index 5aceb6a954..4dc982f0e0 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -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;