-
Notifications
You must be signed in to change notification settings - Fork 7
/
binding.gyp
122 lines (117 loc) · 3.56 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"targets": [
{
'target_name': 'common',
'type': 'static_library',
'includes': [
'juce.gypi'
],
'sources': [
'src/extended/Shared/PluginInterface.cc'
],
'configurations': {
'Debug': {
'defines': ['DEBUG=1', '_DEBUG=1', 'JUCE_DEBUG=1', '__MACOSX_CORE__']
},
'Release': {
'defines': ['NDEBUG=1', '_NDEBUG=1', 'JUCE_DEBUG=0', '__MACOSX_CORE__']
}
}
},
{
'target_name': 'plugin-host-child-process',
'type': 'executable',
'dependencies': [
'common'
],
'include_dirs': [
'third_party/JUCE/modules',
'third_party/boost_1_65_1'
],
'sources': [
'src/extended/PluginHostChildProcess/main.cc',
'src/extended/PluginHostChildProcess/MainComponent.cc',
'src/extended/PluginHostChildProcess/IPCAudioIODevice.cc'
],
'configurations': {
'Debug': {
'defines': ['DEBUG=1', '_DEBUG=1', 'JUCE_DEBUG=1', '__MACOSX_CORE__', 'OPUS_BUILD', 'USE_ALLOCA']
},
'Release': {
'defines': ['NDEBUG=1', '_NDEBUG=1', 'JUCE_DEBUG=0', '__MACOSX_CORE__', 'OPUS_BUILD', 'USE_ALLOCA']
}
},
"conditions": [[
'OS=="mac"',
{
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
'$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
'$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
'$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
'$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
'$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
]
},
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'GCC_ENABLE_CPP_RTTI': 'YES'
}
}
]]
},
{
'target_name': 'node-audio',
'include_dirs': [
'third_party/JUCE/modules',
'third_party/boost_1_65_1'
],
"includes": [
"auto.gypi",
"labsound.gypi"
],
"sources": [
"src/module.cc",
"src/NodeAudioConfig.cc",
"src/NodeAudio.cc",
"src/SoundBuffer.cc",
"src/extended/PluginNode.cc",
"src/extended/PluginHostParentProcess/PluginHostParentProcess.cc"
],
'dependencies': [
'common'
],
'configurations': {
'Debug': {
'defines': ['DEBUG=1', '_DEBUG=1', 'JUCE_DEBUG=1', '__MACOSX_CORE__', 'OPUS_BUILD', 'USE_ALLOCA']
},
'Release': {
'defines': ['NDEBUG=1', '_NDEBUG=1', 'JUCE_DEBUG=0', '__MACOSX_CORE__', 'OPUS_BUILD', 'USE_ALLOCA']
}
},
"conditions": [[
'OS=="mac"',
{
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
'$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
'$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
'$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
'$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
'$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
]
},
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'GCC_ENABLE_CPP_RTTI': 'YES'
}
}
]]
}
],
"includes": [
"auto-top.gypi",
],
}