https://github.com/xmake-examples/raylib-scaffold
A minimal raylib project template
https://github.com/xmake-examples/raylib-scaffold
raylib template xmake
Last synced: about 1 year ago
JSON representation
A minimal raylib project template
- Host: GitHub
- URL: https://github.com/xmake-examples/raylib-scaffold
- Owner: xmake-examples
- Created: 2020-12-30T08:07:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-31T14:11:01.000Z (about 4 years ago)
- Last Synced: 2024-10-24T13:58:45.186Z (over 1 year ago)
- Topics: raylib, template, xmake
- Language: C++
- Homepage:
- Size: 52.7 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌱 Raylib Scaffold
A minimal raylib project template
## 🦄 Usage
Simply click the button below to get started:
[](https://github.com/xmake-examples/raylib-scaffold/generate)
## 🔨 Development
### 📋 Requirements
To setup and use the project you will need to have the following tools installed:
- [Xmake](https://xmake.io/)
### ⬇️ Installation
Clone the repository
```bash
$ git clone https://github.com/xmake-examples/raylib-scaffold.git
```
Change the working directory to the newly cloned repository:
```bash
$ cd raylib-scaffold
```
Run xmake to install the dependencies & build the project:
```bash
$ xmake
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> raylib 4.0.0
please input: y (y/n/m)
=> download https://github.com/raysan5/raylib/releases/download/4.0.0/raylib-4.0.0_macos.tar.gz .. ok
=> install raylib 4.0.0 .. ok
[ 25%]: ccache compiling.release src/main.cpp
[ 50%]: linking.release raylib-scaffold
[100%]: build ok!
```
Run the project after it has been built:
```bash
$ xmake run
```
