|
CPGen
C++ project generator
|
Copies tooling configuration files from templates/features/ into the generated project.
More...
#include <ToolingEmitter.hpp>


Public Member Functions | |
| ToolingEmitter (std::filesystem::path template_root) | |
| Construct with a path to the templates root directory. | |
| std::vector< OutputFile > | emit (const ResolvedProject &project) override |
| Produce output files from a resolved project. | |
Public Member Functions inherited from Emitter | |
| Emitter ()=default | |
| virtual | ~Emitter ()=default |
| Emitter (const Emitter &)=default | |
| Emitter & | operator= (const Emitter &)=default |
| Emitter (Emitter &&)=default | |
| Emitter & | operator= (Emitter &&)=default |
Copies tooling configuration files from templates/features/ into the generated project.
Reads static config files from disk and emits them as OutputFile entries. Only emits files for tooling options that were enabled in the project configuration.
|
explicit |
Construct with a path to the templates root directory.
| template_root | Absolute path to the templates/ directory. |
|
overridevirtual |
Produce output files from a resolved project.
| project | The fully resolved project description. |
Implements Emitter.