+ bool full_paths;
+ std::map<const Target *, std::set<Target *> > rdepends;
+
+public:
+ Analyzer(Builder &);
+ void set_mode(Mode m) { mode = m; }
+ void set_max_depth(unsigned m) { max_depth = m; }
+ void set_full_paths(bool f) { full_paths = f; }
+
+ /**
+ Performs the analysis and prints out the resulting dependency tree.
+ */
+ void analyze();