+#include "csourcefile.h"
#include "gnucxxcompiler.h"
+using namespace Msp;
+
GnuCxxCompiler::GnuCxxCompiler(Builder &b):
GnuCompiler(b, "CXX", "g++")
{
input_suffixes.push_back(".cpp");
input_suffixes.push_back(".cc");
}
+
+Target *GnuCxxCompiler::create_source(const Component &comp, const FS::Path &path) const
+{
+ return new CSourceFile(builder, comp, path);
+}