4 #include "filetarget.h"
9 Represents a C or C++ source file.
11 class SourceFile: public FileTarget
14 const Component *comp;
18 SourceFile(Builder &, const Msp::FS::Path &);
20 SourceFile(Builder &, const Component &, const Msp::FS::Path &);
21 virtual const char *get_type() const { return "SourceFile"; }
22 const StringList &get_includes() const { return includes; }
23 const Component *get_component() const { return comp; }
24 virtual void find_depends();
26 virtual Action *create_action() { return 0; }