X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Fcomponent.h;h=2901f1b1fc53f3ba2c0e6deddbcca98f8143637b;hb=f4de41c810319d3ecc8bb5084de06a953037b7b7;hp=246bd44edd2e07c7fa1fedfb7cc8d7dcce1c1c3d;hpb=ea15b8404257f49b529253b82de45f5e85814154;p=builder.git diff --git a/source/lib/component.h b/source/lib/component.h index 246bd44..2901f1b 100644 --- a/source/lib/component.h +++ b/source/lib/component.h @@ -37,6 +37,7 @@ protected: SourcePackage &package; std::string name; std::vector sources; + Msp::FS::Path source_base_path; std::vector overlays; bool install = false; BuildInfo build_info; @@ -74,6 +75,9 @@ public: /** Prepares any required packages. */ void prepare(); + Msp::FS::Path get_temp_directory() const; + std::string flatten_source_path(const Msp::FS::Path &) const; + /** Prepares the build information for building. Pulls build info from the parent and dependency packages, and adds any component-specific flags. */ virtual void create_build_info();