mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 23:25:50 +03:00
27 lines
390 B
Bash
Executable File
27 lines
390 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ x"$1" == x ]; then
|
|
echo missing build type, give win32 or win64
|
|
exit 1
|
|
fi
|
|
|
|
TOP="$PWD"
|
|
TYPE="$1"
|
|
|
|
cd "$TOP"/dxvk
|
|
|
|
meson --prefix="$TOP"/dxvk/dist.$TYPE --cross-file build-$TYPE.txt build.$TYPE
|
|
|
|
cd build.$TYPE
|
|
|
|
meson configure -Dprefix="$TOP"/dxvk
|
|
meson configure -Dbuildtype=release
|
|
|
|
ninja
|
|
ninja install
|
|
|
|
#mark as built
|
|
touch "$TOP"/dxvk/proton.$TYPE.built
|