FileTarget(Builder &, const Msp::FS::Path &);
FileTarget(Builder &, const SourcePackage &, const Msp::FS::Path &);
private:
void init(const SourcePackage *);
FileTarget(Builder &, const Msp::FS::Path &);
FileTarget(Builder &, const SourcePackage &, const Msp::FS::Path &);
private:
void init(const SourcePackage *);
const Msp::Time::TimeStamp &get_mtime() const { return mtime; }
unsigned get_size() const { return size; }
const Msp::Time::TimeStamp &get_mtime() const { return mtime; }
unsigned get_size() const { return size; }
- /**
- Changes the mtime of the target to the current time.
- */
+ bool is_installable() const { return !install_location.empty(); }
+ const Msp::FS::Path &get_install_location() const { return install_location; }
+
+ /// Changes the mtime of the target to the current time.