forked from ibmruntimes/mvsutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinding.gyp
29 lines (28 loc) · 995 Bytes
/
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
{
"targets": [{
"target_name": "mvsutils",
"cflags!": [ "-fno-exceptions"],
"cflags": [ "-qascii" ],
"cflags_cc!": ["-fno-exceptions" ],
"cflags_cc": ["-qascii" ],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")"
],
"conditions": [
[ "OS==\"zos\"", {
"sources": [
"addon.cc",
"filescan.cc",
"errstring.cc",
"console.cc"
],
}],
],
"libraries": [],
"dependencies": [
"<!(node -p \"require('node-addon-api').gyp\")"
],
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS", "_AE_BIMODAL=1", "_ALL_SOURCE", "_ENHANCED_ASCII_EXT=0x42020010", "_LARGE_TIME_API", "_OPEN_MSGQ_EXT", "_OPEN_SYS_FILE_EXT=1", "_OPEN_SYS_SOCK_IPV6", "_UNIX03_SOURCE", "_UNIX03_THREADS", "_UNIX03_WITHDRAWN", "_XOPEN_SOURCE=600", "_XOPEN_SOURCE_EXTENDED",
]
}]
}