build with externals #19

Merged
qurious-pixel merged 2 commits from patch-4 into main 2021-05-13 11:47:46 +02:00
Showing only changes of commit 3530fd224f - Show all commits

View file

@ -7,22 +7,13 @@ title="yuzu Early Access $ver"
ln -s /home/yuzu/.conan /root
#SDL-2.0.15-14858.tar.gz
mkdir SDL2 && cd SDL2
curl -sLO http://libsdl.org/tmp/SDL-2.0.15-14858.tar.gz
tar -xzf SDL-2.0.15-14858.tar.gz
cd SDL-2.0.15-14858
./configure --prefix=/usr
make && make install
cd ../../
yuzupatch=( $(ls -d patches/* ) )
for i in "${yuzupatch[@]}"; do patch -p1 < "$i"; done
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror$/-W/g' {} +
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*)$/ )/g' {} +
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*$/ /g' {} +
find . -name "CMakeLists.txt" -exec sed -i 's/-Werror/-W/g' {} +
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror$/-W/g' {} +
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror=.*)$/ )/g' {} +
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror=.*$/ /g' {} +
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/-Werror/-W/g' {} +
mkdir build && cd build