-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbinding.gyp
33 lines (33 loc) · 1.04 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
{
"targets": [
{
"target_name": "<(module_name)",
"sources": [ "NativeExtension.cc", "shmcache_wrapper.cc", "bson_wrapper.cc"],
"include_dirs" : [
"<!(node -e \"require('nan')\")",
"./deps/libfastcommon/src",
"./deps/libshmcache/src",
"./deps/libbson/dists/include/libbson-1.0"
],
"libraries": [
"<!(pwd)/deps/libfastcommon/src/libfastcommon.a",
"<!(pwd)/deps/libshmcache/src/libshmcache.a",
"<!(pwd)/deps/libbson/dists/lib/libbson-1.0.a"
],
"defines": [
"__STDC_FORMAT_MACROS"
]
},
{
"target_name": "action_after_build",
"type": "none",
"dependencies": [ "<(module_name)" ],
"copies": [
{
"files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
"destination": "<(module_path)"
}
]
}
],
}