mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-24 00:03:02 +00:00
80bdb44ead
We don't need to depend on a custom fork for this. We can add the library as is, and then make it excluded from the ALL target, so we only link in the libraries that we actually make use of.
15 lines
533 B
Bash
15 lines
533 B
Bash
#!/bin/bash -ex
|
|
|
|
cd /yuzu
|
|
|
|
ccache -s
|
|
|
|
mkdir build || true && cd build
|
|
cmake .. -G Ninja -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
|
|
|
|
ninja
|
|
|
|
ccache -s
|
|
|
|
# Ignore zlib's tests, since they aren't gated behind a CMake option.
|
|
ctest -VV -E "(example|example64)" -C Release
|