如何使node-gyp构建变得冗长?

时间:2013-03-13 23:14:23

标签: node-gyp

我希望在构建节点绑定时使用编译器和链接器标志。如何使node-gyp build以详细模式运行才能实现。 (类似于make VERBOSE=1的{​​{1}})

2 个答案:

答案 0 :(得分:9)

尝试

node-gyp rebuild --verbose

答案 1 :(得分:4)

make V=1帮助我进行详细的V8构建。我没有尝试node.js

我不太了解gyp,但我知道它在out/Makefile的乞讨时写入Makefile

# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
  quiet=
else
  quiet=quiet_
endif