+ /** Returns a list of all source files for the component. */
+ SourceList collect_source_files() const;
+
+public:
+ bool get_install() const { return install; }
+ const InstallMap &get_install_map() const { return install_map; }
+ const Package::Requirements &get_required_packages() const { return requires; }
+ const UseList &get_used_components() const { return uses; }
+ bool is_default() const { return deflt; }
+
+ /** Prepares any required packages. */
+ void prepare();
+
+ /** 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();
+
+ const BuildInfo &get_build_info() const { return build_info; }
+
+ void create_targets() const;