]> git.tdb.fi Git - builder.git/blob - source/sourcefile.h
Add command line options (not all of them work yet)
[builder.git] / source / sourcefile.h
1 #ifndef SOURCEFILE_H_
2 #define SOURCEFILE_H_
3
4 #include "target.h"
5
6 class Component;
7
8 class SourceFile: public Target
9 {
10 public:
11         SourceFile(Builder &, const Component *, const std::string &);
12         const std::list<std::string> &get_includes() const { return includes; }
13         const char *get_type() const { return "SourceFile"; }
14         void find_depends();
15         Action *build() { rebuild=false; return 0; }
16 private:
17         const Component *comp;
18         std::list<std::string> includes;
19 };
20
21 #endif