Skip to content

Template for your C++ project using CMake and LLVM

Notifications You must be signed in to change notification settings

GloryOfNight/cpp-cmake-template

Repository files navigation

Note

This template for your C++ projects, using: CMake, clang, msvc or ninja

Make sure you have dependencies on your system and if not, you can find help below.

Windows

  1. Install LLVM. While installing make sure to set PATHs.
  2. Install CMake. While installing make sure to set PATHs.
  3. (optional) Install Ninja. Just place .exe in CMake/bin folder.

Linux

Using package manager your linux distro came with, install following packages:

sudo apt install clang
sudo apt install cmake
sudo apt install ninja-build

Mac

This template doesn't not support Mac, you would need to modify CMakePresets.json in order to support it. PRs are welcome.

About

Template for your C++ project using CMake and LLVM

Topics

Resources

Stars

Watchers

Forks