Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake-js support #49

Open
aminya opened this issue Dec 3, 2020 · 3 comments · May be fixed by #75
Open

Cmake-js support #49

aminya opened this issue Dec 3, 2020 · 3 comments · May be fixed by #75

Comments

@aminya
Copy link
Contributor

aminya commented Dec 3, 2020

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

@aminya
Copy link
Contributor Author

aminya commented Nov 28, 2021

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

@thegecko
Copy link

thegecko commented Dec 2, 2023

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
Copy link

Julusian commented Dec 2, 2023

@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.

@thegecko thegecko linked a pull request Dec 3, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants