-
Notifications
You must be signed in to change notification settings - Fork 3
/
binding.gyp
58 lines (57 loc) · 1.84 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
{
"targets": [
{
"target_name": "windows-kill",
"product_extension": "node",
"defines": [ "V8_DEPRECATION_WARNINGS=1" ],
"include_dirs": [
"<!(node -e require('nan'))",
"src/windows-kill-library/"
],
"libraries": [ "-lDbghelp" ],
"sources": [
"src/windows-kill-library/windows-kill-library.cpp",
"src/windows-kill-library/signal.cpp",
"src/windows-kill-library/sender.cpp",
"src/windows-kill-library/ctrl-routine.cpp",
"src/windows-kill-library/remote-process.cpp",
"src/windows-kill-library/stdafx.cpp",
"src/node-windows-kill.cpp"
],
"configurations": {
"Release": {
"msvs_settings": {
"VCCLCompilerTool": {
"ExceptionHandling": 1
}
}
},
"Debug": {
"msvs_settings": {
"VCCLCompilerTool": {
"ExceptionHandling": 1
}
}
}
},
"conditions": [
["OS=='win'", {
"defines": [
"_HAS_EXCEPTIONS=1"
]
}]
]
},
{
"target_name": "action_after_build",
"type": "none",
"dependencies": [ "<(module_name)" ],
"copies": [
{
"files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
"destination": "<(module_path)"
}
]
}
]
}