]> git.tdb.fi Git - builder.git/blobdiff - source/component.h
Move the logic for creating targets into the Component class
[builder.git] / source / component.h
index e5057352f0cf86b91787d8af3a7634c389bd6fed..f96f80023527b8bbaed4e8ad47fb99bae785047d 100644 (file)
@@ -56,6 +56,7 @@ public:
        bool              get_default() const          { return deflt; }
        void              resolve_refs();
        void              create_build_info();
+       void              create_targets() const;
 protected:
        Package     &pkg;
        Type        type;
@@ -68,6 +69,8 @@ protected:
        BuildInfo   build_info;
        PkgRefList  requires;
        bool        deflt;
+
+       PathList    collect_source_files() const;
 };
 typedef std::list<Component> ComponentList;