-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbinding.gyp
58 lines (56 loc) · 1.38 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"targets":[
{
"target_name": "hapi",
"sources": [ "src/node-hapi.cpp" ],
'include_dirs': [
'src',
],
'conditions': [
['OS=="win"', {
'variables': {
'HFS': 'C:/Program Files/Side Effects Software/Houdini 18.0.597'
},
'include_dirs': [
'<(HFS)/toolkit/include/'
],
'library_dirs': [
'<(HFS)/custom/houdini/dsolib'
],
'libraries': [
'<(HFS)/custom/houdini/dsolib/libHAPIL.lib',
'<(HFS)/custom/houdini/dsolib/libFBX.lib',
'<(HFS)/custom/houdini/dsolib/libROP.lib',
'<(HFS)/custom/houdini/dsolib/libGLTF.lib',
'<(HFS)/custom/houdini/dsolib/libSYS.lib',
'<(HFS)/custom/houdini/dsolib/libUT.lib',
],
'defines' : [
'WIN32_LEAN_AND_MEAN',
'VC_EXTRALEAN'
],
'msvs_settings' : {
'VCCLCompilerTool' : {
'AdditionalOptions' : ['/Ox', '/EHsc', '/GR']
},
'VCLinkerTool' : {
'AdditionalOptions' : []
},
},
'copies': [
{
'destination': './build/Release/',
'files': [
"<!@(node -p \"require('fs').readdirSync('C:/Program Files/Side Effects Software/Houdini 18.0.499/bin').filter(f=>f.endsWith('.dll')).map(f=>`'C:/Program Files/Side Effects Software/Houdini 18.0.499/bin/${f}'`).join(' ')\")"
]
}
]
}],
['OS=="mac"', {
}],
['OS=="linux"', {
}],
],
}
]
}