1
0
mirror of https://github.com/fuse-friends/fuse-native synced 2024-10-27 18:34:01 +00:00
fuse-friends_fuse-native/binding.gyp

68 lines
2.1 KiB
Plaintext
Raw Normal View History

2015-03-12 02:11:29 +00:00
{
"targets": [{
"target_name": "fuse_bindings",
"sources": ["fuse-bindings.cc", "abstractions.cc"],
2015-08-06 23:19:15 +00:00
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
"conditions": [
['OS!="win"', {
'variables':
{
2016-06-25 00:02:33 +00:00
'fuse__include_dirs%': '<!(pkg-config fuse --cflags-only-I | sed s/-I//g)',
'fuse__library_dirs%': '',
2016-06-25 00:02:33 +00:00
'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)",
2015-08-06 23:19:15 +00:00
"$(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
}
}
}
}
}]
2015-03-12 02:11:29 +00:00
}