1 #include <msp/builder/component.h>
2 #include <msp/builder/sourcepackage.h>
7 DataPack::DataPack(Builder &b, const Component &c, const vector<FileTarget *> &f):
8 FileTarget(b, c.get_package(), generate_target_path(c)),
12 for(FileTarget *t: files)
15 install_location = Msp::FS::Path("share")/package->get_name();
18 Msp::FS::Path DataPack::generate_target_path(const Component &comp)
20 return comp.get_package().get_output_directory()/(comp.get_name()+".mdp");