X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.cpp;h=cc4796cdee867cd9d9aea23d311951d4f091965a;hb=632361796a7ddadf8a726526c937fab22281fb7b;hp=a340f3cc28b00efb091341ad6e3a593f9375e071;hpb=b1f8964a6b466f9b0c86e82706bf9e72133ecfcf;p=builder.git diff --git a/source/component.cpp b/source/component.cpp index a340f3c..cc4796c 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -6,12 +6,12 @@ #include #include "builder.h" #include "component.h" +#include "csourcefile.h" #include "datafile.h" #include "executable.h" #include "file.h" #include "objectfile.h" #include "sharedlibrary.h" -#include "sourcefile.h" #include "sourcepackage.h" #include "staticlibrary.h" #include "tarball.h" @@ -169,7 +169,7 @@ void Component::create_targets() const { FileTarget *hdr = builder.get_vfs().get_target(*i); if(!hdr) - hdr = new SourceFile(builder, *this, *i); + hdr = new CSourceFile(builder, *this, *i); // Install headers if requested if(type==HEADERS && install)