mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 23:30:07 +00:00
21 lines
602 B
Bash
21 lines
602 B
Bash
#!/bin/sh -ex
|
|
|
|
mkdir build && cd build
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-G Ninja \
|
|
-DCMAKE_TOOLCHAIN_FILE="$(pwd)/../CMakeModules/MSVCCache.cmake" \
|
|
-DCITRA_USE_CCACHE=ON \
|
|
-DENABLE_QT_TRANSLATION=ON \
|
|
-DCITRA_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} \
|
|
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
|
-DUSE_DISCORD_PRESENCE=ON \
|
|
-DENABLE_MF=ON \
|
|
-DOPENSSL_DLL_DIR="C:\Program Files\OpenSSL\bin"
|
|
|
|
ninja
|
|
# show the caching efficiency
|
|
buildcache -s
|
|
|
|
ctest -VV -C Release || echo "::error ::Test error occurred on Windows MSVC build"
|