-
Notifications
You must be signed in to change notification settings - Fork 74
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
[Discussion] should we make CMake support as core function #100
Comments
Not sure why to discuss this in In nodejs/TSC#648 there seems to be consensus that the build system for node core doesn't need to be the same for native modules. I don't think we will be able to stop supporting node-gyp soon, even if we move to something else there will probably be modules that will take a long time to update. In my opinion, it would be great if we could find the resources to make Gyp.js the solution, not breaking anything in the ecosystem and not depending on anything besides Node. |
https://github.com/cmake-js/cmake-js already exists for native modules. |
I mean the CMake files for node itself. node-gyp can gernerate CMake files, but not tested for nodejs repo. CMake function is defined in https://github.com/nodejs/node-gyp/blob/master/gyp/pylib/gyp/generator/cmake.py. |
Then as @joaocgreis pointed out this discussion item is in the wrong place. This repository is for the |
I see. It should be in gyp then, though it's maintained by google. |
@refack Whatever happened to nodejs/admin#247? |
For anyone want to try cmake, you can change the code here, change it to |
Also, you can directly use |
I am thinking make cmake-support more offcial, reopening this Related: https://github.com/orgs/nodejs/teams/collaborators/discussions/78 |
@gengjiawen if you want to champion this then I'd support it. It's just something that needs people and there's no extra bandwidth here in the existing team to extend to this. We can bolster the test suite and CI to make sure it works nicely though. Some things to be aware of when deciding to invest in this though:
|
Related: nodejs/TSC#648.
If so, I want to add check to enhance this.
The text was updated successfully, but these errors were encountered: