Building
QuickJS uses CMake as its main build system, with an additional helper Makefile.
note
Windows users will need to run the CMake commands manually.
Getting the source
git clone https://github.com/quickjs-ng/quickjs.git
cd quickjs
Compiling everything
make
This will build the qjs
and qjsc
executables and other test tools. Head over here for
instructions on how to use them.
Debug builds
make debug
This will produce a debug build without optimizations, suitable for developers.
Running test262
make test262
This will run the test262 suite.
make test262-update
This will run the test262 suite and update the error / pass report, useful after implementing a new feature that would alter the result of the test suite.