From: Mikko Rasa Date: Sun, 8 Jul 2012 20:08:55 +0000 (+0300) Subject: Allow constructing package-less Executables X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=49e4b3da76973a751c08a0e1674736e746bbf6e3;p=builder.git Allow constructing package-less Executables --- diff --git a/source/executable.cpp b/source/executable.cpp index 2460f02..fe37c9f 100644 --- a/source/executable.cpp +++ b/source/executable.cpp @@ -6,6 +6,10 @@ using namespace std; using namespace Msp; +Executable::Executable(Builder &b, const FS::Path &p): + Binary(b, p) +{ } + Executable::Executable(Builder &b, const Component &c, const std::list &objs): Binary(b, c, generate_filename(c), objs) { diff --git a/source/executable.h b/source/executable.h index 6bba919..d235e29 100644 --- a/source/executable.h +++ b/source/executable.h @@ -6,6 +6,7 @@ class Executable: public Binary { public: + Executable(Builder &, const Msp::FS::Path &); Executable(Builder &, const Component &, const std::list &); virtual const char *get_type() const { return "Executable"; }