forked from rlidwka/node-fann
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbinding.gyp
32 lines (32 loc) · 818 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': 'fann',
'direct_dependent_settings': {
'cflags': [
# This next command produces no output but it it will fail
# (and cause GYP to fail) if we don't have a recent enough
# version of sqlite.
'<!@(pkg-config --atleast-version=2.1.0 fann)',
'<!@(pkg-config --cflags fann)',
],
},
'link_settings': {
'ldflags': [
'<!@(pkg-config --libs-only-L --libs-only-other fann)',
],
'libraries': [
'<!@(pkg-config --libs-only-l fann)',
],
},
'sources': [
'src/fann-accs.cc',
'src/fann-arrs.cc',
'src/fann-create.cc',
'src/fann-train.cc',
'src/fann-util.cc',
'src/fann.cc'
],
}
]
}