Skip to content

Commit

Permalink
[General] Got cmake working
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ayeke authored and David Ayeke committed Jun 7, 2019
1 parent 3f64653 commit 4573467
Show file tree
Hide file tree
Showing 9 changed files with 3,415 additions and 934 deletions.
5 changes: 4 additions & 1 deletion raylib-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ keywords = ["bindings", "raylib", "gamedev", "ffi"]
categories = ["external-ffi-bindings"]
edition = "2018"

[dependencies]
[build-dependencies]
tar = "0.4"
flate2 = "0.2"
cmake = "0.1.35"
4 changes: 3 additions & 1 deletion raylib-sys/GENERATING_BINDINGS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Bindings were generated with rust_bindgen with rustified enums using c11

Ex for osx
bindgen raylib.h -o bindings_osx.rs --rustified-enum .+ -- --target=x86_64-apple-darwin -std=c11
bindgen raylib.h -o bindings_osx.rs --rustified-enum .+ -- --target=x86_64-apple-darwin -std=c11

web is copied directly from linux
637 changes: 350 additions & 287 deletions raylib-sys/bindings_linux.rs

Large diffs are not rendered by default.

Loading

0 comments on commit 4573467

Please sign in to comment.