~Builder();
int main();
- bool get_dry_run() const { return dry_run; }
PackageManager &get_package_manager() { return package_manager; }
VirtualFileSystem &get_vfs() { return vfs; }
const Logger &get_logger() const { return logger; }
- /** Adds a target to both the target map and the new target queue. Called
- from Target constructor. */
+ /** Adds a target. It can later be retrieved by name. Called from Target
+ constructor. */
void add_target(Target *);
/** Adds a target that is a primary build goal. Such targets will be added
/** Loads a build file. Returns 0 on success or -1 if the file could not be
opened. */
- int load_build_file(const Msp::FS::Path &);
+ void load_build_file(const Msp::FS::Path &);
private:
/** Prepares packages and targets for building. Returns true if everything