Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法,如何判断配置是在 bindings.gyp 中设置为 Debug 还是 Release?
例如,在 Visual Studio 中有一个变量 $(Configuration),其中包含此信息。gyp中是否存在类似的东西?
谢谢
node's owncommon.gypi 包含一个如何根据构建配置进行不同配置的示例。
common.gypi