小编Lee*_*run的帖子

node-gyp构建库依赖项

我想找到一种方法来简化Node.js" libtorrent "模块的安装.

我的目标是能够为每个体系结构提供预编译的.node文件,例如,这在光纤模块中完成.

这样,用户可以安装模块而无需安装依赖项,编译等.

我的问题是:如果我想这样做,我是否需要在项目中包含所有依赖项(libtorrent和一些Boost库)并使用node-gyp构建它们?或者,如果我在安装了这些依赖项的系统上构建模块,它们将包含在最终的.node文件中?

谢谢你的帮助.

boost node.js gyp libtorrent node-gyp

7
推荐指数
1
解决办法
720
查看次数

标签 统计

boost ×1

gyp ×1

libtorrent ×1

node-gyp ×1

node.js ×1