-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinding.gyp
61 lines (61 loc) · 1.61 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
{
"targets": [
{
"target_name": "naph",
"sources": [
"src/Main.cpp",
"lib/thirdparty/JUCE/modules/juce_audio_basics/juce_audio_basics.cpp",
"lib/thirdparty/JUCE/modules/juce_audio_processors/juce_audio_processors.cpp",
"lib/thirdparty/JUCE/modules/juce_core/juce_core.cpp",
"lib/thirdparty/JUCE/modules/juce_data_structures/juce_data_structures.cpp",
"lib/thirdparty/JUCE/modules/juce_events/juce_events.cpp",
"lib/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp",
"lib/thirdparty/JUCE/modules/juce_gui_basics/juce_gui_basics.cpp",
"lib/thirdparty/JUCE/modules/juce_gui_extra/juce_gui_extra.cpp",
],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
"lib/thirdparty/JUCE/modules",
"lib/thirdparty/JUCE/modules/juce_audio_processors/format_types/VST3_SDK",
],
"libraries": [
"../lib/thirdparty/JUCEStatic.lib",
],
"dependencies": [
"<!(node -p \"require('node-addon-api').gyp\")",
],
"defines": [
"NAPI_DISABLE_CPP_EXCEPTIONS",
"DONT_SET_USING_JUCE_NAMESPACE",
"JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED",
"JUCE_PLUGINHOST_VST3",
"JUCE_WINDOWS",
"JUCE_STANDALONE_APPLICATION",
],
"cflags!": [
"-fno-exceptions",
"-fno-rtti",
],
"cflags_cc!": [
"-fno-exceptions",
"-fno-rtti",
],
"cflags": [
"-fexceptions",
"-frtti",
],
"cflags_cc": [
"-fexceptions",
"-frtti",
],
"msvs_settings": {
"VCCLCompilerTool": {
"AdditionalOptions": [
"/GR", # Enable RTTI
"/EHsc" # Enable C++ Exceptions
] # Force for MSVC
}
}
},
],
}