kalwalt / webarkit-jsfeat-cpp

c++ jsfeat version
GNU Lesser General Public License v2.1
6 stars 3 forks source link

ES6 support and new build script #9

Closed kalwalt closed 2 years ago

kalwalt commented 2 years ago

Topic started here #8 I will also develop a new build script. I'm thinking to switch to a Makefile instead of the simple shell script (build.sh).

At the end i preferred to use Cmake as a build configuration. Even i can not test now it should be cross platform and let the user build in the preferred OS. I have added Grayscale_m function in the post_bindings.api.js and a minimal example for it. I used now emsdk (emscripten) 3.1.20 before i was using 3.1.9.

Instructions

To build the project just run the build script (build.sh) in a terminal with the command: ./build.sh emscripten and the two libs will be builded. Instead if you want to clean the builds: ./build.sh --clean-em