mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-28 01:52:29 -06:00
e24e2a8f8b
* ccache: rename option as not to conflict with submodules * MinGWCross: fix alignment
10 lines
519 B
Bash
10 lines
519 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 -DCITRA_USE_BUNDLED_QT=1 -DCITRA_USE_BUNDLED_SDL2=1 -DCITRA_ENABLE_COMPATIBILITY_REPORTING=${COMPAT} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_MF=ON -DENABLE_FFMPEG_VIDEO_DUMPER=ON
|
|
|
|
ninja
|
|
# show the caching efficiency
|
|
buildcache -s
|
|
|
|
ctest -VV -C Release || echo "::error ::Test error occurred on Windows MSVC build"
|