]> git.tdb.fi Git - builder.git/blobdiff - source/lib/builder.h
Define a macro to indicate which component is being built
[builder.git] / source / lib / builder.h
index 6dc29f098d2a22a714594c4dab1262de2a65df72..62fc21494e066baee9d5e9c5517974554f549012 100644 (file)
@@ -17,7 +17,6 @@
 #include "toolchain.h"
 #include "virtualfilesystem.h"
 
-class FileTarget;
 class Package;
 class Plugin;
 
@@ -111,7 +110,10 @@ public:
        const Logger &get_logger() const { return *logger; }
 
        std::vector<std::string> collect_problems() const;
+private:
+       void collect_broken_packages(const Package &, std::vector<const Package *> &) const;
 
+public:
        /** Loads a build file.  If opts is not null, it is used to configure any
        packages loaded from this file.  If all is true, external packages are also
        configured. */