https://github.com/doccaico/study-raylib-c-with-cmake
Yet Yet Another : ... :
https://github.com/doccaico/study-raylib-c-with-cmake
c raylib
Last synced: 12 months ago
JSON representation
Yet Yet Another : ... :
- Host: GitHub
- URL: https://github.com/doccaico/study-raylib-c-with-cmake
- Owner: doccaico
- Created: 2025-06-10T06:24:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-10T10:00:05.000Z (about 1 year ago)
- Last Synced: 2025-06-10T10:46:32.849Z (about 1 year ago)
- Topics: c, raylib
- Language: C
- Homepage:
- Size: 2.53 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## study-raylib-c-with-cmake (Windows only)
### Build Requirements
- MSVC
- cmake
- ninja
### Debug Build
```sh
$ cmake -S . -B build/debug -GNinja -DCMAKE_BUILD_TYPE=Debug
# Build lifegame
$ cmake --build build/debug --config Debug -- lifegame
# Build flappy
# $ cmake --build build/debug --config Debug -- flappy
# Run lifegame
$ build\debug\lifegame\lifegame.exe
# Run flappy
# $ pushd build\debug\flappy && flappy.exe && popd
```
### Release Build
```sh
$ cmake -S . -B build/release -GNinja -DCMAKE_BUILD_TYPE=Release
# Build lifegame
$ cmake --build build/release --config Release -- lifegame
# Build flappy
# $ cmake --build build/release --config Release -- flappy
# Run
$ build\release\lifegame\lifegame.exe
```
### Using Library
- [raylib](https://github.com/raysan5/raylib)
- [yac](https://github.com/doccaico/yac)