-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathbinding.gyp
33 lines (31 loc) · 855 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
{
"targets": [
{
"target_name": "mmseg",
"sources": [
"mmseg.cc"
],
"include_dirs": [
"/usr/local/include/mmseg/"
],
"cflags_cc": [
"-fPIC", "-O2", "-pthread",
"-finline", "-finline-small-functions",
"-fomit-frame-pointer", "-momit-leaf-frame-pointer",
"-Wno-unused-function"
],
"defines": ["NDEBUG"],
"conditions": [
[
"OS!='win'",
{
"link_settings": {
"ldflags": ["-Wl,-O3"],
"libraries": ["-lmmseg"]
}
}
]
]
}
]
}