mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
Move examples under imgui-glium-renderer
This avoids a cyclical dependency
This commit is contained in:
parent
9662712148
commit
0d25b22804
@ -11,7 +11,3 @@ categories = ["gui", "api-bindings"]
|
||||
|
||||
[dependencies]
|
||||
imgui-sys = { version = "0.0.13-pre", path = "imgui-sys" }
|
||||
|
||||
[dev-dependencies]
|
||||
glium = "0.16"
|
||||
imgui-glium-renderer = { version = "0.0.13-pre", path = "imgui-glium-renderer" }
|
||||
|
||||
@ -45,9 +45,12 @@ ui.window(im_str!("Hello world"))
|
||||
|
||||
## Compiling and running the demos
|
||||
|
||||
Examples are under the imgui-glium-renderer directory.
|
||||
|
||||
git clone https://github.com/Gekkio/imgui-rs
|
||||
cd imgui-rs
|
||||
git submodule update --init --recursive
|
||||
cd imgui-glium-renderer
|
||||
cargo test
|
||||
|
||||
cargo run --example hello_world
|
||||
|
||||
@ -12,3 +12,6 @@ categories = ["gui", "rendering"]
|
||||
glium = { version = "0.16", default-features = false }
|
||||
imgui = { version = "0.0.13-pre", path = "../" }
|
||||
imgui-sys = { version = "0.0.13-pre", path = "../imgui-sys", features = ["glium"] }
|
||||
|
||||
[dev-dependencies]
|
||||
glium = { version = "0.16", default-features = true }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user