4 #include "sourcepackage.h"
6 DataFile::DataFile(Builder &b, const Component &c, File &s):
7 FileTarget(b, c.get_package(), generate_target_path(c)),
11 add_dependency(source);
13 install_location = Msp::FS::Path("share")/package->get_name();
16 Msp::FS::Path DataFile::generate_target_path(const Component &comp)
18 return comp.get_package().get_out_dir()/(comp.get_name()+".dat");