summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalBorlandMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-03-01 17:27:06 (GMT)
committerBrad King <brad.king@kitware.com>2005-03-01 17:27:06 (GMT)
commitc7beb286577b9b2377615e2714fcafef4b63176b (patch)
tree15a6db4e9ce0aa7c026a9e0fdf88e34b32442382 /Source/cmGlobalBorlandMakefileGenerator.cxx
parent54c99dc5fdfb845a3ae5076f5daa812adda36ad1 (diff)
downloadCMake-c7beb286577b9b2377615e2714fcafef4b63176b.zip
CMake-c7beb286577b9b2377615e2714fcafef4b63176b.tar.gz
CMake-c7beb286577b9b2377615e2714fcafef4b63176b.tar.bz2
ENH: Enabling cmLocalUnixMakefileGenerator2 by default.
Diffstat (limited to 'Source/cmGlobalBorlandMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalBorlandMakefileGenerator.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmGlobalBorlandMakefileGenerator.cxx b/Source/cmGlobalBorlandMakefileGenerator.cxx
index 4f5eef7..477004c 100644
--- a/Source/cmGlobalBorlandMakefileGenerator.cxx
+++ b/Source/cmGlobalBorlandMakefileGenerator.cxx
@@ -15,9 +15,10 @@
=========================================================================*/
#include "cmGlobalBorlandMakefileGenerator.h"
-#include "cmLocalUnixMakefileGenerator.h"
+#include "cmLocalUnixMakefileGenerator2.h"
#include "cmMakefile.h"
#include "cmake.h"
+
cmGlobalBorlandMakefileGenerator::cmGlobalBorlandMakefileGenerator()
{
m_FindMakeProgramFile = "CMakeBorlandFindMake.cmake";
@@ -29,6 +30,7 @@ void cmGlobalBorlandMakefileGenerator::EnableLanguage(std::vector<std::string>co
cmMakefile *mf)
{
std::string outdir = m_CMakeInstance->GetStartOutputDirectory();
+ mf->AddDefinition("CMAKE_GENERATOR_NEW", "1");
mf->AddDefinition("BORLAND", "1");
mf->AddDefinition("CMAKE_GENERATOR_CC", "bcc32");
mf->AddDefinition("CMAKE_GENERATOR_CXX", "bcc32");
@@ -38,7 +40,9 @@ void cmGlobalBorlandMakefileGenerator::EnableLanguage(std::vector<std::string>co
///! Create a local generator appropriate to this Global Generator
cmLocalGenerator *cmGlobalBorlandMakefileGenerator::CreateLocalGenerator()
{
- cmLocalUnixMakefileGenerator *lg = new cmLocalUnixMakefileGenerator;
+ cmLocalUnixMakefileGenerator2* lg = new cmLocalUnixMakefileGenerator2;
+ lg->SetEmptyCommand("@REM Borland Make needs a command here.");
+ lg->SetEchoNeedsQuote(false);
lg->SetIncludeDirective("!include");
lg->SetWindowsShell(true);
lg->SetMakefileVariableSize(32);