+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
#ifndef ANALYZER_H_
#define ANALYZER_H_
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 &);