]> git.tdb.fi Git - builder.git/blobdiff - source/builder.h
Add --no-externals option
[builder.git] / source / builder.h
index 653a81ad22cf51ca83bbced40c0183c991b89947..6835299b4ac464807240565fd231731d80b2edd0 100644 (file)
@@ -22,8 +22,10 @@ Distributed under the LGPL
 
 class Analyzer;
 class Config;
+class FileTarget;
 class Package;
 class SourcePackage;
+class VirtualTarget;
 
 /**
 The main application class.  Controls and owns everything.  Rules the world.
@@ -69,6 +71,7 @@ private:
        SourcePackage *main_pkg;
        PathList pkg_path;
        PathList pkg_dirs;
+       bool no_externals;
 
        TargetMap targets;
        TargetList new_tgts;
@@ -146,7 +149,8 @@ public:
 
        /** Adds a target to both the target map and the new target queue.  Called
        from Target constructor. */
-       void add_target(Target *);
+       void add_target(FileTarget *);
+       void add_target(VirtualTarget *);
 
        void problem(const std::string &, const std::string &);