diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-18 19:09:03 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-18 19:09:03 (GMT) |
commit | 12c5f0fa26ab3b90d13cd872ca7f0ea582e1cebc (patch) | |
tree | 8ba1e55adcb81bc0a2cd14897f0c5a047ee5489a /Source/cmUnixMakefileGenerator.cxx | |
parent | 142119be9535ae1ef109595fdd83c0d929133834 (diff) | |
download | CMake-12c5f0fa26ab3b90d13cd872ca7f0ea582e1cebc.zip CMake-12c5f0fa26ab3b90d13cd872ca7f0ea582e1cebc.tar.gz CMake-12c5f0fa26ab3b90d13cd872ca7f0ea582e1cebc.tar.bz2 |
ENH: fix for borland tlib files with dash in them problem.
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 9e78f77..f3b0487 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -378,6 +378,21 @@ void cmUnixMakefileGenerator::OutputTargetRules(std::ostream& fout) } } fout << "\n\n"; + fout << l->first << "_SRC_OBJS_QUOTED = "; + for(std::vector<cmSourceFile>::iterator i = classes.begin(); + i != classes.end(); i++) + { + if(!i->IsAHeaderFileOnly()) + { + std::string outExt(this->GetOutputExtension(i->GetSourceExtension().c_str())); + if(outExt.size()) + { + fout << "\\\n\"" << this->ConvertToNativePath(i->GetSourceName().c_str()) + << outExt.c_str() << "\" "; + } + } + } + fout << "\n\n"; } } fout << "CLEAN_OBJECT_FILES = "; |