X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobjectfile.cpp;h=732fe142400f72159f2f800407c16d6287fce10d;hb=9fe1e6827bba49c102f0186904922ca0a78852c6;hp=27883bb41245cf5ef66dac8cf2b6bcef1aa69113;hpb=c9a64955c551ad341f07505262d0e6ff9fb93a2c;p=builder.git diff --git a/source/objectfile.cpp b/source/objectfile.cpp index 27883bb..732fe14 100644 --- a/source/objectfile.cpp +++ b/source/objectfile.cpp @@ -37,6 +37,12 @@ FS::Path ObjectFile::generate_target_path(const Component &comp, const FS::Path return temp_dir/(FS::basepart(fn)+".o"); } +void ObjectFile::collect_build_info(BuildInfo &binfo) const +{ + Target::collect_build_info(binfo); + binfo.update_from(component->get_build_info_for_path(source.get_path())); +} + void ObjectFile::find_dependencies() { for(Dependencies::iterator i=depends.begin(); i!=depends.end(); ++i)