forked from SalvatorePreviti/roaring-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
37 lines (37 loc) · 1.44 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
{
"targets": [
{
"target_name": "roaring",
"default_configuration": "Release",
"cflags_cc": ["-O3", "-std=c++14", "-fno-rtti", "-fno-exceptions", "-fvisibility=hidden", "-flto", "-Wno-unused-variable", "-Wno-cast-function-type"],
'xcode_settings': {
'OTHER_CFLAGS': ["-O3", "-std=c++14", "-mcpu=native", "-fno-rtti", "-fno-exceptions", "-fvisibility=hidden", "-flto"],
},
"sources": [
"src/cpp/RoaringBitmap32.cpp"
],
"conditions": [
[
"OS=='win'", {
"configurations": {
"Release": {
"msvs_settings": {
"VCCLCompilerTool": {
"AdditionalOptions": ["/std:c++latest", "/Zc:__cplusplus"]
}
}
},
"Debug": {
"msvs_settings": {
"VCCLCompilerTool": {
"AdditionalOptions": ["/std:c++latest", "/Zc:__cplusplus"]
}
}
}
}
}
]
]
}
]
}