-
-
Notifications
You must be signed in to change notification settings - Fork 150
/
Copy pathbinding.gyp
46 lines (46 loc) · 1.47 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
41
42
43
44
45
46
{
'targets': [{
'target_name': 'talib',
'sources': [
'src/talib.cpp'
],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
'conditions': [
['OS=="linux"', {
"libraries": [
"../src/lib/lib/libta_abstract_csr.a",
"../src/lib/lib/libta_func_csr.a",
"../src/lib/lib/libta_common_csr.a",
"../src/lib/lib/libta_libc_csr.a",
]
}],
['OS=="freebsd"', {
"libraries": [
"/usr/local/lib/libta_lib.a"
]
}],
['OS=="mac"', {
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
},
"libraries": [
"../src/lib/lib/libta_abstract_csr.a",
"../src/lib/lib/libta_func_csr.a",
"../src/lib/lib/libta_common_csr.a",
"../src/lib/lib/libta_libc_csr.a",
]
}],
['OS=="win"', {
"libraries": [
"../src/lib/lib/ta_libc_csr.lib",
"../src/lib/lib/ta_func_csr.lib",
"../src/lib/lib/ta_common_csr.lib",
"../src/lib/lib/ta_abstract_csr.lib"
]
}],
]
}]
}