CPGen
C++ project generator
Loading...
Searching...
No Matches
ScaffoldEmitter.cpp File Reference

Implements the project scaffold emitter. More...

#include "CPGen/Pipeline/ScaffoldEmitter.hpp"
#include <algorithm>
#include <fstream>
#include <sstream>
#include <utility>
Include dependency graph for ScaffoldEmitter.cpp:

Detailed Description

Implements the project scaffold emitter.

Generates the starter source files, README, .gitignore, and test skeleton that form the initial directory tree of a new C++ project. When a module ships an example source file (e.g. templates/modules/gtest/example.cpp), the emitter uses it instead of the built-in fallback.

Author
Darleanow