-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
binding.gyp
34 lines (33 loc) · 931 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
33
34
{
"variables": {
"openssl_fips" : "0"
},
'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++14","-fexceptions","-Ofast", "-Wno-cast-function-type"
],
'cflags_cc': [ '-fexceptions',"-std=c++14","-Ofast" ],
"include_dirs": [
"<!(node -e \"require('nan')\")",
"<!(node -e \"require('nan-check')\")",
"nan-lib",
"rf24libs/include",
"rf24libs/include/RF24",
"rf24libs/include/RF24Network",
"rf24libs/include/RF24Mesh"
],
'defines': [
],
'link_settings': {
'libraries': ['-L<(module_root_dir)/rf24libs','-lrf24 -lrf24net -lrf24mesh'],
}
}
]
}