class Builder;
class Target;
+/**
+Performs various kinds of dependency analysis on the build tree.
+*/
class Analyzer
{
public:
enum Mode
{
- DEPS,
- ALLDEPS,
- REBUILD,
- RDEPS
+ DEPS, /// Skip over "trivial" targets such as Install and Compile
+ ALLDEPS, /// Print out absolutely every target
+ REBUILD, /// Print targets that are going to be rebuilt
+ RDEPS /// Print targets that depend on the given targets (NYI)
};
Analyzer(Builder &);