mirror of
https://github.com/italicsjenga/agb.git
synced 2025-02-02 12:36:35 +11:00
disable most of everything else
This commit is contained in:
parent
08655ea9ee
commit
df93af002b
2 changed files with 20 additions and 2 deletions
|
@ -10,7 +10,26 @@ cd mgba-${MGBA_VERSION}
|
|||
rm -rf build
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. -DBUILD_STATIC=ON -DBUILD_SHARED=OFF -DDISABLE_FRONTENDS=ON -DBUILD_GL=OFF -DBUILD_GLES2=OFF -DUSE_DISCORD_RPC=OFF -DUSE_PNG=OFF
|
||||
cmake .. \
|
||||
-DBUILD_STATIC=ON \
|
||||
-DBUILD_SHARED=OFF \
|
||||
-DDISABLE_FRONTENDS=ON \
|
||||
-DBUILD_GL=OFF \
|
||||
-DBUILD_GLES2=OFF \
|
||||
-DUSE_GDB_STUB=OFF \
|
||||
-DUSE_FFMPEG=OFF \
|
||||
-DUSE_ZLIB=OFF \
|
||||
-DUSE_MINIZIP=OFF \
|
||||
-DUSE_PNG=OFF \
|
||||
-DUSE_LIBZIP=OFF \
|
||||
-DUSE_SQLITE3=OFF \
|
||||
-DUSE_ELF=ON \
|
||||
-DM_CORE_GBA=ON \
|
||||
-DM_CORE_GB=OFF \
|
||||
-DUSE_LZMA=OFF \
|
||||
-DUSE_DISCORD_RPC=OFF \
|
||||
-DENABLE_SCRIPTING=OFF \
|
||||
-DUSE_EPOXY=OFF
|
||||
make
|
||||
|
||||
cp libmgba.a ../../libmgba-cycle.a
|
||||
|
|
|
@ -13,7 +13,6 @@ fn main() {
|
|||
.expect("should be able to build mgba");
|
||||
println!("cargo:rustc-link-search={}", out_path.to_str().unwrap());
|
||||
println!("cargo:rustc-link-lib=static={}", "mgba-cycle");
|
||||
println!("cargo:rustc-link-lib=z");
|
||||
println!("cargo:rustc-link-lib=elf");
|
||||
|
||||
cc::Build::new()
|
||||
|
|
Loading…
Add table
Reference in a new issue