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 Msp::FS::Path &);
27 SourceFile(Builder &, const Component &, const Msp::FS::Path &);
28 virtual const char *get_type() const { return "SourceFile"; }
29 const StringList &get_includes() const { return includes; }
30 const Component *get_component() const { return comp; }
31 virtual void find_depends();
33 virtual Action *create_action() { return 0; }