You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.2 KiB
41 lines
1.2 KiB
{ |
|
"targets": [{ |
|
"target_name": "leveldown" |
|
, "conditions": [ |
|
["OS == 'win'", { |
|
"defines": [ |
|
"_HAS_EXCEPTIONS=0" |
|
] |
|
, "msvs_settings": { |
|
"VCCLCompilerTool": { |
|
"RuntimeTypeInfo": "false" |
|
, "EnableFunctionLevelLinking": "true" |
|
, "ExceptionHandling": "2" |
|
, "DisableSpecificWarnings": [ "4355", "4530" ,"4267", "4244", "4506" ] |
|
} |
|
} |
|
}] |
|
, ['OS == "linux"', { |
|
'cflags': [ |
|
] |
|
, 'cflags!': [ '-fno-tree-vrp' ] |
|
}] |
|
] |
|
, "dependencies": [ |
|
"<(module_root_dir)/deps/leveldb/leveldb.gyp:leveldb" |
|
] |
|
, "include_dirs" : [ |
|
"<!(node -e \"require('nan')\")" |
|
] |
|
, "sources": [ |
|
"src/batch.cc" |
|
, "src/batch_async.cc" |
|
, "src/database.cc" |
|
, "src/database_async.cc" |
|
, "src/iterator.cc" |
|
, "src/iterator_async.cc" |
|
, "src/leveldown.cc" |
|
, "src/leveldown_async.cc" |
|
] |
|
}] |
|
}
|
|
|