source: imaps-frontend/node_modules/node-addon-api/common.gypi@ 0c6b92a

main
Last change on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago

Pred finalna verzija

  • Property mode set to 100644
File size: 724 bytes
Line 
1{
2 'variables': {
3 'NAPI_VERSION%': "<!(node -p \"process.env.NAPI_VERSION || process.versions.napi\")",
4 'disable_deprecated': "<!(node -p \"process.env['npm_config_disable_deprecated']\")"
5 },
6 'conditions': [
7 ['NAPI_VERSION!=""', { 'defines': ['NAPI_VERSION=<@(NAPI_VERSION)'] } ],
8 ['disable_deprecated=="true"', {
9 'defines': ['NODE_ADDON_API_DISABLE_DEPRECATED']
10 }],
11 ['OS=="mac"', {
12 'cflags+': ['-fvisibility=hidden'],
13 'xcode_settings': {
14 'OTHER_CFLAGS': ['-fvisibility=hidden']
15 }
16 }]
17 ],
18 'cflags': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ],
19 'cflags_cc': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ]
20}
Note: See TracBrowser for help on using the repository browser.