]> git.tdb.fi Git - builder.git/blobdiff - source/gnuccompiler.cpp
Allow sources to be created without a component
[builder.git] / source / gnuccompiler.cpp
index 5c2141322365c481bddd60f029819f9a45cdb7a0..f0d356cbedcdfe7385a0b247fa727d7b4fe8659b 100644 (file)
@@ -15,3 +15,8 @@ Target *GnuCCompiler::create_source(const Component &comp, const FS::Path &path)
 {
        return new CSourceFile(builder, comp, path);
 }
+
+Target *GnuCCompiler::create_source(const FS::Path &path) const
+{
+       return new CSourceFile(builder, path);
+}