-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinding.gyp
40 lines (40 loc) · 1.34 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
34
35
36
37
38
39
40
{
"targets": [
{
"target_name": "MistApi",
"sources": [ "src/Mist.cc", "src/functions.cc", "src/Message.cc", "src/MistWrapper.cc" ],
"cflags": [ "-O2 -DNUM_WISH_APPS=100" ],
"cflags_cc": [ "-O2 -DNUM_WISH_APPS=100" ],
"ldflags": [ ],
"include_dirs" : [
"src",
"<!(node -e \"require('nan')\")",
"mist-c99/src",
"mist-c99/mist",
"mist-c99/wish_app_deps",
"mist-c99/wish_app_port_deps/unix",
"mist-c99/wish_app",
"mist-c99/wish",
"mist-c99/deps/wish-rpc-c99/src",
"mist-c99/deps/bson"
],
"libraries": [
"-lmist", "-L../mist-c99"
],
"conditions": [
[ 'OS!="win"', {
"cflags+": [ "-std=c++11" ],
"cflags_c+": [ "-std=c++11" ],
"cflags_cc+": [ "-std=c++11" ],
}],
[ 'OS=="mac"', {
"xcode_settings": {
"OTHER_CPLUSPLUSFLAGS" : [ "-std=c++11" ],
"OTHER_LDFLAGS": [ ],
"MACOSX_DEPLOYMENT_TARGET": "10.11"
},
}],
],
}
],
}