X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.cpp;h=cc4796cdee867cd9d9aea23d311951d4f091965a;hb=2606b03da59dc10e3826b833a2fceb0831d79972;hp=7ef6dbed43ef0262cc1f4a0411c4ad10dbf38802;hpb=45c778b1976de1a3093e0c6fb5e2a94c42073dcb;p=builder.git diff --git a/source/component.cpp b/source/component.cpp index 7ef6dbe..cc4796c 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -6,10 +6,10 @@ #include #include "builder.h" #include "component.h" +#include "csourcefile.h" #include "datafile.h" #include "executable.h" #include "file.h" -#include "header.h" #include "objectfile.h" #include "sharedlibrary.h" #include "sourcepackage.h" @@ -169,7 +169,7 @@ void Component::create_targets() const { FileTarget *hdr = builder.get_vfs().get_target(*i); if(!hdr) - hdr = new Header(builder, *this, i->str()); + hdr = new CSourceFile(builder, *this, *i); // Install headers if requested if(type==HEADERS && install)