-
Notifications
You must be signed in to change notification settings - Fork 45
/
common.gypi
39 lines (39 loc) · 931 Bytes
/
common.gypi
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
{
'variables' : {
'node_shared': 'true',
'WIN_VER' : 'v10',
'WIN_SDK_VER' : '10.0.15063.0',
'VS_VER': '14.0',
},
'target_defaults': {
'default_configuration': 'Release',
'configurations': {
'Debug': {
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': '3', # /MDd
}
}
},
'Release': {
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': '2', # /MD
}
}
}
},
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [ '/ZW'],
'AdditionalUsingDirectories' : [
'%ProgramFiles(x86)%/Microsoft Visual Studio <(VS_VER)/VC/lib/store/references',
'%ProgramFiles%/Microsoft Visual Studio <(VS_VER)/VC/lib/store/references',
'%ProgramFiles(x86)%/Windows Kits/10/UnionMetadata/<(WIN_SDK_VER)',
'%ProgramFiles%/Windows Kits/10/UnionMetadata/<(WIN_SDK_VER)',
],
'ExceptionHandling': 1, # /EHsc
}
}
}
}