2020-11-12 10:51:35 +05:30
|
|
|
#!/bin/sh -ex
|
|
|
|
|
|
|
|
mkdir build && cd build
|
2022-11-20 01:52:10 +05:30
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-G Ninja \
|
|
|
|
-DCMAKE_TOOLCHAIN_FILE="$(pwd)/../CMakeModules/MSVCCache.cmake" \
|
|
|
|
-DCITRA_USE_CCACHE=ON \
|
|
|
|
-DCITRA_USE_BUNDLED_QT=1 \
|
|
|
|
-DENABLE_QT_TRANSLATION=OFF \
|
|
|
|
-DCITRA_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} \
|
|
|
|
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
|
|
|
-DUSE_DISCORD_PRESENCE=ON \
|
|
|
|
-DENABLE_MF=ON \
|
|
|
|
-DENABLE_FFMPEG_VIDEO_DUMPER=ON
|
2020-11-12 10:51:35 +05:30
|
|
|
|
|
|
|
ninja
|
|
|
|
# show the caching efficiency
|
|
|
|
buildcache -s
|
|
|
|
|
|
|
|
ctest -VV -C Release || echo "::error ::Test error occurred on Windows MSVC build"
|