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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -