Repository navigation
Expand file tree
/
Copy pathbinding.gyp
More file actions
45 lines (44 loc) · 1.76 KB
/
Copy pathbinding.gyp
File metadata and controls
45 lines (44 loc) · 1.76 KB
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
{
'targets': [
{
'target_name': 'pafe',
'conditions':[
['OS=="linux"', {
'defines':['HAVE_LIBPAFE'],
'sources': [ 'pafe_addon.cc', 'pafe.cc'],
'include_dirs':["<!(node -e \"require('nan')\")", "/usr/local/include/libpafe"],
'link_settings':{
'libraries':[
"<!(libusb-config --libs)", '-L/usr/local/lib -lpafe'
]
}
}
],
['OS=="mac"', {
'defines':['HAVE_LIBPAFE'],
'sources': [ 'pafe_addon.cc', 'pafe.cc'],
'include_dirs':["<!(node -e \"require('nan')\")", "/usr/local/include/libpafe"],
'link_settings':{
'libraries':[
"<!(libusb-config --libs)", '-L/usr/local/lib -lpafe'
]
}
}
],
['OS=="win"', {
'defines':['HAVE_FELICALIB'],
'sources': [ 'pafe_addon.cc', 'pafe.cc',
'deps/win/felicalib/felicalib.c',
'deps/win/pasori_open_multi.c'
],
'include_dirs':[
'<(module_root_dir)/deps/win/felicalib',
'<(module_root_dir)/deps/win/include'
],
'cflags': ['/EHsc']
}
]
]
}
]
}