forked from signalfx/splunk-otel-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinding.gyp
49 lines (49 loc) · 1.05 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
{
"targets": [{
"target_name": "metrics",
"sources": [
"src/native_ext/util/arena.cpp",
"src/native_ext/util/hex.cpp",
"src/native_ext/module.cpp",
"src/native_ext/metrics.cpp",
"src/native_ext/memory_profiling.cpp",
"src/native_ext/profiling.cpp",
"src/native_ext/util/modp_numtoa.cpp",
"src/native_ext/util/platform.cpp"
],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
"conditions": [
["OS == 'linux'", {
"cflags": [
"-std=c++11",
"-Wall",
"-Werror"
],
"cflags_cc": [
"-Wno-attributes"
]
}],
["OS == 'win'", {
"cflags": [
"/WX"
],
"defines": [
"NOMINMAX"
]
}],
["OS == 'mac'", {
"xcode_settings": {
"MACOSX_DEPLOYMENT_TARGET": "10.10",
"OTHER_CFLAGS": [
"-std=c++14",
"-stdlib=libc++",
"-Wall",
"-Werror"
]
},
}],
]
}]
}