-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
49 lines (45 loc) · 1.07 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
# This is a generated file, modify: generate/templates/binding.gyp.ejs.
{
"targets": [
{
"target_name": "pseudofs",
"sources": [
"pseudo_fs.cc",
"error-common.cc"
],
"include_dirs": [
"deps/build/include",
"node_modules/nan",
"<!(node -e \"require('nan')\")" # note, this is needed b/c with 'npm install' it places 'nan' in a different location - this may break in Yocto bb recipe
],
"cflags": [
"-Wall",
"-std=c++11",
"-D_ERRCMN_ADD_CONSTS"
],
"conditions": [
[
"OS=='linux'", {
"configurations" : {
"Release" : {
},
"Debug" : {
"defines" : [ "ERRCMN_DEBUG_BUILD", "PSEUDOFS_DEBUG_BUILD" ]
}
}
}
],
[
"OS=='mac'", {
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"WARNING_CFLAGS": [
"-Wno-unused-variable",
],
}
}
]
]
},
]
}