X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanalyzer.h;h=b4ffd8b65d0aabc7b2beb04273e896e7c583ba0a;hb=7aeaa4ba965f596edad438c02e345a8843f7469a;hp=6c7b9dc70790838ba681875ad000729530f60840;hpb=0d80cabf649b931b26e7055385156c75a7385d35;p=builder.git diff --git a/source/analyzer.h b/source/analyzer.h index 6c7b9dc..b4ffd8b 100644 --- a/source/analyzer.h +++ b/source/analyzer.h @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef ANALYZER_H_ #define ANALYZER_H_ @@ -8,15 +15,18 @@ 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 &);