-
Notifications
You must be signed in to change notification settings - Fork 6
/
binding.gyp
39 lines (39 loc) · 922 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
'targets': [
{
'target_name': 'csound-api',
'include_dirs': [
'<!(node --eval "require(\'nan\')")'
],
'sources': [
'src/csound-api.cc'
],
'conditions': [
['OS == "mac"', {
'libraries': [
'-lcsnd6'
]
}],
['OS == "linux"', {
'libraries': [
'-lcsound64'
]
}],
['OS == "win"', {
'defines': [
# This is needed due to the issue described at
# https://connect.microsoft.com/VisualStudio/feedback/details/1892487
'_ENABLE_ATOMIC_ALIGNMENT_FIX',
# Prevent min and max macros from being defined in windows.h.
'NOMINMAX'
],
'msvs_settings': {
'VCCLCompilerTool': {
'ExceptionHandling': 1 # /EHsc
}
}
}]
]
}
]
}