forked from electron/rcedit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrcedit.gyp
40 lines (40 loc) · 940 Bytes
/
rcedit.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
{
'targets': [
{
'target_name': 'rcedit',
'type': 'executable',
'sources': [
'src/main.cc',
'src/rescle.cc',
'src/rescle.h',
'src/rcedit.rc',
'src/version.h',
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': 1, # console executable
},
'VCCLCompilerTool': {
'Optimization': 3, # /Ox, full optimization
'FavorSizeOrSpeed': 1, # /Os, favour small code
'RuntimeLibrary': 0, # /MT, for statically linked runtime
},
},
'conditions': [
['MSVS_VERSION=="2015"', {
'msbuild_toolset': 'v140_xp',
}],
['MSVS_VERSION=="2017"', {
'msbuild_toolset': 'v141_xp',
}],
],
'configurations': {
'Default': {
},
'Default_x64': {
'msvs_configuration_platform': 'x64',
},
}
},
],
}