mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
debug mode build
This commit is contained in:
parent
c3da877c14
commit
819d86cfbf
|
@ -6,6 +6,9 @@ edition = "2018"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
debug = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
regex = "1"
|
regex = "1"
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
|
|
|
@ -31,6 +31,7 @@ cmake .. \
|
||||||
-DUSE_LZMA=OFF \
|
-DUSE_LZMA=OFF \
|
||||||
-DUSE_DISCORD_RPC=OFF \
|
-DUSE_DISCORD_RPC=OFF \
|
||||||
-DENABLE_SCRIPTING=OFF \
|
-DENABLE_SCRIPTING=OFF \
|
||||||
|
-DCMAKE_BUILD_TYPE=Debug \
|
||||||
-DUSE_EPOXY=OFF
|
-DUSE_EPOXY=OFF
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ fn main() {
|
||||||
.file("c/test-runner.c")
|
.file("c/test-runner.c")
|
||||||
.include(&mgba_directory.join("include"))
|
.include(&mgba_directory.join("include"))
|
||||||
.static_flag(true)
|
.static_flag(true)
|
||||||
|
.debug(true)
|
||||||
.compile("test-runner");
|
.compile("test-runner");
|
||||||
|
|
||||||
let bindings = bindgen::Builder::default()
|
let bindings = bindgen::Builder::default()
|
||||||
|
|
Loading…
Reference in a new issue