-
-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathbinding.gyp
More file actions
26 lines (26 loc) · 697 Bytes
/
Copy pathbinding.gyp
File metadata and controls
26 lines (26 loc) · 697 Bytes
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
{
'targets': [
{
"target_name": "kinect2",
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
"sources": [ "src/kinect2.cc" ],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
"$(KINECTSDK20_DIR)\\inc"
],
"conditions" : [
["target_arch=='ia32'", {
"libraries": [ "-l$(KINECTSDK20_DIR)\\lib\\x86\\kinect20.lib" ]
}],
["target_arch=='x64'", {
"libraries": [ "-l$(KINECTSDK20_DIR)\\lib\\x64\\kinect20.lib" ]
}]
],
'defines': [
'NAPI_DISABLE_CPP_EXCEPTIONS',
'NAPI_VERSION=<(napi_build_version)'
]
}
]
}