Open aminya opened 3 years ago
@shahneil yes! Please use cmake-ts https://www.npmjs.com/package/cmake-ts
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
@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.
prebuild supports cmake-js, but prebuildify does not. It would be good if they both are able to work with cmake-js.