]> git.tdb.fi Git - builder.git/blob - source/executable.cpp
488b6df513b5158206b59e72a8e532ec06d3cb44
[builder.git] / source / executable.cpp
1 #include "builder.h"
2 #include "component.h"
3 #include "executable.h"
4 #include "sourcepackage.h"
5
6 using namespace std;
7 using namespace Msp;
8
9 Executable::Executable(Builder &b, const FS::Path &p):
10         Binary(b, p)
11 { }
12
13 Executable::Executable(Builder &b, const Component &c, const vector<ObjectFile *> &objs):
14         Binary(b, c, b.get_current_arch().create_filename<Executable>(c.get_name()), objs)
15 {
16         install_location = "bin";
17 }