]> git.tdb.fi Git - builder.git/blobdiff - source/lib/executable.cpp
Rearrange sources into subdirectories
[builder.git] / source / lib / executable.cpp
diff --git a/source/lib/executable.cpp b/source/lib/executable.cpp
new file mode 100644 (file)
index 0000000..aa0d8fb
--- /dev/null
@@ -0,0 +1,13 @@
+#include "builder.h"
+#include "component.h"
+#include "executable.h"
+#include "sourcepackage.h"
+
+using namespace std;
+using namespace Msp;
+
+Executable::Executable(Builder &b, const Component &c, const vector<ObjectFile *> &objs):
+       Binary(b, c, b.get_current_arch().create_filename<Executable>(c.get_name()), objs)
+{
+       install_location = "bin";
+}