mirror of
https://github.com/janet-lang/janet
synced 2025-05-05 00:44:14 +00:00
Add Meson build setup to README.md
This commit is contained in:
parent
98758b68ab
commit
b47c48b59a
@ -165,6 +165,8 @@ or [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-down
|
|||||||
3. Run `build_win` to compile janet.
|
3. Run `build_win` to compile janet.
|
||||||
4. Run `build_win test` to make sure everything is working.
|
4. Run `build_win test` to make sure everything is working.
|
||||||
|
|
||||||
|
Alternatively, you can try the Meson build system setup.
|
||||||
|
|
||||||
### Emscripten
|
### Emscripten
|
||||||
|
|
||||||
To build janet for the web via [Emscripten](https://kripken.github.io/emscripten-site/), make sure you
|
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.
|
but really serves mainly as a proof of concept. Janet will run slower in a browser.
|
||||||
Building with emscripten on windows is currently unsupported.
|
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
|
## Examples
|
||||||
|
|
||||||
See the examples directory for some example janet code.
|
See the examples directory for some example janet code.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user