forked from zeitungen/node-rpi-rgb-led-matrix
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbinding.gyp
executable file
·41 lines (37 loc) · 1.23 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
38
39
40
41
{
"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/", "<!(node -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",
],
"defines": [
"DFIXED_FRAME_MICROSECONDS=8500",
],
"libraries": ["-lrt", "-lm", "-lpthread"],
"include_dirs": [ "external/matrix/include" ],
"direct_dependent_settings": {
"include_dirs": [ "external/matrix/include" ]
}
}
]
}