Static-link to SDL2

This small build configuration helps setting LLDB into Rust, as well as to release a compiled released version of the code.
This commit is contained in:
Marcus Vinicius de Carvalho 2021-07-24 23:17:16 +08:00
parent 3d694139f1
commit 5bf025439c
4 changed files with 14 additions and 8 deletions

6
.gitignore vendored
View File

@ -1,5 +1,7 @@
/target /target
/.vscode
Cargo.lock Cargo.lock
/src/SDL2.dll *.sch8
/src/chip_8/roms *.ch8
*.dll

View File

@ -6,8 +6,13 @@ 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
[dependencies] [dependencies]
# crossterm = "0.19" rand = "0.8.4"
# tui = { version = "0.15", default-features = false, features = ['crossterm'] } vulkano = "0.24.0"
# druid = "0.7.0"
sdl2 = "0.34.5" [dependencies.sdl2]
rand = "0.8.4" version = "0.34.5"
features = ["bundled", "static-link"]
[dependencies.gl]
git = "https://github.com/bjz/gl-rs"

Binary file not shown.

View File

@ -2,5 +2,4 @@ mod chip_8;
fn main() { fn main() {
chip_8::chip_8_base_interpreter::run(); chip_8::chip_8_base_interpreter::run();
// println!("Hello Chip-8!");
} }