nodejs/node-gyp

how to use cmake as build tool

Closed this issue · 3 comments

It seems cmake is experimental feature:

This module is under development and should be considered experimental.

do you have plan when release this feature?

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.

@refack
I see, thank you for the response.