forked from Netflix-Skunkworks/spectator-js-nodejsmetrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinding.gyp
26 lines (25 loc) · 750 Bytes
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
'targets': [
{
'target_name': 'spectator_internals',
'dependencies': [],
'sources': ["<!@(ls -1 internals/*.cc)"],
'include_dirs' : [
"<!(node -e \"require('nan')\")"
],
'conditions': [
[ 'OS=="mac"', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS' : ['-stdlib=libc++', '-v', '-std=c++11', '-Wall', '-Wextra', '-Wno-unused-parameter', '-g', '-O2' ],
'OTHER_LDFLAGS': ['-stdlib=libc++'],
'MACOSX_DEPLOYMENT_TARGET': '10.12',
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO'
}
}],
['OS=="linux"', {
'cflags': ['-std=c++11', '-Wall', '-Wextra', '-Wno-unused-parameter', '-g', '-O2' ]
}]
]
}
]
}