Skip to content

linem-davton/cpp-project-template

Repository files navigation

C++ Project Template

Modern, minimal C++ project template with:

  • CMake (with presets)
  • GoogleTest and Google Benchmark support
  • Heaptrack, lcov for profiling and coverage
  • clang-format and clang-tidy
  • .gitignore for clean versioning

🔧 Getting Started

git clone https://github.com/linem-davton/cpp-project-template.git myproject
cd myproject
rm -rf .git
git init
git add .
git commit -m "Initial commit"

📦 Dependencies

Install project dependencies using the provided script:

./scripts/install-dependencies.sh

🛠️ Build and Test

./scripts/build_all.sh debug # or release, default builds all configurations
./scripts/test_all.sh # tests all configurations

About

Resuable starting point for C++ projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published