ceifa / wasmoon

A real lua 5.4 VM with JS bindings made with webassembly
MIT License
462 stars 27 forks source link

Add emcc CMake build #59

Closed nevermoreluo closed 1 year ago

nevermoreluo commented 1 year ago

Add CMakeLists.txt and build method in package.json

ceifa commented 1 year ago

What is the advantage of having a CMakeLists.txt?

nevermoreluo commented 1 year ago

Never mind, just another build option, in case build.sh grow bigger. If it is not necessary to add one, you can close this, sorry. :)

Before read this project, I have made cmake build for lua wasm, perhaps I should ask needed before made pull request.

ceifa commented 1 year ago

Actually I liked it, mostly because you made it run on docker. It can be an alternative to make the build also possible on windows. I will take a deeper look later.