ceifa / wasmoon

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

Add emcc CMake build #59

Closed nevermoreluo closed 2 years ago

nevermoreluo commented 2 years ago

Add CMakeLists.txt and build method in package.json

ceifa commented 2 years ago

What is the advantage of having a CMakeLists.txt?

nevermoreluo commented 2 years 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 2 years 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.