Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit e36340d

Browse files
Merge pull request #246 from apiraino/update-readme
Update README
2 parents 3a49c96 + 73f190e commit e36340d

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,26 @@ A few gtk-rs examples. To build, just do:
66
> cargo build
77
```
88

9-
or to enable GTK 3.10 examples as well:
9+
or to enable GTK 3.x depending on the version needed by the example (check Cargo.toml `[features]` to see all specific GTK compile features available):
1010

1111
```Shell
12-
> cargo build --features gtk_3_10
12+
> cargo build --features gtk_3_18
13+
> cargo build --all-features
1314
```
1415

15-
And then run the executables. Please be sure to have installed all the required libraries before building examples (the list is available on [gtk](https://github.com/gtk-rs/gtk/).
16+
And then run the executables with:
17+
18+
``` Shell
19+
./target/debug/EXAMPLE-NAME
20+
```
21+
22+
or with cargo run (repeating the compilation features used above), example:
23+
24+
``` Shell
25+
cargo run --all-features --bin EXAMPLE-NAME
26+
```
27+
28+
Please be sure to have installed all the required libraries before building examples (the list is available on the [gtk-rs](https://github.com/gtk-rs/gtk/) repository).
1629

1730
## LICENSE
1831
The gtk-rs examples repository is licensed under the MIT license, please refer to the LICENSE and COPYRIGHT files for more information.

0 commit comments

Comments
 (0)