X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.h;h=0b84d00cb4a5cc31308a8d57ed2362db2b928b6e;hb=098507f58825446484c7ae0ef96eadafa32499c8;hp=3a358ce04f36b0770cea5251997d62d6d0ae2b8f;hpb=a9a568a220ace3e9144865344099713ea4acd7fa;p=builder.git diff --git a/source/component.h b/source/component.h index 3a358ce..0b84d00 100644 --- a/source/component.h +++ b/source/component.h @@ -60,10 +60,8 @@ protected: SourcePackage &pkg; Type type; std::string name; - PathList sources; + StringList sources; bool install; - const Component *module_host; - bool modular; BuildInfo build_info; PackageList requires; bool deflt; @@ -73,13 +71,14 @@ public: const SourcePackage &get_package() const { return pkg; } Type get_type() const { return type; } const std::string &get_name() const { return name; } - const PathList &get_sources() const { return sources; } + const StringList &get_sources() const { return sources; } const BuildInfo &get_build_info() const { return build_info; } bool get_install() const { return install; } - bool is_modular() const { return modular; } const PackageList &get_requires() const { return requires; } bool is_default() const { return deflt; } + void configure(const StringMap &, unsigned); + /** Prepares the build information for building. Pulls build info from the parent and dependency packages, and adds any component-specific flags. */ void create_build_info();