-
Notifications
You must be signed in to change notification settings - Fork 4
/
binding.gyp
35 lines (35 loc) · 1012 Bytes
/
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
{
"targets": [
{
"target_name": "maestro",
"sources": [ "./cpplib/src/client.cpp",
"./cpplib/src/utils.cpp",
"./maestro-node/addon.cpp"],
"cflags": ["-Wall", "-fexceptions"],
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
"include_dirs" : [
"./cpplib/include",
"<!(node -e \"require('nan')\")",
"/usr/local/include"
],
"libraries": [
"/usr/local/lib/librestclient-cpp.a",
"-lcurl"
],
"conditions": [
[ "OS=='mac'", {
"xcode_settings": {
"OTHER_CPLUSPLUSFLAGS" : ["-std=c++11","-stdlib=libc++", "-fexceptions"],
"OTHER_LDFLAGS": ["-stdlib=libc++"],
"MACOSX_DEPLOYMENT_TARGET": "10.12"
},
'libraries': [
"/usr/local/Cellar/restclient-cpp/0.4.4/lib/librestclient-cpp.dylib"
]
},
]
]
}
]
}