Skip to content

Commit 86bf7d0

Browse files
committed
Merge pull request #386 from bjz/comment
Add comment about submodules in README
2 parents 1dac7e9 + 228c0d4 commit 86bf7d0

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,14 @@ The Khronos XML API Registry, exposed as byte string constants.
3838
[build-dependencies]
3939
khronos_api = "1.0.0"
4040
```
41+
42+
## Compiling from source
43+
44+
`khronos_api` uses a git submodule. You will need to initialize it before building:
45+
46+
```sh
47+
git submodule update --init
48+
```
49+
50+
A batch cargo script is provided at `bin/cargo`. [See the script](https://github.com/bjz/gl-rs/blob/master/bin/cargo)
51+
for some example usages.

0 commit comments

Comments
 (0)