X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.cpp;fp=source%2Fsystemlibrary.cpp;h=0000000000000000000000000000000000000000;hb=dc4b917034c9d3718f07139e2f0f3631a080c6f3;hp=61bd810fa10931d6953febdc56526b69725e11d7;hpb=632361796a7ddadf8a726526c937fab22281fb7b;p=builder.git diff --git a/source/systemlibrary.cpp b/source/systemlibrary.cpp deleted file mode 100644 index 61bd810..0000000 --- a/source/systemlibrary.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include -#include -#include "systemlibrary.h" - -using namespace std; -using namespace Msp; - -SystemLibrary::SystemLibrary(Builder &b, const FS::Path &p): - FileTarget(b, 0, p), - Library(b, 0, p, extract_libname(p)) -{ } - -string SystemLibrary::extract_libname(const FS::Path &p) -{ - string result = FS::basepart(FS::basename(p)); - if(!result.compare(0, 3, "lib")) - result.erase(0, 3); - return result; -}