forked from tyduptyler13/MyEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
60 lines (60 loc) · 1.33 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
59
60
{
'targets': [
{
'target_name': 'MyEngineBinding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [
'src/nbind/Vector2.cpp',
'src/nbind/Vector3.cpp',
'src/nbind/Vector4.cpp',
'src/nbind/Object3D.cpp',
'src/nbind/Scene.cpp',
'src/nbind/Camera.cpp',
'src/nbind/PerspectiveCamera.cpp',
'src/nbind/Renderer.cpp',
'src/nbind/GLES2Renderer.cpp',
'src/nbind/Geometries/BoxGeometry.cpp',
'src/nbind/Geometries/SphereGeometry.cpp',
'src/nbind/Mesh.cpp',
'src/nbind/GeometryImporter.cpp',
'src/nbind/GLES2OverlaySystem.cpp',
'src/nbind/GLES2MaterialLib.cpp',
'src/nbind/Material.cpp',
'src/nbind/BufferGeometry.cpp',
'src/nbind/Geometry.cpp',
'src/nbind/Materials/GLES2NormalMaterial.cpp',
'src/nbind/SoundObject.cpp'
],
'dependencies': [ 'build.gyp:MyEngine' ],
'cflags': [
'-fpic'
],
"cflags_cc": [
'-std=c++14'
],
'ldflags': [
'-Wl,-rpath,.',
'-Wl,-rpath,build/Debug',
'-Wl,-rpath,build/Release'
],
'cflags!': [
'-fno-exceptions',
'-fPIC'
],
'cflags_cc!': [
'-fno-exceptions',
'-fno-rtti',
'-std=gnu++0x',
'-std=c++11',
'-fPIC'
],
'include_dirs': [
'node_modules/nbind/include',
'node_modules/nan'
],
'includes': [
'node_modules/nbind/src/nbind.gypi'
]
}
]
}