diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-01-02 17:36:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-01-02 17:36:54 (GMT) |
commit | 61e056e2dc20af29d8a58e5fa9e7ea6c2b67c747 (patch) | |
tree | 1db8d3308c22842b6e0ba2353967ba46e3430ce2 /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 1d9ef3f8b59cd5dee9932cb09060d1b40faa648c (diff) | |
download | CMake-61e056e2dc20af29d8a58e5fa9e7ea6c2b67c747.zip CMake-61e056e2dc20af29d8a58e5fa9e7ea6c2b67c747.tar.gz CMake-61e056e2dc20af29d8a58e5fa9e7ea6c2b67c747.tar.bz2 |
BUG: fix for bug 2533, make foo/foo.o now works and .o files are in the help
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 38ab153..1f1c723 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -894,6 +894,14 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule } } } + std::map<cmStdString,std::vector<cmTarget *> >& objs = lg->GetLocalObjectFiles(); + for(std::map<cmStdString,std::vector<cmTarget *> >::iterator o = + objs.begin(); o != objs.end(); ++o) + { + path = "... "; + path += o->first; + lg->AppendEcho(commands, path.c_str()); + } } } lg->WriteMakeRule(ruleFileStream, "Help Target", |