Iva*_*van -1
我认为如果您通过“构建配置”来区分“调试”和“发布”,这是可能的。尝试在您的 *.gyp 文件中添加以下内容:
...
'configurations': {
'Debug': {
'variables': {
'some_variable%' : 'debug_value',
},
'Release': {
'variables': {
'some_variable%' : 'release_value',
},
},
}
...
Run Code Online (Sandbox Code Playgroud)
带有更多示例的链接:gyp - 如何指定链接库风格;http://n8.io/converting-ac-library-to-gyp/
| 归档时间: |
|
| 查看次数: |
3062 次 |
| 最近记录: |