The Gepard-JS is a JavaScript binding of the Gepard library on top of the JerryScript engine.
The Gepard-JS requires the Gepard library and the JerryScript library.
The GEPARD_INSTALL_DIR
and JERRYSCRIPT_INSTALL_DIR
need to be set to their corresponding directories.
Example commands are shown below.
cmake -Bbuild -H. -DGEPARD_INSTALL_DIR=../gepard/build/ -DJERRYSCRIPT_INSTALL_DIR=../jerryscript-install/
make -C build
The gepardJSApp
is a simple executable which runs the JavaScript file passed as an argument.
build/bin/gepardJSApp examples/fill-rect.js