summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2016-01-03 18:00:07 -0800
committerJF Bastien <github@jfbastien.com>2016-01-03 18:00:07 -0800
commit0c0afc1a2960972fc7aa24cfb85289ead5b3441d (patch)
tree8ed41970cf56a2733cd9b65a3779325eec0443cf
parent0a85cbe347f410df8d9e88fe1122450914ddfadf (diff)
downloadbinaryen-0c0afc1a2960972fc7aa24cfb85289ead5b3441d.tar.gz
binaryen-0c0afc1a2960972fc7aa24cfb85289ead5b3441d.tar.bz2
binaryen-0c0afc1a2960972fc7aa24cfb85289ead5b3441d.zip
README: mention cmake build
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3a8c2ba8e..824e28f56 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,10 @@ Usage instructions for each are below.
```
$ ./build.sh
```
+or
+```
+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)).