mirror of
https://github.com/GayPizzaSpecifications/padlab.git
synced 2025-08-03 05:10:56 +00:00
update README
This commit is contained in:
parent
c9e42f1206
commit
18325312de
17
README.md
17
README.md
@ -5,23 +5,20 @@ Playground for different analogue stick setups written with SDL2 for graphics an
|
|||||||
### Building ###
|
### Building ###
|
||||||
Requirements:
|
Requirements:
|
||||||
- C99 compiler
|
- C99 compiler
|
||||||
- SDL 2.x
|
- SDL 3.0.0
|
||||||
- CMake 3.1 or higher
|
- CMake 3.5 or higher
|
||||||
|
|
||||||
|
Optional:
|
||||||
|
- Python 3 (Only when building OpenGL Core profile or Metal backends)
|
||||||
|
- Fruit device (Only for Metal backend)
|
||||||
|
|
||||||
Available backends are:
|
Available backends are:
|
||||||
- `BUILD_OPENGL_LEGACY` OpenGL Compatibility profile 1.1 (default ON)
|
- `BUILD_OPENGL_LEGACY` OpenGL Compatibility profile 1.1 (default ON)
|
||||||
- `BUILD_OPENGL` OpenGL Core profile 3.3 (WIP)
|
- `BUILD_OPENGL` OpenGL Core profile 3.3 (WIP)
|
||||||
- `BUILD_METAL` Fruit renderer (WIP, ON by default for APPLE)
|
- `BUILD_METAL` Fruit renderer (WIP, ON by default for APPLE)
|
||||||
|
|
||||||
OpenGL Core profile backend requires:
|
|
||||||
- Python 3
|
|
||||||
|
|
||||||
Metal backend requires:
|
|
||||||
- Fruit device
|
|
||||||
- Python 3
|
|
||||||
|
|
||||||
For *nix:
|
For *nix:
|
||||||
```shell
|
```shell
|
||||||
cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
cmake -GNinja -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_OPENGL:BOOL=ON
|
||||||
cmake --build build
|
cmake --build build
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user