README.md
December 3, 2023 · View on GitHub
overview
This project aims to guide the way beginners make their cpp projects.
basic workflow

run this project
git clone https://github.com/jiaxiyang/cpp_project_guideline.git
cd cpp_project_guideline
pixi run all
project layout
- ✅ The main difference between the two methods is whether include and test are in the same folder as the module src.
build system generator
- ✅ cmake
- ✅ using compile options
-Wall -Wextra -Werror
package management
commit guidelines
MR guidelines
code review
SCA(Static Code Analysis)
- ✅ code format check run-clang-format
- ✅ cpplint
- ✅ clang-tidy
DCA(Dynamic Code Analysis)

unit test
- ✅ gtest
- show results on github ci

coverage test
profiling
- ✅ perf
- ✅ flamegraph
- ✅ gprof2dot
doc
- ✅ doxygen

changelog
CI/CD
- integrate the parts above using github actions
- 🔲 release artifacts to github
reference
TODO
- ✅ Draw flow chart excalidraw
- 🔲 Post diagram
