prebuild / prebuildify

Create and package prebuilds for native modules
MIT License
194 stars 37 forks source link

Cmake-js support #49

Open aminya opened 3 years ago

aminya commented 3 years ago

prebuild supports cmake-js, but prebuildify does not. It would be good if they both are able to work with cmake-js.

aminya commented 2 years ago

@shahneil yes! Please use cmake-ts https://www.npmjs.com/package/cmake-ts

thegecko commented 9 months ago

I'm interested in this so I can use prebuildify-cross with a cmake-js project. I assume this would be similar to prebuild and just needs the runtime portion extracted? e.g.:

https://github.com/prebuild/prebuild/blob/master/gypbuild.js https://github.com/prebuild/prebuild/blob/master/cmakebuild.js

Julusian commented 9 months ago

@thegecko I have done something different for a cmake-js based project, that uses docker a bit more manually to produce the prebuilds. https://github.com/Julusian/node-jpeg-turbo/blob/main/.github/workflows/node.yaml It will require some adjusting as it is written for https://github.com/julusian/pkg-prebuilds instead of https://github.com/prebuild/node-gyp-build, but I expect it should translate across without too much issue.