#include <msp/path/path.h>
#include "buildinfo.h"
#include "misc.h"
+#include "packageref.h"
class Package;
Component ∁
void source(const std::string &);
+ void require(const std::string &);
void build_info();
};
const BuildInfo &get_build_info() const { return build_info; }
bool get_install() const { return install; }
const std::string &get_install_headers() const { return install_headers; }
+ void resolve_refs();
void create_build_info();
protected:
Package &pkg;
bool install;
std::string install_headers;
BuildInfo build_info;
+ std::list<PackageRef> requires;
};
typedef std::list<Component> ComponentList;