Skip to content

Commit 42a993d

Browse files
codebyterecjihrig
authored andcommitted
docs: add build instructions
1 parent 3eac479 commit 42a993d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
`uvwasi` implements the [WASI][] system call API. Under the hood, `uvwasi`
44
leverages [libuv][] where possible for maximum portability.
55

6+
## Building Locally
7+
8+
To build with [CMake](https://cmake.org/):
9+
10+
```sh
11+
$ mkdir -p out/cmake ; cd out/cmake # create build directory
12+
$ cmake ../.. -DBUILD_TESTING=ON # generate project with test
13+
$ cmake --build . # build
14+
$ ctest -C Debug --output-on-failure # run tests
15+
```
16+
617
## Example Usage
718

819
```c

0 commit comments

Comments
 (0)