typedef std::list<Package *> PackageList;
typedef std::map<std::string, Package *> PackageMap;
typedef std::map<std::string, StringMap> ProfileTemplateMap;
typedef std::list<Package *> PackageList;
typedef std::map<std::string, Package *> PackageMap;
typedef std::map<std::string, StringMap> ProfileTemplateMap;
- ArchMap archs;
- Architecture *native_arch;
- const Architecture *current_arch;
+ Architecture native_arch;
+ Architecture *current_arch;
+ StringMap cross_prefixes;
/** Looks up a target by name. Returns 0 if no such target exists. */
Target *get_target(const std::string &) const;
/** Looks up a target by name. Returns 0 if no such target exists. */
Target *get_target(const std::string &) const;
const TargetMap &get_targets() const { return targets; }
/** Tries to locate a header based on location of including file and include
const TargetMap &get_targets() const { return targets; }
/** Tries to locate a header based on location of including file and include
Target *get_library(const std::string &, const StringList &, LibMode);
const Msp::FS::Path &get_cwd() const { return cwd; }
Target *get_library(const std::string &, const StringList &, LibMode);
const Msp::FS::Path &get_cwd() const { return cwd; }
const Msp::FS::Path &get_prefix() const { return prefix; }
const StringList &get_warnings() const { return warnings; }
void apply_profile_template(Config &, const std::string &) const;
const Msp::FS::Path &get_prefix() const { return prefix; }
const StringList &get_warnings() const { return warnings; }
void apply_profile_template(Config &, const std::string &) const;
/** Adds a target to both the target map and the new target queue. Called
from Target constructor. */
void add_target(Target *);
/** Adds a target to both the target map and the new target queue. Called
from Target constructor. */
void add_target(Target *);