From 18325312de292f211cad9232d9456df8500b4afc Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Mon, 11 Mar 2024 03:13:58 +1100 Subject: [PATCH] update README --- README.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c99d295..62fd612 100644 --- a/README.md +++ b/README.md @@ -5,23 +5,20 @@ Playground for different analogue stick setups written with SDL2 for graphics an ### Building ### Requirements: - C99 compiler -- SDL 2.x -- CMake 3.1 or higher +- SDL 3.0.0 +- 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: - `BUILD_OPENGL_LEGACY` OpenGL Compatibility profile 1.1 (default ON) - `BUILD_OPENGL` OpenGL Core profile 3.3 (WIP) - `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: ```shell -cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo +cmake -GNinja -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_OPENGL:BOOL=ON cmake --build build ```