]> git.tdb.fi Git - builder.git/blobdiff - source/gnucxxcompiler.cpp
Allow sources to be created without a component
[builder.git] / source / gnucxxcompiler.cpp
index 0601fc29c5f596fbf1a99d1956450ad13ca10abd..09235810e1fa3878dfdd11d538c3c5354b2f691f 100644 (file)
@@ -52,3 +52,8 @@ Target *GnuCxxCompiler::create_source(const Component &comp, const FS::Path &pat
 {
        return new CSourceFile(builder, comp, path);
 }
+
+Target *GnuCxxCompiler::create_source(const FS::Path &path) const
+{
+       return new CSourceFile(builder, path);
+}