/cpp-cmake-template

Template for your C++ project using CMake and LLVM

Primary LanguageCMake

Note

This template for your C++ projects, using: CMake, clang, ninja-build (cmake generator)

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