- /** 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 &);
+ /** 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. */
+ void load_build_file(const Msp::FS::Path &, const Config::InputOptions *opts = 0, bool all = false);