- std::list<Package *> new_pkgs;
- TargetMap includes;
- std::list<Target *> new_tgts;
-
- int load_build_file(const Msp::Path::Path &);
- void create_targets();
- Target *check_header(const Msp::Path::Path &);
- void add_target(Target *);
+
+ PackageMap packages;
+ PackageList new_pkgs;
+ Package *default_pkg;
+
+ TargetMap targets;
+ TargetList new_tgts;
+ TargetMap includes;
+ TargetMap libraries;
+
+ ToolMap tools; //< arch, tool name -> program name
+ StringMap archs; //< arch -> prefix
+ ProfileTemplateMap profile_tmpl;
+
+ Analyzer *analyzer;
+ bool do_build;
+ bool dry_run;
+ bool help;
+ unsigned verbose;
+ bool chrome;
+ std::string build_file;
+ unsigned jobs;
+ StringList what_if;
+ bool conf_all;
+ bool conf_only;
+ bool build_all;
+
+ int load_build_file(const Msp::Path::Path &);
+ int create_targets();
+ Target *get_header(const Msp::Path::Path &);
+ Target *get_library(const std::string &, const Msp::Path::Path &, LibMode);
+ void add_target(Target *);
+ void update_hash(std::string &, const std::string &);
+ int build();
+ void package_help();