while(!queue.empty())
{
Target *tgt = queue.front();
- queue.erase(queue.begin());
+ queue.pop_front();
if(tgt->is_buildable() && (tgt->get_package()==&package_manager.get_main_package() || all))
clean_tgts.insert(tgt);
configured. */
void load_build_file(const Msp::FS::Path &, const Config::InputOptions *opts = 0, bool all = false);
- void load_build_file(const Msp::FS::Path &, const Config::InputOptions &, bool);
-
/** Builds the goal targets. The build graph must be prepared first. */
int build(unsigned jobs = 1, bool dry_run = false, bool show_progress = false);
{
private:
SourceFile &source;
-
+
public:
ObjectFile(Builder &, const Component &, SourceFile &);
private:
class BuildType;
class FileTarget;
-class bad_expansion: public std::runtime_error
-{
-public:
- bad_expansion(const std::string &w): std::runtime_error(w) { }
- virtual ~bad_expansion() throw() { }
-};
-
/**
A package that can be built by Builder.
*/