forked from Streampunk/grandiose
-
Notifications
You must be signed in to change notification settings - Fork 1
/
binding.gyp
executable file
·38 lines (38 loc) · 967 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
35
36
37
38
{
"targets": [
{
"target_name": "grandiose",
"sources": [
"src/grandiose_util.cc",
"src/grandiose_find.cc",
"src/grandiose_send.cc",
"src/grandiose_receive.cc",
"src/grandiose.cc"
],
"include_dirs": [ "include" ],
'conditions': [
['OS=="win"', {
"link_settings": {
"libraries": [ "Processing.NDI.Lib.x64.lib" ],
"library_dirs": [ "lib/win_x64" ]
},
"copies": [
{
"destination": "build/Release",
"files": [
"lib/win_x64/Processing.NDI.Lib.x64.dll"
]
}
]},
],
['OS=="linux"', {
'conditions': [
['target_arch=="x86" or target_arch=="x64"', {
"libraries": ['-L/lib/x86_64-linux-gnu', '-lndi']
}]
]}
]
]
}
]
}