Add Meson build setup to README.md

This commit is contained in:
Calvin Rose 2019-03-22 18:47:16 -04:00
parent 98758b68ab
commit b47c48b59a
1 changed files with 8 additions and 0 deletions

View File

@ -165,6 +165,8 @@ or [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-down
3. Run `build_win` to compile janet.
4. Run `build_win test` to make sure everything is working.
Alternatively, you can try the Meson build system setup.
### Emscripten
To build janet for the web via [Emscripten](https://kripken.github.io/emscripten-site/), make sure you
@ -174,6 +176,12 @@ The JavaScript build is what runs the repl on the main website,
but really serves mainly as a proof of concept. Janet will run slower in a browser.
Building with emscripten on windows is currently unsupported.
## Meson
Janet also has a build file for [Meson](https://mesonbuild.com/), a cross platform build
system. This is not currently the main supported build system, but should work on any
system that supports meson.
## Examples
See the examples directory for some example janet code.