-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbinding.gyp
More file actions
67 lines (67 loc) · 2.26 KB
/
binding.gyp
File metadata and controls
67 lines (67 loc) · 2.26 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
63
64
65
66
67
{
"variables": {
"openssl_fips": ''
},
"targets": [
{
"target_name": "<(module_name)",
"product_dir": "<(module_path)",
"default_configuration": "Release",
"include_dirs": ["submodules/CRoaring/include"],
"cflags_cc": [
"-O3",
"-g0",
"-std=c++20",
"-fno-rtti",
"-fno-exceptions",
"-fvisibility=hidden",
"-flto",
"-DNDEBUG",
"-ffunction-sections",
"-fdata-sections",
"-fomit-frame-pointer",
"-fno-unwind-tables",
"-fno-asynchronous-unwind-tables",
"-Wno-unused-function",
"-Wno-unused-variable",
"-Wno-cast-function-type"
],
"ldflags": ["-s", "-Wl,--gc-sections"],
"xcode_settings": {
"GCC_GENERATE_DEBUGGING_SYMBOLS": "NO",
"OTHER_CFLAGS": [
"-O3",
"-g0",
"-std=c++20",
"-fno-rtti",
"-fno-exceptions",
"-fvisibility=hidden",
"-flto",
"-DNDEBUG",
"-ffunction-sections",
"-fdata-sections",
"-fomit-frame-pointer",
"-fno-unwind-tables",
"-fno-asynchronous-unwind-tables",
"-Wno-unused-function",
"-Wno-unused-variable",
"-Wno-cast-function-type"
],
"OTHER_LDFLAGS": ["-Wl,-dead_strip"]
},
"msvs_settings": {
"VCCLCompilerTool": {
"DebugInformationFormat": 0,
"Optimization": 3,
"EnableFunctionLevelLinking": "true",
"AdditionalOptions": ["/O2", "/std:c++latest", "/DNDEBUG", "/Gy", "/Gw"]
},
"VCLinkerTool": {
"OptimizeReferences": "2",
"EnableCOMDATFolding": "2"
}
},
"sources": ["roaring-node.cpp"]
}
]
}