class Component;
+/**
+Represents a C or C++ source file.
+*/
class SourceFile: public Target
{
public:
SourceFile(Builder &, const Component *, const std::string &);
- void find_depends();
- const char *get_type() const { return "SourceFile"; }
+ const StringList &get_includes() const { return includes; }
+ const char *get_type() const { return "SourceFile"; }
+ void find_depends();
+ Action *build() { return 0; }
private:
const Component *comp;
- std::list<std::string> includes;
+ StringList includes;
};
#endif