nwjs / nw-gyp

native addon build tool for node-webkit
MIT License
195 stars 50 forks source link

change build flags #102

Closed oxcafebabe closed 7 years ago

oxcafebabe commented 7 years ago

I want to build a npm_module in windows x64 with vs2015, but it fails because of treating warnings as errors when building chromium, plz tell me how to change "-wx" flag to false, thx

ghostoy commented 7 years ago

Try https://gyp.gsrc.io/docs/UserDocumentation.md#Exclude-settings-on-a-platform

BTW, nw-gyp is a simple port of node-gyp for NW.js. Please post general questions or bugs to node-gyp.