Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gloryofnight/cpp-cmake-template
Template for your C++ project using CMake and LLVM
https://github.com/gloryofnight/cpp-cmake-template
c cmake cpp cpp-templates llvm ninja-build
Last synced: 28 days ago
JSON representation
Template for your C++ project using CMake and LLVM
- Host: GitHub
- URL: https://github.com/gloryofnight/cpp-cmake-template
- Owner: GloryOfNight
- Created: 2024-12-26T09:51:50.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-26T20:12:19.000Z (30 days ago)
- Last Synced: 2024-12-26T21:19:15.502Z (30 days ago)
- Topics: c, cmake, cpp, cpp-templates, llvm, ninja-build
- Language: CMake
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> [!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](https://github.com/llvm/llvm-project/releases). While installing make sure to set PATHs.
2. Install [CMake](https://cmake.org/download/). While installing make sure to set PATHs.
3. Install [Ninja](https://github.com/ninja-build/ninja/releases). 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
```
# MacThis template doesn't not support Mac, you would need to modify [CMakePresets.json](CMakePresets.json) in order to support it. PRs are welcome.