X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanalyzer.cpp;h=eaf017be6753e29ee935a5dbab698e605b41a08c;hb=894c4bd9d58df50c38c7a656cf085c48581439ef;hp=b04049683461f93f2e94fb5e66a6c00b5a68fdc1;hpb=ad88e1ba08cf798e5f87796021c947cf500a02e1;p=builder.git diff --git a/source/analyzer.cpp b/source/analyzer.cpp index b040496..eaf017b 100644 --- a/source/analyzer.cpp +++ b/source/analyzer.cpp @@ -26,7 +26,7 @@ void Analyzer::analyze() const Builder::TargetMap &targets = builder.get_targets(); for(Builder::TargetMap::const_iterator i=targets.begin(); i!=targets.end(); ++i) { - const Target::Dependencies &depends = i->second->get_depends(); + const Target::Dependencies &depends = i->second->get_dependencies(); for(Target::Dependencies::const_iterator j=depends.begin(); j!=depends.end(); ++j) rdepends[*j].insert(i->second); } @@ -45,7 +45,7 @@ void Analyzer::analyze() Target &cmdline = *builder.get_target("cmdline"); if(mode==RDEPS) { - const Target::Dependencies &deps = cmdline.get_depends(); + const Target::Dependencies &deps = cmdline.get_dependencies(); for(Target::Dependencies::const_iterator i=deps.begin(); i!=deps.end(); ++i) build_depend_table(**i, 0); } @@ -108,7 +108,7 @@ void Analyzer::build_depend_table(Target &tgt, unsigned depth) depends.assign(rdeps.begin(), rdeps.end()); } else - depends = tgt.get_depends(); + depends = tgt.get_dependencies(); depends.sort(full_paths ? target_order_full : target_order); @@ -137,7 +137,7 @@ void Analyzer::print_table() const { if(j>0) line += " "; - line += lexical_cast((*i)[j], Fmt("%-s").width(col_width[j])); + line += lexical_cast((*i)[j], Fmt("%-s").width(col_width[j])); } IO::print("%s\n", line); }