diff --git a/.gitignore b/.gitignore index 405227c..37a89c0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ compile_commands.json main *.png raylib +raylib-build diff --git a/rlbuild b/rlbuild new file mode 100755 index 0000000..08ea3ba --- /dev/null +++ b/rlbuild @@ -0,0 +1,5 @@ +#!/bin/bash + +cmake -S raylib-src -B raylib-build -DCMAKE_INSTALL_PREFIX=raylib -DCMAKE_CONFIGURATION_TYPES=Release -DBUILD_SHARED_LIBS=ON -G "Ninja Multi-Config" +cmake --build raylib-build --config=Release +cmake --install raylib-build --config=Release