]> git.tdb.fi Git - builder.git/blobdiff - source/gnuobjccompiler.cpp
Collapse the language-specific compilers into a single class
[builder.git] / source / gnuobjccompiler.cpp
diff --git a/source/gnuobjccompiler.cpp b/source/gnuobjccompiler.cpp
deleted file mode 100644 (file)
index 16e5215..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#include "gnuobjccompiler.h"
-#include "objcsourcefile.h"
-
-using namespace Msp;
-
-GnuObjCCompiler::GnuObjCCompiler(Builder &b, const Architecture &a, const FS::Path &sysroot):
-       GnuCompiler(b, a, "OBJC", sysroot)
-{
-       set_command("gcc", true);
-       input_suffixes.push_back(".m");
-       build_info.libs.push_back("objc");
-}
-
-Target *GnuObjCCompiler::create_source(const Component &comp, const FS::Path &path) const
-{
-       return new ObjCSourceFile(builder, comp, path);
-}
-
-Target *GnuObjCCompiler::create_source(const FS::Path &path) const
-{
-       return new ObjCSourceFile(builder, path);
-}