forked from aras-p/glsl-optimizer
-
Notifications
You must be signed in to change notification settings - Fork 2
/
binding.gyp
39 lines (39 loc) · 833 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
39
{
'includes': [
'target_defaults.gypi',
],
'targets': [
{
"include_dirs" : [
"<!(node -e \"require('nan')\")"
],
'target_name': 'glslOptimizer',
'dependencies': [
'src/glsl_optimizer_lib.gyp:*',
],
'sources': [
'src/node/binding.cpp',
'src/node/shader.h',
'src/node/shader.cpp',
'src/node/compiler.h',
'src/node/compiler.cpp'
],
'conditions': [
['OS=="win"', {
'msvs_disabled_warnings': [4506],
}],
],
},
{
'target_name': 'action_after_build',
'type': 'none',
'dependencies': [ 'glslOptimizer' ],
'copies': [
{
'files': [ '<(PRODUCT_DIR)/glslOptimizer.node' ],
'destination': 'lib/'
}
]
}
]
}