CMake或gyp用于node.js插件开发 [英] CMake or gyp for node.js addon development
问题描述
在大多数教程中,他们使用gyp作为C ++ node.js附加组件开发的构建系统。但是,与gyp相比,CMake历史悠久,并且文档更多。
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.
因此,我的问题是:哪个对node.js C ++插件开发更好?
Therefore, my question is that: which one is better for node.js C++ addon development?
谢谢您。
推荐答案
我今天刚刚提供了新模块: CMake.js 以支持基于CMake的Node.js和io.js本机插件开发。它的工作原理与node-gyp完全相同,请先阅读自述文件和教程,然后再决定对您有什么好处。
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.
这篇关于CMake或gyp用于node.js插件开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!