A simple and modern C++ project template using Ninja, Clang and Visual Studio Code.
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.
- This project template and its documentation were created with the help of Gemini Code Assist.
- 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
debuglaunch configuration.
- Linux/Debian:
./bin/install.sh- Windows:
./bin/install.ps1- 22-09-2025: Switched to CLANG, LLVM, LLDB toolchain.
- 21-09-2025: Added cross-platform build support in VS Code for Windows (
nmake), Linux, and macOS (make). - 20-09-2025: Initial project setup with C/C++ source, Linux Makefile, and VS Code configuration.
This README.md file was generated by Gemini Code Assist.
Gemini is a powerful AI assistant that can help you with coding, writing, and much more. To learn more about Gemini and how you can use it in your own projects, check out the links below:
- Gemini: The main web interface for Gemini.
- Gemini Code Assist: Coding assistance powered by Gemini.
- Gemini on Google Cloud: Learn how to use the Gemini models via the API and
gcloudCLI. - Google AI for Developers: Find documentation, tutorials, and SDKs for the Gemini API.