2
嗨我想编译一个node_modules作为发布模式,但我无法成功配置为发布模式。node-gyp配置为发布模式
我跑node-gyp configure
;在configure.gypi产生
# Do not edit. File was generated by node-gyp's "configure" step {
"target_defaults": {
"cflags": [],
**"default_configuration": "Debug",**
"defines": [],
"include_dirs": [],
"libraries": [] },
我-DBUILDTYPE=Release
和BUILDTYPE=Release
但没有成功
This Works,thanks!它并不总是Release,可能是Debug,所以你必须指定--release。我认为调试是当你从开源调试开始构建节点。 – Calin 2014-04-18 14:54:38