Skip to content

default-writer/c-clang-ninja-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c clang ninja template

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.

Credits

Features

  • Build System: A straightforward Ninja for compiling your project.
  • Compiler: Configured to use the clang C++ compiler.
  • Toolchain: Automated installation of the complete LLVM/Clang toolchain (version 21), including:
    • clangd for language server support (autocompletion, diagnostics).
    • lldb and lldb-dap for powerful debugging.
    • clang-format and clang-tidy for code formatting and static analysis.
  • VS Code Integration:
    • Recommended extensions for a seamless C++ development experience.
    • Pre-configured build task.
    • Pre-configured debug launch configuration.

Environment Setup

  • Linux/Debian:
./bin/install.sh
  • Windows:
./bin/install.ps1

Editors

Extensions

History

  • 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.

About This README

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:

About

c clang ninja template

Topics

Resources

Stars

Watchers

Forks