class FileTarget;
class Package;
class SourcePackage;
-class VirtualTarget;
/**
The main application class. Controls and owns everything. Rules the world.
public:
typedef std::map<std::string, Target *> TargetMap;
- typedef std::list<Target *> TargetList;
private:
typedef std::map<std::string, StringMap> ProfileTemplateMap;
/** Adds a target to both the target map and the new target queue. Called
from Target constructor. */
void add_target(Target *);
- void register_path(const Msp::FS::Path &, FileTarget *);
void problem(const std::string &, const std::string &);
public:
SourcePackage(Builder &, const std::string &, const Msp::FS::Path &);
- const std::string &get_name() const { return name; }
const std::string &get_version() const { return version; }
const std::string &get_description() const { return description; }
const Msp::FS::Path &get_source() const { return source; }
const ComponentList &get_components() const { return components; }
const Config &get_config() const { return config; }
const BuildInfo &get_build_info() const { return build_info; }
- const BuildInfo &get_exported_binfo() const { return export_binfo; }
Builder &get_builder() const { return builder; }
LibMode get_library_mode() const;