#include "buildgraph.h"
#include "buildtype.h"
#include "config.h"
+#include "libbuilder_api.h"
#include "logger.h"
#include "packagemanager.h"
#include "sourcepackage.h"
#include "toolchain.h"
#include "virtualfilesystem.h"
-class FileTarget;
class Package;
class Plugin;
This class ties everything else together. It also contains code for loading
build files and supervising the build process.
*/
-class Builder
+class LIBBUILDER_API Builder
{
private:
class Loader: public Msp::DataFile::ObjectLoader<Builder>
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. */