node.js 和 node-webkit C++扩展方法

时间:2014-05-22 23:38:12   收藏:0   阅读:377
构建node扩展的方法:
1,安装node.js 版本为0.10.24.msi
2,安装node-gyp, npm install -g node-gyp
3,构建 hello工程
cd 到 node-gyp-hello\src
node-gyp configure
node-gyp build


构建node-webkit扩展的方法:
1,安装node.js 版本为0.10.24.msi
2,安装nw-gyp, npm install -g  nw-gyp
3,构建 hello工程
cd 到 nw-gyp-hello\src
nw-gyp configure --target=0.8.4

nw-gyp build



注:debug 构建方法为:


nw-gyp configure --target=0.8.4 --debug

node.js 和 node-webkit C++扩展方法,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!