-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathbinding.gyp
36 lines (35 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
{
"targets": [
{
"target_name": "fusejs",
"sources": [ "src/bindings.cc",
"src/file_info.cc",
"src/filesystem.cc",
"src/node_fuse.cc",
"src/reply.cc",
'src/forget_data.cc'
],
"include_dirs": [
'./include',
'<!@(pkg-config fuse --cflags-only-I | sed s/-I//g)',
"<!(node -e \"require('nan')\")"
],
"cflags_cc": [
"-std=c++11",
"-Wall", "-Warray-bounds",
"-fpermissive"
],
"xcode_settings": {
"OTHER_CPLUSPLUSFLAGS": ["-stdlib=libc++", "-std=c++11", "-mmacosx-version-min=10.7" ]
},
"defines": [
'_FILE_OFFSET_BITS=64', 'FUSE_USE_VERSION=30'
],
"link_settings": {
"libraries": [
'<!@(pkg-config --libs fuse)'
]
}
}
]
}