-
Notifications
You must be signed in to change notification settings - Fork 7
/
binding.gyp.no-auto
42 lines (42 loc) · 1.13 KB
/
binding.gyp.no-auto
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
'targets': [
{
'target_name': 'vrpc',
'target_conditions': [
['"<!(echo $VRPC_DEBUG)"=="1"', {'defines': ['VRPC_DEBUG']}],
],
'defines': ['VRPC_WITH_DL'],
'cflags_cc!': ['-std=gnu++0x', '-fno-rtti', '-fno-exceptions'],
'cflags_cc': ['-std=c++14', '-fPIC'],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_RTTI': 'YES',
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
}
}]
],
'sources': ['vrpc/addon.cpp'],
'include_dirs': ['.']
},
{
'target_name': 'vrpc_test',
'target_conditions': [
['"<!(echo $VRPC_DEBUG)"=="1"', {'defines': ['VRPC_DEBUG']}],
],
'defines': [],
'cflags_cc!': ['-std=gnu++0x', '-fno-rtti', '-fno-exceptions'],
'cflags_cc': ['-std=c++14'],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_RTTI': 'YES',
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
}
}]
],
'sources': ['vrpc/addon.cpp'],
'include_dirs': ['.', 'tests/native/fixtures']
},
]
}