我想找到一种方法来简化Node.js" libtorrent "模块的安装.
我的目标是能够为每个体系结构提供预编译的.node文件,例如,这在光纤模块中完成.
这样,用户可以安装模块而无需安装依赖项,编译等.
我的问题是:如果我想这样做,我是否需要在项目中包含所有依赖项(libtorrent和一些Boost库)并使用node-gyp构建它们?或者,如果我在安装了这些依赖项的系统上构建模块,它们将包含在最终的.node文件中?
谢谢你的帮助.
boost node.js gyp libtorrent node-gyp
boost ×1
gyp ×1
libtorrent ×1
node-gyp ×1
node.js ×1