forked from ludiazv/node-nrf24
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinding.gyp
More file actions
31 lines (30 loc) · 889 Bytes
/
binding.gyp
File metadata and controls
31 lines (30 loc) · 889 Bytes
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
{
'targets': [
{
'target_name': 'nRF24',
'sources': [ 'irq.cc','tryabort.cc','rf24_util.cc',
'rf24.cc', 'rf24_setup.cc', 'rf24_worker.cc','rf24_stats.cc',
'rf24mesh.cc',
'rf24_init.cc'
],
"cflags": [
"-std=c++11","-fexceptions","-Ofast"
],
'cflags_cc': [ '-fexceptions',"-std=c++11","-Ofast" ],
"include_dirs": [
"<!(node -e \"require('nan')\")",
"<!(node -e \"require('nan-check')\")",
"<!(node -e \"require('nan-marshal')\")",
"/usr/local/include/RF24",
"/usr/local/include/RF24Network",
"/usr/local/include/RF24Mesh",
"/usr/local/include/RF24Gateway"
],
'defines': [
],
'link_settings': {
'libraries': ['-lrf24 -lrf24network -lrf24mesh -lrf24gateway'],
}
}
]
}