CPGen
C++ project generator
Loading...
Searching...
No Matches
Public Attributes | List of all members
ToolingConfig Struct Reference

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
 

Detailed Description

Groups all optional tooling flags that can be enabled for a project.

Each field corresponds to a CLI flag (e.g. --git, --clang-format).

Member Data Documentation

◆ clang_format

bool ToolingConfig::clang_format
Initial value:
=
false

Generate a .clang-format configuration file.

◆ clang_format_preset

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.

◆ clang_tidy

bool ToolingConfig::clang_tidy = false

Generate a .clang-tidy configuration file.

◆ has_git

bool ToolingConfig::has_git = false

Initialise a Git repository in the project root.


The documentation for this struct was generated from the following file: