diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-12-06 18:32:28 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-12-06 18:32:28 (GMT) |
commit | dea1309e8d00547c685320606041dd047d2293b2 (patch) | |
tree | 74ffc1e7da0193d1a5020fbdc3a6c4c2008be6b5 /Source/cmBorlandMakefileGenerator.cxx | |
parent | 2b8e16e59c3bfe41482820d8d5d0a3ddbbbb3fbf (diff) | |
download | CMake-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.cxx | 15 |
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; -} |