-
Notifications
You must be signed in to change notification settings - Fork 4
/
binding.gyp
46 lines (46 loc) · 1.45 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
{
"targets": [
{
"target_name": "notify_icon",
"include_dirs": [
"src"
],
"sources": [
"src/napi/core.cc",
"src/napi/props.cc",
"src/napi/win32.cc",
"src/data.cc",
"src/icon-object.cc",
"src/menu-object.cc",
"src/notify-icon.cc",
"src/notify-icon-message-loop.cc",
"src/notify-icon-object.cc",
"src/reg-icon-stream.cc",
"src/parse_guid.cc",
"src/module.cc"
],
"defines": [
"_WIN32_WINNT=_WIN32_WINNT_WIN7",
"_UNICODE",
"UNICODE"
],
"msvs_settings": {
"VCCLCompilerTool": {
"AdditionalOptions": [
"/std:c++17"
],
"WarningLevel": 4,
"DisableSpecificWarnings": [
4100
]
},
# https://github.com/nodejs/node/issues/29501
"VCLinkerTool": {
"OptimizeReferences": 2, # /OPT:REF
"EnableCOMDATFolding": 2, # /OPT:ICF
"LinkIncremental": 1 # disable incremental linking
}
}
}
]
}