X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fsourcepackage.h;h=b8d19090eed92aa5d653589d14296d50829442b8;hb=de7ca0d3ce73bfa3f870c4257dbf71e621224876;hp=c143a276f0db446b142d3e860172c3de2ff72324;hpb=69cdee2c53972c1dd7e1b9d83ddcd8f6c3c589f7;p=builder.git diff --git a/source/sourcepackage.h b/source/sourcepackage.h index c143a27..b8d1909 100644 --- a/source/sourcepackage.h +++ b/source/sourcepackage.h @@ -13,6 +13,7 @@ class Builder; class BuildType; +class FileTarget; class bad_expansion: public std::runtime_error { @@ -57,6 +58,7 @@ private: std::string version; std::string description; + FileTarget *build_file; Msp::FS::Path source_dir; const BuildType *build_type; FeatureList features; @@ -70,6 +72,7 @@ public: const std::string &get_version() const { return version; } const std::string &get_description() const { return description; } + FileTarget &get_build_file() const { return *build_file; } const Msp::FS::Path &get_source_directory() const { return source_dir; } Msp::FS::Path get_temp_dir() const; Msp::FS::Path get_out_dir() const;