-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathbinding.gyp
67 lines (67 loc) · 2.13 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"targets": [{
"target_name": "fuse_bindings",
"sources": ["fuse-bindings.cc", "abstractions.cc"],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
"conditions": [
['OS!="win"', {
'variables':
{
'fuse__include_dirs%': '<!(pkg-config fuse --cflags-only-I | sed s/-I//g)',
'fuse__library_dirs%': '',
'fuse__libraries%': '<!(pkg-config --libs-only-L --libs-only-l fuse)'
},
"include_dirs": [
"<@(fuse__include_dirs)"
],
'library_dirs': [
'<@(fuse__library_dirs)',
],
"link_settings": {
"libraries": [
"<@(fuse__libraries)"
]
}
}],
['OS=="win"', {
"variables": {
'dokan__install_dir%': '$(DokanLibrary1)/include/fuse'
},
"include_dirs": [
"<(dokan__install_dir)",
"$(INCLUDE)"
],
"link_settings": {
"libraries": [
"<(dokan__library)"
]
},
"conditions": [
['target_arch=="x64"', {
"variables": { 'dokan__library%': '$(DokanLibrary1_LibraryPath_x64)/dokanfuse1' }
}, {
"variables": { 'dokan__library%': '$(DokanLibrary1_LibraryPath_x86)/dokanfuse1' }
}]
]
}]
],
"configurations": {
"Debug": {
"msvs_settings": {
"VCCLCompilerTool": {
"RuntimeLibrary": 2
}
}
},
"Release": {
"msvs_settings": {
"VCCLCompilerTool": {
"RuntimeLibrary": 2
}
}
}
}
}]
}