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

Jay*_*esh 4 node-gyp

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

Dav*_*sey 10

尝试

node-gyp rebuild --verbose
Run Code Online (Sandbox Code Playgroud)


wcy*_*wcy 5

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

我不太了解,但我知道它会在请求时gyp写入out/MakefileMakefile

# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
  quiet=
else
  quiet=quiet_
endif
Run Code Online (Sandbox Code Playgroud)