|
Lightweight 0.20260303.0
|
Configuration for EmitCppBaseline.
More...
#include <CppEmitter.hpp>
Public Attributes | |
| std::filesystem::path | outputPath |
| std::size_t | maxLinesPerFile = 5000 |
| std::string | pluginName |
| bool | emitCmake = false |
Configuration for EmitCppBaseline.
Definition at line 17 of file CppEmitter.hpp.
| std::filesystem::path Lightweight::MigrationFold::CppEmitOptions::outputPath |
Output .cpp file. May be a <stem>.cpp — the writer will split into <stem>_part01.cpp, <stem>_part02.cpp, ... when needed.
Definition at line 21 of file CppEmitter.hpp.
| std::size_t Lightweight::MigrationFold::CppEmitOptions::maxLinesPerFile = 5000 |
Threshold for splitting the body across multiple .cpp files. Zero disables splitting and emits a single file.
Definition at line 24 of file CppEmitter.hpp.
| std::string Lightweight::MigrationFold::CppEmitOptions::pluginName |
Optional plugin name. When non-empty (and --emit-cmake is requested by the caller) EmitPluginCmake is invoked alongside the source emission.
Definition at line 27 of file CppEmitter.hpp.
| bool Lightweight::MigrationFold::CppEmitOptions::emitCmake = false |
When true, emit CMakeLists.txt + Plugin.cpp next to the generated sources so the directory becomes a drop-in plugin.
Definition at line 30 of file CppEmitter.hpp.