From 49e4b3da76973a751c08a0e1674736e746bbf6e3 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 8 Jul 2012 23:08:55 +0300 Subject: [PATCH] Allow constructing package-less Executables --- source/executable.cpp | 4 ++++ source/executable.h | 1 + 2 files changed, 5 insertions(+) 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"; } -- 2.45.2