forked from Tsotchke-Corporation/Quantum-RNG-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinding.gyp
More file actions
37 lines (37 loc) · 693 Bytes
/
Copy pathbinding.gyp
File metadata and controls
37 lines (37 loc) · 693 Bytes
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": "quantum_rng",
"sources": [
"src/binding.cc",
"src/quantum_rng/quantum_rng.c"
],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
"src/quantum_rng",
"src/common",
"src"
],
"defines": [
"NAPI_VERSION=8"
],
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
"cflags": [
"-O3",
"-fPIC",
"-march=native",
"-Wall",
"-Wextra"
],
"conditions": [
['OS=="linux"', {
"cflags": [
"-std=c++17"
],
"cflags_cc": [
"-std=c++17"
]
}]
]
}]
}