A simple and modern C++ project template using Ninja, Clang and Visual Studio Code.
- Linux/Debian:
./bin/install.sh- Windows:
./bin/install.ps1./bin/valgrind.sh
This template provides a ready-to-use development environment for C++ projects on Debian-based Linux systems (including WSL), with a focus on modern tooling.
- The compiler toolchain is provided by the CLANG, LLVM, LLDB, Ninja,
- The editor/debugger support is provided by Visual Studio Code with the extensions: CLANGD, LLDB DAP
- Build System: A straightforward
Ninjafor compiling your project. - Compiler: Configured to use the clang C++ compiler.
- Toolchain: Automated installation of the complete LLVM/Clang toolchain (version 21), including:
clangdfor language server support (autocompletion, diagnostics).lldbandlldb-dapfor powerful debugging.clang-formatandclang-tidyfor code formatting and static analysis.
- VS Code Integration:
- Recommended extensions for a seamless C++ development experience.
- Pre-configured
buildtask. - Pre-configured
testtask. - Pre-configured
debuglaunch configuration.
- 17-10-2025: Added valgrind support.
- 25-09-2025: Initial project setup with C/C++ sources and VS Code configuration.