简体   繁体   中英

CMake or gyp for node.js addon development

In most of tutorials, they use gyp as the building system for C++ node.js add-on development. However, compared to gyp, CMake has a long history and have much much more documentations.

Therefore, my question is that: which one is better for node.js C++ addon development?

Thank you.

I've just made available my new module today: CMake.js to support CMake based Node.js and io.js native addon development. It works exactly like node-gyp, please take a look at the readme and to the tutorial, then decide what's better for you.

gyp is really the only one that is supported and is what almost everyone in the node community uses. Also, both v8 and node use it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM