-
Notifications
You must be signed in to change notification settings - Fork 48
/
binding.gyp
executable file
·37 lines (34 loc) · 1.17 KB
/
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
35
36
37
{
"targets": [
{
"target_name": "node-rpi-rgb-led-matrix",
"sources": [ "src/base.cc", "src/ledmatrix.cc", "src/image.cc" ],
"dependencies": [ "./binding.gyp:rpi-rgb-led-matrix" ],
"include_dirs": [ "./external/matrix/include", "./include/", "<!(nodejs -e \"require('nan')\")" ]
},
{
"target_name": "rpi-rgb-led-matrix",
"type": "static_library",
"sources": [
"./external/matrix/lib/transformer.cc",
"./external/matrix/lib/thread.cc",
"./external/matrix/lib/pixel-mapper.cc",
"./external/matrix/lib/options-initialize.cc",
"./external/matrix/lib/multiplex-mappers.cc",
"./external/matrix/lib/led-matrix-c.cc",
"./external/matrix/lib/led-matrix.cc",
"./external/matrix/lib/graphics.cc",
"./external/matrix/lib/gpio.cc",
"./external/matrix/lib/framebuffer.cc",
"./external/matrix/lib/content-streamer.cc",
"./external/matrix/lib/bdf-font.cc",
"./external/matrix/lib/hardware-mapping.c",
],
"libraries": ["-lrt", "-lm", "-lpthread"],
"include_dirs": [ "external/matrix/include" ],
"direct_dependent_settings": {
"include_dirs": [ "external/matrix/include" ]
}
}
]
}