-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinding.gyp
More file actions
62 lines (62 loc) · 1.29 KB
/
binding.gyp
File metadata and controls
62 lines (62 loc) · 1.29 KB
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
{
"targets": [
{
"target_name": "binding",
"sources": [
"binding.cc"
],
"cflags": [
"-fexceptions",
"-std=c++2a",
"-Wall",
"-Wextra",
"-Wno-sign-compare",
"-Wno-unused-parameter",
"-Wno-missing-field-initializers",
"-Wno-cast-function-type",
"-O3",
"-march=znver1",
"-g"
],
'cflags_cc': [
"-fexceptions",
"-march=znver1",
],
"defines": [
"NDEBUG",
"NOMINMAX"
],
"include_dirs": [
"<!(node -e \"require('napi-macros')\")",
"vendor/re2",
"vendor/abseil-cpp",
],
"xcode_settings": {
"MACOSX_DEPLOYMENT_TARGET": "10.15",
"CLANG_CXX_LANGUAGE_STANDARD": "c++2a",
"CLANG_CXX_LIBRARY": "libc++",
"OTHER_CFLAGS": [
"-std=c++2a",
"-fexceptions",
"-Wall",
"-Wextra",
"-Wno-sign-compare",
"-Wno-unused-parameter",
"-Wno-missing-field-initializers",
"-O3",
"-g"
]
},
"conditions": [
["OS==\"linux\"", {
"cflags": [
"-pthread"
],
"ldflags": [
"-pthread"
]
}],
]
}
]
}