]> git.tdb.fi Git - builder.git/blob - source/sourcefile.cpp
Don't store component locally in object and source files
[builder.git] / source / sourcefile.cpp
1 #include "component.h"
2 #include "sourcefile.h"
3 #include "sourcepackage.h"
4
5 SourceFile::SourceFile(Builder &b, const Component *c, const Msp::FS::Path &p):
6         FileTarget(b, (c ? &c->get_package() : 0), p)
7 {
8         component = c;
9 }