summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3a8c2ba8e..af030cdcf 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,11 @@ Usage instructions for each are below.
```
$ ./build.sh
```
+or
+```
+cmake && make
+```
+Note that you can also use `ninja` as your generator: `cmake -G ninja && ninja`.
* `binaryen-shell` and `asm2wasm` require a C++11 compiler.
* If you also want to compile C/C++ to WebAssembly (and not just asm.js to WebAssembly), you'll need Emscripten. You'll need the `incoming` branch there (which you can get via [the SDK](http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html)).