]> git.tdb.fi Git - builder.git/commitdiff
Allow constructing package-less Executables
authorMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 20:08:55 +0000 (23:08 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 21:08:55 +0000 (00:08 +0300)
source/executable.cpp
source/executable.h

index 2460f024d0f3f04647a3ba80279409c1639d1b48..fe37c9f23f0e27b85c7d75e40f41a8269309e44d 100644 (file)
@@ -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<ObjectFile *> &objs):
        Binary(b, c, generate_filename(c), objs)
 {
index 6bba919eb3f35b800c2c6539276069af451d57c7..d235e293617dee49c71541b7d20f53fcacf0b108 100644 (file)
@@ -6,6 +6,7 @@
 class Executable: public Binary
 {
 public:
+       Executable(Builder &, const Msp::FS::Path &);
        Executable(Builder &, const Component &, const std::list<ObjectFile *> &);
 
        virtual const char *get_type() const { return "Executable"; }