3 This file is part of builder
4 Copyright © 2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
9 #include "datacompile.h"
12 #include "sourcepackage.h"
14 DataFile::DataFile(Builder &b, const Component &c, File &s):
15 FileTarget(b, &c.get_package(), generate_target_path(c)),
23 Action *DataFile::create_action()
25 return new DataCompile(builder, *this);
28 Msp::FS::Path DataFile::generate_target_path(const Component &comp)
30 return comp.get_package().get_out_dir()/(comp.get_name()+".dat");