Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (48 sloc) 1.223 kb
1c2b937 @c4milo Adds GYP file for compilation support in nodejs 0.8.x
c4milo authored
1 {
2 'targets': [
3 {
4 'target_name': 'fann',
5 'direct_dependent_settings': {
6 'cflags': [
7 # This next command produces no output but it it will fail
8 # (and cause GYP to fail) if we don't have a recent enough
0c1e358 @rlidwka return to -ldoublefann, remove node-waf support
authored
9 # version of this library.
1c2b937 @c4milo Adds GYP file for compilation support in nodejs 0.8.x
c4milo authored
10 '<!@(pkg-config --atleast-version=2.1.0 fann)',
11 '<!@(pkg-config --cflags fann)',
12 ],
13 },
14 'link_settings': {
15 'ldflags': [
16 '<!@(pkg-config --libs-only-L --libs-only-other fann)',
17 ],
0c1e358 @rlidwka return to -ldoublefann, remove node-waf support
authored
18 # linking against -ldoublefann against of -lfann
1c2b937 @c4milo Adds GYP file for compilation support in nodejs 0.8.x
c4milo authored
19 'libraries': [
0c1e358 @rlidwka return to -ldoublefann, remove node-waf support
authored
20 '-ldoublefann',
21 '<!@(echo -lfann)',
1c2b937 @c4milo Adds GYP file for compilation support in nodejs 0.8.x
c4milo authored
22 ],
0c1e358 @rlidwka return to -ldoublefann, remove node-waf support
authored
23 'conditions': [
24 ['"always-true"', {'libraries!': ['-lfann']}],
6db4dd4 @runk fix macos building issue
runk authored
25 ],
1c2b937 @c4milo Adds GYP file for compilation support in nodejs 0.8.x
c4milo authored
26 },
27 'sources': [
28 'src/fann-accs.cc',
29 'src/fann-arrs.cc',
30 'src/fann-create.cc',
ecea2c4 @rlidwka 1. added cascade training
authored
31 'src/fann-cascade.cc',
1c2b937 @c4milo Adds GYP file for compilation support in nodejs 0.8.x
c4milo authored
32 'src/fann-train.cc',
33 'src/fann-util.cc',
34 'src/fann.cc'
35 ],
6db4dd4 @runk fix macos building issue
runk authored
36 'conditions': [
37 [ 'OS!="win"', {
38 'include_dirs': [
39 '/opt/local/include'
40 ],
41 'library_dirs': [
42 '/opt/local/lib'
43 ]
44 }],
45 ],
1c2b937 @c4milo Adds GYP file for compilation support in nodejs 0.8.x
c4milo authored
46 }
47 ]
48 }
Something went wrong with that request. Please try again.