2015-03-12 02:11:29 +00:00
|
|
|
{
|
2015-08-06 19:33:27 +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')\")"
|
|
|
|
],
|
2015-08-06 19:33:27 +00:00
|
|
|
"conditions": [
|
|
|
|
['OS!="win"', {
|
2015-09-24 18:47:16 +00:00
|
|
|
'variables':
|
|
|
|
{
|
2016-06-25 00:02:33 +00:00
|
|
|
'fuse__include_dirs%': '<!(pkg-config fuse --cflags-only-I | sed s/-I//g)',
|
2015-09-24 22:28:22 +00:00
|
|
|
'fuse__library_dirs%': '',
|
2016-06-25 00:02:33 +00:00
|
|
|
'fuse__libraries%': '<!(pkg-config --libs-only-L --libs-only-l fuse)'
|
2015-09-24 18:47:16 +00:00
|
|
|
},
|
2015-08-06 19:33:27 +00:00
|
|
|
"include_dirs": [
|
2015-09-24 22:28:22 +00:00
|
|
|
"<@(fuse__include_dirs)"
|
2015-09-24 18:47:16 +00:00
|
|
|
],
|
|
|
|
'library_dirs': [
|
2015-09-24 22:28:22 +00:00
|
|
|
'<@(fuse__library_dirs)',
|
2015-08-06 19:33:27 +00:00
|
|
|
],
|
|
|
|
"link_settings": {
|
|
|
|
"libraries": [
|
2015-09-24 22:28:22 +00:00
|
|
|
"<@(fuse__libraries)"
|
2015-08-06 19:33:27 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}],
|
|
|
|
['OS=="win"', {
|
|
|
|
"include_dirs": [
|
2015-08-06 23:19:15 +00:00
|
|
|
"$(DOKAN_FUSE_INCLUDE)",
|
|
|
|
"$(INCLUDE)"
|
2015-08-06 19:33:27 +00:00
|
|
|
],
|
|
|
|
"link_settings": {
|
|
|
|
"libraries": [
|
2015-08-07 18:39:18 +00:00
|
|
|
"<!(echo %DOKAN_INSTALL_DIR%)/dokanfuse.lib"
|
2015-08-06 19:33:27 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
],
|
|
|
|
"configurations": {
|
|
|
|
"Debug": {
|
|
|
|
"msvs_settings": {
|
|
|
|
"VCCLCompilerTool": {
|
|
|
|
"RuntimeLibrary": 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Release": {
|
|
|
|
"msvs_settings": {
|
|
|
|
"VCCLCompilerTool": {
|
|
|
|
"RuntimeLibrary": 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}]
|
2015-03-12 02:11:29 +00:00
|
|
|
}
|