|
CPGen
C++ project generator
|
Groups all optional tooling flags that can be enabled for a project. More...
#include <Config.hpp>
Public Attributes | |
| bool | has_git = false |
| Initialise a Git repository in the project root. | |
| bool | clang_tidy = false |
Generate a .clang-tidy configuration file. | |
| bool | clang_format |
Generate a .clang-format configuration file. | |
| std::optional< std::string > | clang_format_preset |
Groups all optional tooling flags that can be enabled for a project.
Each field corresponds to a CLI flag (e.g. --git, --clang-format).
| bool ToolingConfig::clang_format |
Generate a .clang-format configuration file.
| std::optional<std::string> ToolingConfig::clang_format_preset |
Clang-format style preset (e.g. "Google", "LLVM"). Present only when clang_format is true and a preset was supplied.
| bool ToolingConfig::clang_tidy = false |
Generate a .clang-tidy configuration file.
| bool ToolingConfig::has_git = false |
Initialise a Git repository in the project root.