CPGen
C++ project generator
Loading...
Searching...
No Matches
ToolingEmitter.hpp
Go to the documentation of this file.
1#pragma once
2
11
12#include <filesystem>
13
23class ToolingEmitter : public Emitter {
24public:
29 explicit ToolingEmitter(std::filesystem::path template_root);
30
31 [[nodiscard]] std::vector<OutputFile>
32 emit(const ResolvedProject &project) override;
33
34private:
40 [[nodiscard]] static std::string
41 readFile(const std::filesystem::path &path);
42
43 std::filesystem::path m_template_root;
44};
Base interface for all pipeline emitters.
Abstract base class for pipeline emitters.
Definition Emitter.hpp:35
Copies tooling configuration files from templates/features/ into the generated project.
Definition ToolingEmitter.hpp:23
std::vector< OutputFile > emit(const ResolvedProject &project) override
Produce output files from a resolved project.
Definition ToolingEmitter.cpp:22
Aggregated output of the full resolver pipeline.
Definition Resolved.hpp:105