summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2016-01-04 10:36:48 -0800
committerJF Bastien <github@jfbastien.com>2016-01-04 10:36:48 -0800
commit2410eccb2a4bc7bbda87b299a6cd6fc434c77c01 (patch)
tree7c6f2dc24dd2015d8c78634b3fe08b39a7980f0a
parent0a85cbe347f410df8d9e88fe1122450914ddfadf (diff)
parent6f21a0a07e6ec8e326a49cdbe2af08ca06f79cda (diff)
downloadbinaryen-2410eccb2a4bc7bbda87b299a6cd6fc434c77c01.tar.gz
binaryen-2410eccb2a4bc7bbda87b299a6cd6fc434c77c01.tar.bz2
binaryen-2410eccb2a4bc7bbda87b299a6cd6fc434c77c01.zip
Merge pull request #59 from WebAssembly/jfbastien-patch-1
README: mention cmake build
-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)).