RetroQUEST/build_gdlibretro.sh

14 lines
510 B
Bash
Raw Normal View History

2024-12-13 03:19:48 +00:00
#!/bin/bash
2024-12-18 07:07:14 +00:00
# TODO: create a proer fork of the gdlibretro when ready and ask for a PR
# Disabled as now we are editing our own "fork"of libretro
#git clone https://github.com/gabrielmedici/gdlibretro
2024-12-13 03:19:48 +00:00
cd gdlibretro
2024-12-18 06:48:50 +00:00
git submodule update --init --recursive && \
cmake -DNO_GIT_REVISION=ON -DCMAKE_BUILD_TYPE=Debug -DLINUX=true -DCMAKE_CXX_FLAGS="-DLINUX" . && \
cmake --build . && \
cd - && \
mv -fv "gdlibretro/LibRetroHost/lib/Linux-x86_64/libLibRetroHost-d.so" "addons" && \
rm -rf "gdlibretro/LibRetroHost"