How can I use node-gyp to run C++ code with node.js -
node-gyp cross-platform command-line tool written in node.js compiling native addon modules node.js. trying node program run c++ i've written. node-gyp seems make process easier in example, able run doing node-gyp configure
followed node-gyp build
, running node test.js
i'm still having trouble understanding how set binding.cc
, binding.gyp
files. know whats going on or know of guides/documentation?
addons documentation page , node-addon-examples linked page should start. watch this slides on basics of binary modules (it uses older node-waf build tool though)
Comments
Post a Comment