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

how to use cmake as build tool #1590

Closed
kimown opened this issue Nov 1, 2018 · 3 comments
Closed

how to use cmake as build tool #1590

kimown opened this issue Nov 1, 2018 · 3 comments

Comments

@kimown
Copy link

kimown commented Nov 1, 2018

It seems cmake is experimental feature:

This module is under development and should be considered experimental.

do you have plan when release this feature?

@refack
Copy link
Contributor

refack commented Nov 1, 2018

Hello @kimown,

The cmake generator is a feature of GYP. node-gyp is a wrapper that facilitates building Node.js native addons based on files in gyp syntax as scaffolding.

For a while now there hasn't been active development of GYP by Google. The Node.js org might fork it and continue maintaining it, since we rely on it for our core build scaffolding, and for building 3rd party addons. You can follow that conversation on nodejs/admin#247 and https://github.com/refack/GYP.

I'm not sure how useful you will find it since cmake itself is more suited for writing generic build scaffolding then to actually run the builds, so YMMV...
At this time there are no active plans to support for node-gyp to support cmake files as addon build scaffolding, but any PRs if submitted, would be considered on their merits.

@kimown kimown closed this as completed Nov 1, 2018
@kimown
Copy link
Author

kimown commented Nov 1, 2018

@refack
I see, thank you for the response.

@gengjiawen
Copy link
Member

You can try: https://github.com/nodejs/node-gyp/issues/1668#issuecomment-515729542.

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

No branches or pull requests

3 participants