-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
executable file
·169 lines (165 loc) · 4.99 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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"targets": [{
"target_name": "opencv4nodejs",
"defines": [
"<!@(node ./lib/defines.js)",
],
"include_dirs" : [
"<!@(node ./lib/includes.js)",
"cc",
"cc/core",
"cc/modules",
"<!(node -e \"require('nan')\")",
"<!(node -e \"require('macro-inferno')\")",
"<!(node -e \"require('native-node-utils')\")"
],
"libraries": [
"<!@(node ./lib/libs.js)"
],
"sources": [
"cc/opencv4nodejs.cc",
"cc/CustomMatAllocator.cc",
"cc/ExternalMemTracking.cc",
"cc/cvTypes/cvTypes.cc",
"cc/cvTypes/imgprocConstants.cc",
"cc/cvTypes/photoConstants.cc",
"cc/cvTypes/videoCaptureProps.cc",
"cc/core/core.cc",
"cc/core/Mat.cc",
"cc/core/MatImgproc.cc",
"cc/core/MatCalib3d.cc",
"cc/core/Point.cc",
"cc/core/Vec.cc",
"cc/core/Size.cc",
"cc/core/Rect.cc",
"cc/core/RotatedRect.cc",
"cc/core/TermCriteria.cc",
"cc/modules/io/io.cc",
"cc/modules/io/VideoCapture.cc",
"cc/modules/io/VideoWriter.cc",
"cc/modules/photo/photo.cc",
"cc/modules/video/video.cc",
"cc/modules/video/BackgroundSubtractor.cc",
"cc/modules/video/BackgroundSubtractorMOG2.cc",
"cc/modules/video/BackgroundSubtractorKNN.cc",
"cc/modules/calib3d/calib3d.cc",
"cc/modules/imgproc/imgproc.cc",
"cc/modules/imgproc/Contour.cc",
"cc/modules/imgproc/Moments.cc",
"cc/modules/ximgproc/ximgproc.cc",
"cc/modules/ximgproc/SuperpixelSEEDS.cc",
"cc/modules/ximgproc/SuperpixelSLIC.cc",
"cc/modules/ximgproc/SuperpixelLSC.cc",
"cc/modules/objdetect/objdetect.cc",
"cc/modules/objdetect/CascadeClassifier.cc",
"cc/modules/objdetect/HOGDescriptor.cc",
"cc/modules/objdetect/DetectionROI.cc",
"cc/modules/machinelearning/machinelearning.cc",
"cc/modules/machinelearning/ParamGrid.cc",
"cc/modules/machinelearning/StatModel.cc",
"cc/modules/machinelearning/SVM.cc",
"cc/modules/machinelearning/TrainData.cc",
"cc/modules/dnn/dnn.cc",
"cc/modules/dnn/Net.cc",
"cc/modules/face/face.cc",
"cc/modules/face/FaceRecognizer.cc",
"cc/modules/face/EigenFaceRecognizer.cc",
"cc/modules/face/FisherFaceRecognizer.cc",
"cc/modules/face/LBPHFaceRecognizer.cc",
"cc/modules/face/Facemark.cc",
"cc/modules/face/FacemarkAAM.cc",
"cc/modules/face/FacemarkAAMData.cc",
"cc/modules/face/FacemarkAAMParams.cc",
"cc/modules/face/FacemarkLBF.cc",
"cc/modules/face/FacemarkLBFParams.cc",
"cc/modules/text/text.cc",
"cc/modules/text/OCRHMMClassifier.cc",
"cc/modules/text/OCRHMMDecoder.cc",
"cc/modules/tracking/tracking.cc",
"cc/modules/tracking/Tracker.cc",
"cc/modules/tracking/MultiTracker.cc",
"cc/modules/tracking/Trackers/TrackerBoosting.cc",
"cc/modules/tracking/Trackers/TrackerBoostingParams.cc",
"cc/modules/tracking/Trackers/TrackerKCF.cc",
"cc/modules/tracking/Trackers/TrackerKCFParams.cc",
"cc/modules/tracking/Trackers/TrackerMIL.cc",
"cc/modules/tracking/Trackers/TrackerMILParams.cc",
"cc/modules/tracking/Trackers/TrackerMedianFlow.cc",
"cc/modules/tracking/Trackers/TrackerTLD.cc",
"cc/modules/tracking/Trackers/TrackerGOTURN.cc",
"cc/modules/features2d/features2d.cc",
"cc/modules/features2d/KeyPoint.cc",
"cc/modules/features2d/KeyPointMatch.cc",
"cc/modules/features2d/DescriptorMatch.cc",
"cc/modules/features2d/BFMatcher.cc",
"cc/modules/features2d/FeatureDetector.cc",
"cc/modules/features2d/descriptorMatching.cc",
"cc/modules/features2d/descriptorMatchingKnn.cc",
"cc/modules/features2d/detectors/AGASTDetector.cc",
"cc/modules/features2d/detectors/AKAZEDetector.cc",
"cc/modules/features2d/detectors/BRISKDetector.cc",
"cc/modules/features2d/detectors/FASTDetector.cc",
"cc/modules/features2d/detectors/GFTTDetector.cc",
"cc/modules/features2d/detectors/KAZEDetector.cc",
"cc/modules/features2d/detectors/MSERDetector.cc",
"cc/modules/features2d/detectors/ORBDetector.cc",
"cc/modules/features2d/detectors/SimpleBlobDetector.cc",
"cc/modules/features2d/detectors/SimpleBlobDetectorParams.cc",
"cc/modules/xfeatures2d/xfeatures2d.cc",
"cc/modules/xfeatures2d/SIFTDetector.cc",
"cc/modules/xfeatures2d/SURFDetector.cc"
],
"cflags" : [
"-std=c++11"
],
"cflags!" : [
"-fno-exceptions"
],
"cflags_cc!": [
"-fno-rtti",
"-fno-exceptions"
],
"ldflags" : [
"-Wl,-rpath,'$$ORIGIN'"
],
"xcode_settings": {
"OTHER_CFLAGS": [
"-std=c++11",
"-stdlib=libc++"
],
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
},
"conditions": [
[ "OS==\"win\"", {
"cflags": [
"-Wall"
],
"defines": [
"WIN",
"_HAS_EXCEPTIONS=1"
],
"msvs_settings": {
"VCCLCompilerTool": {
"ExceptionHandling": "2",
"RuntimeLibrary": "2"
},
}
}],
["OS==\"mac\"",
{
"link_settings": {
"libraries": [
"-Wl,-rpath,@loader_path/../../../opencv-build/opencv/build/lib"
],
}
}
]
],
"configurations": {
"Debug": {
"cflags": ["--coverage"],
"ldflags": ["--coverage"]
},
}
}]
}