-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
53 lines (53 loc) · 1.19 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
{
"targets": [
{
"target_name": "nodejs-nur",
"msvs_settings": {
"VCCLCompilerTool": {
"ExceptionHandling": 1,
"AdditionalOptions": [
"-std:c++20"
]
}
},
"defines": [
"NAPI_VERSION=8",
"UNICODE",
"_UNICODE"
],
"sources": [
"src/addon/NUR/nur-main/nur-main.cpp",
"src/addon/NUR/nur-main/nur-wrapper-util.cpp",
"src/addon/NUR/nur-node/nur-node.cpp",
"src/addon/NUR/nur-node/nur-node-util.cpp",
"src/addon/NUR/index.cpp"
],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
"src/addon/include",
"NUR-includes"
],
"libraries": [
"<(module_root_dir)/NUR-lib/x64/NURAPI.lib"
],
"dependencies": [
"<!(node -p \"require('node-addon-api').gyp\")"
]
},
{
"target_name": "copy_dll",
"type": "none",
"dependencies": [
"nodejs-nur"
],
"copies": [
{
"destination": "build/Release",
"files": [
"<(module_root_dir)/NUR-lib/x64/NURAPI.dll"
]
}
]
}
]
}