Skip to content

Commit 45a9041

Browse files
authored
Document amalgamated build on building page (#935)
1 parent e29a713 commit 45a9041

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/docs/building.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ make
2626
This will build the `qjs` and `qjsc` executables and other test tools. Head over [here](./cli) for
2727
instructions on how to use them.
2828

29+
## Amalgamated builds
30+
31+
The amalgamated build rolls individual source files into a single big file.
32+
It's a good choice for projects that want to use QuickJS without CMake.
33+
34+
Download quickjs-amalgam.zip from https://github.com/quickjs-ng/quickjs/releases
35+
36+
To enable the std, os and bjson modules, compile quickjs-amalgam.c with
37+
`-DQJS_BUILD_LIBC`.
38+
2939
## Debug builds
3040

3141
```bash

0 commit comments

Comments
 (0)