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
2016-06-24 17:02:33 -07:00

58 lines
1.7 KiB
Python

{
"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"', {
"include_dirs": [
"$(DOKAN_FUSE_INCLUDE)",
"$(INCLUDE)"
],
"link_settings": {
"libraries": [
"<!(echo %DOKAN_INSTALL_DIR%)/dokanfuse.lib"
]
}
}]
],
"configurations": {
"Debug": {
"msvs_settings": {
"VCCLCompilerTool": {
"RuntimeLibrary": 2
}
}
},
"Release": {
"msvs_settings": {
"VCCLCompilerTool": {
"RuntimeLibrary": 2
}
}
}
}
}]
}