]> git.tdb.fi Git - builder.git/blobdiff - source/analyzer.h
Add Id tag to all files
[builder.git] / source / analyzer.h
index 6c7b9dc70790838ba681875ad000729530f60840..b4ffd8b65d0aabc7b2beb04273e896e7c583ba0a 100644 (file)
@@ -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_
 
 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 &);