|
CBuild
C++ build system with scripts written in c++
|
Base for any generator. More...
#include <generator.hpp>
Public Member Functions | |
| generator_base (std::string out) | |
| Create and save output file name. | |
| virtual void | generate (CBuild::RType mode, lib::map< std::string, std::string > *args, std::vector< std::string > *pargs)=0 |
| Generate some output. | |
| virtual bool | init ()=0 |
| Some init. | |
Protected Attributes | |
| std::string | OUT |
Base for any generator.
Definition at line 36 of file generator.hpp.
|
inline |
Create and save output file name.
| out | => std::string -> Output file |
Definition at line 46 of file generator.hpp.
|
pure virtual |
Generate some output.
| mode | => CBuild::RType -> CBuild arg |
| args | => lib::map<std::string, std::string>* -> CBuild arg |
| args | => std::vector<std::string>* -> Preprocessed args |
Implemented in CBuild::ccj_out, and CBuild::makefile_out.
|
pure virtual |
Some init.
Implemented in CBuild::ccj_out, and CBuild::makefile_out.
|
protected |
Definition at line 38 of file generator.hpp.
Referenced by CBuild::makefile_out::generate().