RetroQUEST/build_gdlibretro.sh

14 lines
510 B
Bash
Executable file

#!/bin/bash
# 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
cd gdlibretro
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"