https://github.com/jochumdev/theforgecmaketemplate
Template to build an app which is using TheForge with CMake
https://github.com/jochumdev/theforgecmaketemplate
Last synced: 2 months ago
JSON representation
Template to build an app which is using TheForge with CMake
- Host: GitHub
- URL: https://github.com/jochumdev/theforgecmaketemplate
- Owner: jochumdev
- Created: 2023-01-28T18:43:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T17:23:58.000Z (over 3 years ago)
- Last Synced: 2025-03-06T17:17:57.276Z (over 1 year ago)
- Language: C++
- Size: 3.28 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Template for project's using The Forge with CMake
This is a basic template for compiling [The Forge](https://github.com/ConfettiFX/The-Forge) with [CMake](https://cmake.org/).
## Usage (presets)
Build with all examples (the download of "Art.zip" might take ages):
```bash
cmake --preset debug-clang-examples && cmake --build --preset debug-clang-examples
```
Build no examples:
```bash
cmake --preset debug-clang && cmake --build --preset debug-clang
```
## Usage (no presets)
Build with all examples (the download of "Art.zip" might take ages):
```bash
mkdir build; cd build
CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DFORGE_BUILD_EXAMPLES=ON -G Ninja ..; cmake --build .
```
Build no examples:
```bash
mkdir build; cd build
CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -G Ninja ..; cmake --build .
```
## Authors
- [René Jochum](https://github.com/jochumdev)
## License
This Template is MIT Licensed.