C++ builder
pip install -U git+https://github.com/hide0123/cppbld.git- Create
build.jsonin your C++ project. The following is an example.
{
"config_name": {
"output": "project_name",
"flags": {
"common": "-std=c++20",
"release": "-O3",
"debug": "-O0 -g",
"[linker]": {
"release": [ "--gc-sections", "-s" ]
}
}
}
}- Run the following command.
cppbldIf you want to develop this project, please use the pre-commit hook to check the code.
Before starting development, run the following command.
pip install pre-commit
pre-commit install- super9s
- hide0123