13 Performs various kinds of dependency analysis on the build tree.
20 DEPS, //< Skip over "trivial" targets such as Install and Compile
21 ALLDEPS, //< Print out absolutely every target
22 REBUILD, //< Print targets that are going to be rebuilt
23 RDEPS //< Print targets that depend on the given targets
27 typedef std::vector<std::string> TableRow;
28 typedef std::list<TableRow> Table;
35 std::map<const Target *, std::set<Target *> > rdepends;
39 void set_mode(Mode m) { mode = m; }
40 void set_max_depth(unsigned m) { max_depth = m; }
41 void set_full_paths(bool f) { full_paths = f; }
44 Performs the analysis and prints out the resulting dependency tree.
50 Adds rows to the table for the given target and its dependencies.
52 void build_depend_table(Target &, unsigned);
55 Prints out the table that resulted from the analysis.
57 void print_table() const;
59 static bool target_order(const Target *, const Target *);
60 static bool target_order_full(const Target *, const Target *);