-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinding.gyp
89 lines (88 loc) · 2.72 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
'targets': [
{
'target_name': 'exokit',
'sources': [
'module/module.cpp',
'module/renderer.cpp',
'module/renderer.h',
'src/avrenderer/aardvark_renderer.cpp',
'src/avrenderer/aardvark_renderer.h',
'src/avrenderer/avserver.cpp',
'src/avrenderer/avserver.h',
'src/avrenderer/av_cef_app.cpp',
'src/avrenderer/av_cef_app.h',
'src/avrenderer/iapplication.h',
'src/avrenderer/javascript_renderer.cpp',
'src/avrenderer/javascript_renderer.h',
'src/avrenderer/vrmanager.cpp',
'src/avrenderer/vrmanager.h',
'src/avrenderer/out.cpp',
'src/avrenderer/out.h',
'src/avrenderer/file_io.cpp',
'src/avrenderer/file_io.h',
'src/avrenderer/matrix.cpp',
'src/avrenderer/matrix.h',
'src/gltfpbr_base/VulkanExampleBase.cpp',
'src/gltfpbr_base/vulkanutils.cpp',
'src/tools/pathtools.cpp',
'src/tools/stringtools.cpp',
'src/gltfpbr_base/descriptormanager.cpp',
'src/thirdparty/sjpeg/headers.cc',
'src/thirdparty/sjpeg/enc.cc',
'src/thirdparty/sjpeg/bit_writer.cc',
'src/thirdparty/sjpeg/colors_rgb.cc',
'src/thirdparty/sjpeg/dichotomy.cc',
'src/thirdparty/sjpeg/fdct.cc',
'src/thirdparty/sjpeg/yuv_convert.cc',
'src/thirdparty/sjpeg/jpeg_tools.cc',
'src/thirdparty/sjpeg/score_7.cc',
],
'include_dirs': [
"<!(node -e \"console.log(require.resolve('nan').slice(0, -16))\")",
'src/avrenderer',
'src/public',
'src/thirdparty',
'src/thirdparty/tinygltf',
'src/thirdparty/glm',
'src/thirdparty/gli',
'src/gltfpbr_base',
'src/thirdparty/openvr/headers',
# 'src/thirdparty/tiny-process-library',
],
'library_dirs': [
# "<!(node -e \"console.log(require.resolve('native-graphics-deps').slice(0, -9) + '/lib/windows/glew')\")",
'src/thirdparty/vulkan/libs',
'src/thirdparty/openvr/lib/win64',
],
'libraries': [
'psapi.lib',
'vulkan-1.lib',
'openvr_api.lib',
'dxgi.lib',
'd3d11.lib',
# 'opengl32.lib',
],
'copies': [
{
'destination': '<(module_root_dir)/build/Release/',
'files': [
'bin/openvr_api.dll',
]
},
],
'defines': [
'_CRT_SECURE_NO_WARNINGS',
'_USE_MATH_DEFINES',
'_SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING',
'NOMINMAX',
'VK_USE_PLATFORM_WIN32_KHR',
],
"msvs_settings": {
"VCCLCompilerTool": {
"AdditionalOptions": ['/std:c++17']
}
},
},
],
}