-
Notifications
You must be signed in to change notification settings - Fork 12
/
binding.gyp
27 lines (27 loc) · 1.1 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
{
"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++17", "-fno-rtti", "-fno-exceptions", "-fvisibility=hidden", "-flto", "-Wno-unused-function", "-Wno-unused-variable", "-Wno-cast-function-type"],
"ldflags": ["-s"],
"xcode_settings": {
"GCC_GENERATE_DEBUGGING_SYMBOLS": "NO",
"OTHER_CFLAGS": ["-O3", "-g0", "-std=c++17", "-fno-rtti", "-fno-exceptions", "-fvisibility=hidden", "-flto", "-Wno-unused-function", "-Wno-unused-variable", "-Wno-cast-function-type"],
},
"msvs_settings": {
"VCCLCompilerTool": {
"DebugInformationFormat": 0,
"Optimization": 3,
"AdditionalOptions": ["/O2", "/std:c++latest"]
}
},
"sources": ["roaring-node.cpp"]
}
]
}