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

Discussion: CMake based native module build system proposal #1425

Closed
unbornchikken opened this issue Apr 14, 2015 · 4 comments
Closed

Discussion: CMake based native module build system proposal #1425

unbornchikken opened this issue Apr 14, 2015 · 4 comments
Labels
build Issues and PRs related to build files or the CI.

Comments

@unbornchikken
Copy link

You guys did kinda revolution here in this fork. Don't you think by riding the winds of change is it the time to replace node-gyp with another build system?

I propose CMake. It's mature, fast, stable, has a friendly license, used natively by almost all cross platform C++ IDE-s, and of course, there already exists a node-gyp like module to integrate it with the npm ecosystem (the author is me). It has nice features, like it uses Ninja and Clang if present. Created module has no dependency on Python 2.x, only CMake.

I created a tutorial if you interested, and because it's based on (almost standard) CMake, I can develop and debug my native modules even in stuff like Qt Creator.

I'm here because of two reasons:

  • I need a high reach. Without anyone notice that there are other options available than node-gyp for creating native modules, there aren't really other options available.
  • I want to know the opinion of this community. If you all think that this idea is just plain stupid, node-gyp is and will be the Holy Way of building native modules for now and forever, then I won't put more effort into it.
@mscdex mscdex added the build Issues and PRs related to build files or the CI. label Apr 14, 2015
@Fishrock123
Copy link
Contributor

There is already a good amount of older discussion about what to do with gyp in #133

@unbornchikken
Copy link
Author

Yea, I've already been throug that. I'm here because I created a replacement, not to discuss about what should be created i n the future. Maybe it is not the right solution, but it works, and have its benefits for sure.

@jbergstroem
Copy link
Member

@unbornchikken unless there's a PR I think the discussion of which build system to build or adapt better belongs in #133. I'm happy to discuss CMake, but let's not create another thread -- it'll only make backtracking and following discussions harder.

@unbornchikken
Copy link
Author

Ok, I understand. I'll put my proposal there later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

No branches or pull requests

4 participants