X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.h;h=a27ddcab28a2ebaa4203b17726a3e702f03d4a97;hb=59ac0a44d6edf179c01604c6ced744873213f855;hp=c5e1d0ccb9a1a98b7296493ec32045a6129fd059;hpb=4dc31cca056ea293d320928f61fef0558089d32d;p=builder.git diff --git a/source/component.h b/source/component.h index c5e1d0c..a27ddca 100644 --- a/source/component.h +++ b/source/component.h @@ -26,15 +26,19 @@ public: { PROGRAM, LIBRARY, - MODULE + MODULE, + HEADERS }; Component(Package &, Type, const std::string &); - const Package &get_package() const { return pkg; } - Type get_type() const { return type; } - const std::string &get_name() const { return name; } - const Msp::Path::Path &get_source() const { return source; } - const BuildInfo &get_build_info() const { return build_info; } + const Package &get_package() const { return pkg; } + Type get_type() const { return type; } + const std::string &get_name() const { return name; } + const Msp::Path::Path &get_source() const { return source; } + 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 create_build_info(); protected: Package &pkg; Type type;