summaryrefslogtreecommitdiffstats
path: root/Source/cmBorlandMakefileGenerator.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-12-06 18:32:28 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-12-06 18:32:28 (GMT)
commitdea1309e8d00547c685320606041dd047d2293b2 (patch)
tree74ffc1e7da0193d1a5020fbdc3a6c4c2008be6b5 /Source/cmBorlandMakefileGenerator.cxx
parent2b8e16e59c3bfe41482820d8d5d0a3ddbbbb3fbf (diff)
downloadCMake-dea1309e8d00547c685320606041dd047d2293b2.zip
CMake-dea1309e8d00547c685320606041dd047d2293b2.tar.gz
CMake-dea1309e8d00547c685320606041dd047d2293b2.tar.bz2
Fix the command quoting pb (remove m_QuoteNextCommand), move ConvertToNativePath to NMake gen
Diffstat (limited to 'Source/cmBorlandMakefileGenerator.cxx')
-rw-r--r--Source/cmBorlandMakefileGenerator.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/cmBorlandMakefileGenerator.cxx b/Source/cmBorlandMakefileGenerator.cxx
index d5c8f4e..e90c1af 100644
--- a/Source/cmBorlandMakefileGenerator.cxx
+++ b/Source/cmBorlandMakefileGenerator.cxx
@@ -248,11 +248,6 @@ void cmBorlandMakefileGenerator::OutputMakeRule(std::ostream& fout,
fout << startCommand << replace.c_str() << endCommand;
}
fout << "\n";
- // reset m_QuoteNextCommand, as the default should be to quote the
- // commands. We need the quotes when the command has a full path
- // to an executable. However, the quotes break things like the
- // linker command.
- m_QuoteNextCommand = true;
}
void
@@ -313,7 +308,6 @@ OutputBuildObjectFromSource(std::ostream& fout,
compileCommand +=
cmSystemTools::EscapeSpaces(source.GetFullPath().c_str());
}
- m_QuoteNextCommand = false;
this->OutputMakeRule(fout,
comment.c_str(),
objectFile.c_str(),
@@ -362,7 +356,6 @@ void cmBorlandMakefileGenerator::OutputSharedLibraryRule(std::ostream& fout,
}
}
command += "\n|\n";
- m_QuoteNextCommand = false;
this->OutputMakeRule(fout, "rules for a shared library",
target.c_str(),
@@ -398,7 +391,6 @@ void cmBorlandMakefileGenerator::OutputStaticLibraryRule(std::ostream& fout,
command += "\n|\n";
std::string comment = "rule to build static library: ";
comment += name;
- m_QuoteNextCommand = false;
this->OutputMakeRule(fout,
comment.c_str(),
target.c_str(),
@@ -436,7 +428,6 @@ void cmBorlandMakefileGenerator::OutputExecutableRule(std::ostream& fout,
std::string comment = "rule to build executable: ";
comment += name;
- m_QuoteNextCommand = false;
this->OutputMakeRule(fout,
comment.c_str(),
target.c_str(),
@@ -489,10 +480,4 @@ void cmBorlandMakefileGenerator::OutputBuildLibraryInDir(std::ostream& fout,
}
-std::string cmBorlandMakefileGenerator::ConvertToNativePath(const char* s)
-{
- std::string ret = s;
- cmSystemTools::ConvertToWindowsSlashes(ret);
- return ret;
-}