Repository navigation
Expand file tree
/
Copy pathbinding.gyp
More file actions
74 lines (74 loc) · 2.01 KB
/
Copy pathbinding.gyp
File metadata and controls
74 lines (74 loc) · 2.01 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
{
"targets": [
{
"target_name": "_s2",
"sources": [
"./src/latlng.cc",
"./src/latlngrect.cc",
"./src/cell.cc",
"./src/angle.cc",
"./src/cellid.cc",
"./src/point.cc",
"./src/polygon.cc",
"./src/interval.cc",
"./src/cap.cc",
"./geometry/s2.cc",
"./geometry/s1interval.cc",
"./geometry/util/math/exactfloat/exactfloat.cc",
"./geometry/strings/strutil.cc",
"./geometry/base/stringprintf.cc",
"./geometry/s2cap.cc",
"./geometry/s1angle.cc",
"./geometry/s2cell.cc",
"./geometry/s2cellunion.cc",
"./geometry/s2cellid.cc",
"./geometry/s2edgeindex.cc",
"./geometry/s2edgeutil.cc",
"./geometry/s2latlngrect.cc",
"./geometry/s2loop.cc",
"./geometry/s2pointregion.cc",
"./geometry/s2latlng.cc",
"./geometry/s2polygon.cc",
"./geometry/s2polygonbuilder.cc",
"./geometry/s2polyline.cc",
"./geometry/s2r2rect.cc",
"./geometry/s2region.cc",
"./geometry/s2regioncoverer.cc",
"./geometry/s2regionintersection.cc",
"./viewfinder/viewfinder.cc",
"./src/s2.cc",
],
"defines": [
'NDEBUG'
],
"include_dirs": [
"<!(node -e \"require('nan')\")",
"./viewfinder/",
"./geometry/",
"./geometry/base/",
"./geometry/util/",
"./geometry/util/math/",
"./geometry/strings/"
],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS':[
'-Wno-deprecated',
'-DARCH_K8 -DS2_USE_EXACTFLOAT'
],
'OTHER_LDFLAGS':['-flat_namespace -undefined suppress'],
'GCC_ENABLE_CPP_RTTI': 'YES',
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}],
['OS=="linux"', {
'cflags_cc' : [
'-Wno-deprecated',
'-DARCH_K8 -DS2_USE_EXACTFLOAT'
],
}]
]
}
]
}