mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-21 02:07:15 +00:00
347b50ad43
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
15 lines
486 B
Bash
Executable file
15 lines
486 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
cd /yuzu
|
|
|
|
ccache -s
|
|
|
|
mkdir build || true && cd build
|
|
cmake .. -G Ninja -DDISPLAY_VERSION=$1 -DYUZU_USE_BUNDLED_UNICORN=ON -DYUZU_USE_QT_WEB_ENGINE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON
|
|
|
|
ninja
|
|
|
|
ccache -s
|
|
|
|
ctest -VV -C Release
|