You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 8, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,26 @@ A few gtk-rs examples. To build, just do:
6
6
> cargo build
7
7
```
8
8
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):
10
10
11
11
```Shell
12
-
> cargo build --features gtk_3_10
12
+
> cargo build --features gtk_3_18
13
+
> cargo build --all-features
13
14
```
14
15
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).
16
29
17
30
## LICENSE
18
31
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