Merge pull request #199 from JoshLambda/update_readme_examples

Update examples paths in README
This commit is contained in:
Joonas Javanainen 2019-01-26 23:35:34 +02:00 committed by GitHub
commit a7877ce7b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,14 +51,24 @@ ui.window(im_str!("Hello world"))
## Compiling and running the demos
Examples are under the imgui-examples directory.
git clone https://github.com/Gekkio/imgui-rs
cd imgui-rs
git submodule update --init --recursive
Examples for gfx backend are under the imgui-examples directory.
cd imgui-examples
cargo test
cargo run --example hello_gfx
Examples for glium backend are located into the imgui-glium-examples directory.
# At the reposity root
cd imgui-glium-examples
cargo test
cargo run --example hello_world
cargo run --example test_window
cargo run --example test_window_impl