3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
19 Performs various kinds of dependency analysis on the build tree.
26 DEPS, /// Skip over "trivial" targets such as Install and Compile
27 ALLDEPS, /// Print out absolutely every target
28 REBUILD, /// Print targets that are going to be rebuilt
29 RDEPS /// Print targets that depend on the given targets (NYI)
33 void set_mode(Mode m) { mode=m; }
34 void set_max_depth(unsigned m) { max_depth=m; }
35 void set_full_paths(bool f) { full_paths=f; }
38 typedef std::vector<std::string> TableRow;
39 typedef std::list<TableRow> Table;
47 void build_depend_table(Target &, unsigned);
48 void print_table() const;
50 static bool target_order(Target *, Target *);