+private:
+ class Loader: public Msp::DataFile::ObjectLoader<Builder>
+ {
+ private:
+ Msp::FS::Path src;
+
+ public:
+ Loader(Builder &, const Msp::FS::Path &);
+ private:
+ void architecture(const std::string &);
+ void binpkg(const std::string &);
+ void build_type(const std::string &);
+ void profile(const std::string &);
+ void package(const std::string &);
+ };
+
+public:
+ typedef std::map<std::string, Target *> TargetMap;
+
+private:
+ typedef std::map<std::string, BuildType> BuildTypeMap;
+
+ StringList cmdline_targets;
+ StringMap cmdline_options;
+ Msp::FS::Path cwd;
+
+ PackageManager package_manager;
+ SourcePackage *main_pkg;
+
+ TargetMap targets;
+
+ Architecture native_arch;
+ Architecture *current_arch;
+ BuildTypeMap build_types;
+ BuildType *build_type;
+ Toolchain toolchain;
+ VirtualFileSystem vfs;
+ Logger logger;
+
+ ProblemList problems;
+ Analyzer *analyzer;
+ bool build;
+ unsigned clean;
+ bool dry_run;
+ bool help;
+ bool show_progress;
+ std::string build_file;
+ unsigned jobs;
+ StringList what_if;
+ bool conf_all;
+ bool conf_only;
+ bool build_all;
+ bool create_makefile;
+ Msp::FS::Path prefix;
+ StringList warnings;
+
+ static std::string usagemsg;
+ static std::string helpmsg;
+