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 02495e1f98
3 changed files with 14 additions and 8 deletions

6
.gitignore vendored
View File

@ -1,5 +1,7 @@
/target
/.vscode
Cargo.lock
/src/SDL2.dll
/src/chip_8/roms
*.sch8
*.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
[dependencies]
# crossterm = "0.19"
# tui = { version = "0.15", default-features = false, features = ['crossterm'] }
# druid = "0.7.0"
sdl2 = "0.34.5"
rand = "0.8.4"
vulkano = "0.24.0"
[dependencies.sdl2]
version = "0.34.5"
features = ["bundled", "static-link"]
[dependencies.gl]
git = "https://github.com/bjz/gl-rs"

View File

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