3 This file is part of builder
4 Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
11 #include "filetarget.h"
16 Represents a C or C++ source file.
18 class SourceFile: public FileTarget
21 const Component *comp;
25 SourceFile(Builder &, const Component *, const Msp::FS::Path &);
26 virtual const char *get_type() const { return "SourceFile"; }
27 const StringList &get_includes() const { return includes; }
28 const Component *get_component() const { return comp; }
29 virtual void find_depends();
31 virtual Action *create_action() { return 0; }