]> git.tdb.fi Git - builder.git/blobdiff - source/tar.cpp
Support source generators that combine multiple files into one
[builder.git] / source / tar.cpp
index ac2f9e800788513947335dc8a70d326a6830261e..6dee843df7ef4de8bee1baae45509a7fb2f34699 100644 (file)
@@ -13,9 +13,11 @@ using namespace Msp;
 
 Tar::Tar(Builder &b):
        Tool(b, "TAR")
-{ }
+{
+       processing_unit = COMPONENT;
+}
 
-Target *Tar::create_target(const list<Target *> &sources, const string &arg) const
+Target *Tar::create_target(const list<Target *> &sources, const string &arg)
 {
        if(!sources.front()->get_package())
                throw invalid_argument("Tar::create_target");