This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbinding.gyp
60 lines (56 loc) · 1.84 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
{
'variables': {},
"targets": [
{
"target_name":
"node-windows-x64",
# https://chromium.googlesource.com/external/skia/gyp/+/6b0b63f3d444e68d91f6c3b066e1597f18db05a9/common_conditions.gypi
'msvs_settings': {
"VCCLCompilerTool": {
'WarningLevel': '4',
"AdditionalOptions": [
"/utf-8",
"/EHsc",
"/std:c++latest",
],
}
},
"sources": [
"src/ajanuw.cpp",
"src/createThread.hpp",
"src/mem.hpp",
"src/target.hpp",
"src/test.hpp",
"src/invoke.hpp",
"src/tools.hpp",
"src/byte_table.hpp",
"src/va_manage.cpp",
"src/win32_gui.cpp",
"src/global_define.hpp",
"src/main.cpp",
"src/_util.hpp",
],
# headers
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
'<(module_root_dir)/include',
],
'defines': ['NAPI_DISABLE_CPP_EXCEPTIONS'],
# link libs
'link_settings': {
'library_dirs': [
# '<(module_root_dir)/deps_release/lib',
],
'libraries': [
# '-lasmjit.lib', '-lasmtk.lib',
'-l<(module_root_dir)/deps_release/lib/**',
],
},
# Copy the dll after packaging
"copies": [{
"destination": "<(module_root_dir)/build/Release/",
"files": ["<(module_root_dir)/deps_release/dll/**"]
}]
},
]
}