forked from tjanczuk/edge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinding.gyp
55 lines (55 loc) · 1.73 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
{
'targets': [
{
'target_name': 'edge',
'sources': [ ],
'conditions': [
['OS=="win"', {
'sources+': [
'src/edge.cpp',
'src/utils.cpp',
'src/clrfunc.cpp',
'src/clrfuncinvokecontext.cpp',
'src/nodejsfunc.cpp',
'src/nodejsfuncinvokecontext.cpp',
'src/edgejavascriptconverter.cpp'
]
}]
],
'configurations': {
'Release': {
'msvs_settings': {
'VCCLCompilerTool': {
# this is out of range and will generate a warning and skip adding RuntimeLibrary property:
'RuntimeLibrary': -1,
# this is out of range and will generate a warning and skip adding RuntimeTypeInfo property:
'RuntimeTypeInfo': -1,
'BasicRuntimeChecks': -1,
'ExceptionHandling': '0',
'AdditionalOptions': [ '/clr', '/wd4506' ]
},
'VCLinkerTool': {
'AdditionalOptions': [ '/ignore:4248' ]
}
}
},
'Debug': {
'msvs_settings': {
'VCCLCompilerTool': {
# this is out of range and will generate a warning and skip adding RuntimeLibrary property:
'RuntimeLibrary': -1,
# this is out of range and will generate a warning and skip adding RuntimeTypeInfo property:
'RuntimeTypeInfo': -1,
'BasicRuntimeChecks': -1,
'ExceptionHandling': '0',
'AdditionalOptions': [ '/clr', '/wd4506' ]
},
'VCLinkerTool': {
'AdditionalOptions': [ '/ignore:4248' ]
}
}
}
}
}
]
}