-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbinding.gyp
More file actions
75 lines (75 loc) · 1.8 KB
/
binding.gyp
File metadata and controls
75 lines (75 loc) · 1.8 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
68
69
70
71
72
73
74
75
{
"targets": [
{
"target_name": "native_module",
"sources": [
"cpp/native-module-napi.cpp"
],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
"<(module_root_dir)/lib/eigen-3.4.0/"
],
"cflags!": [
"-fno-exceptions"
],
"cflags_cc!": [
"-fno-exceptions"
],
"defines": [
"NAPI_DISABLE_CPP_EXCEPTIONS"
],
"msvs_settings": {
"VCCLCompilerTool": {
"AdditionalOptions": [
"-std:c++17"
]
}
}
},
{
"target_name": "alpha_shape_3d",
"sources": [
"cpp/alpha-shape-3d-napi.cpp"
],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
"<(module_root_dir)/lib/cgal-6.0.1/include/",
"<(module_root_dir)/lib/cgal-6.0.1/auxiliary/gmp/include",
"<(module_root_dir)/lib/boost-1.86.0/"
],
"libraries": [
"<(module_root_dir)/lib/cgal-6.0.1/auxiliary/gmp/lib/gmp.lib",
"<(module_root_dir)/lib/cgal-6.0.1/auxiliary/gmp/lib/mpfr.lib"
],
"cflags!": [
"-fno-exceptions"
],
"cflags_cc!": [
"-fno-exceptions",
"-O3",
"-DNDEBUG"
],
"defines": [
"NAPI_DISABLE_CPP_EXCEPTIONS"
],
"copies": [
{
"destination": "<(module_root_dir)/build/Release",
"files": [
"<(module_root_dir)/lib/cgal-6.0.1/auxiliary/gmp/bin/gmp-10.dll",
"<(module_root_dir)/lib/cgal-6.0.1/auxiliary/gmp/bin/mpfr-6.dll"
]
}
],
"msvs_settings": {
"VCCLCompilerTool": {
"AdditionalOptions": [
"-std:c++17",
"/GR",
"/EHsc"
]
}
}
}
]
}