-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathbinding.gyp
More file actions
33 lines (32 loc) · 769 Bytes
/
binding.gyp
File metadata and controls
33 lines (32 loc) · 769 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
27
28
29
30
31
32
{
"targets": [{
"target_name": "pigpio",
"conditions": [[
'OS == "linux"', {
"conditions": [[
'"<!((which pigpiod 2>/dev/null) || echo not_found)" != "not_found"', {
"include_dirs" : [
"<!(node -e \"require('nan')\")"
],
"sources": [
"./src/pigpio.cc"
],
"link_settings": {
"libraries": [
"-lpigpio"
]
},
"conditions": [[
'"<!(echo $V)" != "1"', {
"cflags": [
"-Wno-deprecated-declarations",
"-Wno-cast-function-type"
]
}]
]
}]
]
}]
]
}]
}