summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalBorlandMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-09-24 13:50:58 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-09-24 13:50:58 (GMT)
commitdd0dc9e6bd55e811f69d4be9e2165be6158fe863 (patch)
tree36042447c6c06d4b72caf9409f6e71cc7d14c417 /Source/cmLocalBorlandMakefileGenerator.cxx
parent94f1e8f5c59564e7a8986fbe20a2d7661237883b (diff)
downloadCMake-dd0dc9e6bd55e811f69d4be9e2165be6158fe863.zip
CMake-dd0dc9e6bd55e811f69d4be9e2165be6158fe863.tar.gz
CMake-dd0dc9e6bd55e811f69d4be9e2165be6158fe863.tar.bz2
handle long commands
Diffstat (limited to 'Source/cmLocalBorlandMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalBorlandMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalBorlandMakefileGenerator.cxx b/Source/cmLocalBorlandMakefileGenerator.cxx
index d35de52..97c7424 100644
--- a/Source/cmLocalBorlandMakefileGenerator.cxx
+++ b/Source/cmLocalBorlandMakefileGenerator.cxx
@@ -307,7 +307,7 @@ void cmLocalBorlandMakefileGenerator::OutputExecutableRule(std::ostream& fout,
depend += this->CreateMakeVariable(name, "_SRC_OBJS") + ") $(" +
this->CreateMakeVariable(name, "_DEPEND_LIBS") + ")";
std::string command =
- "$(CMAKE_CXX_COMPILER) ";
+ "$(CMAKE_CXX_COMPILER) @&&|\n";
command += " $(CMAKE_LINKER_FLAGS) -e" + target;
if(cmSystemTools::IsOn(m_Makefile->GetDefinition("BUILD_SHARED_LIBS")))
{
@@ -325,7 +325,7 @@ void cmLocalBorlandMakefileGenerator::OutputExecutableRule(std::ostream& fout,
this->OutputLinkLibraries(linklibs, 0, t);
command += linklibs.str();
command += " $(" + this->CreateMakeVariable(name, "_SRC_OBJS") + ")";
-
+ command += "\n|";
std::string comment = "rule to build executable: ";
comment += name;
std::string customCommands = this->CreateTargetRules(t, name);