forked from justadudewhohacks/opencv4nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
176 lines (172 loc) · 4.77 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
170
171
172
173
174
175
176
{
"targets": [{
"target_name": "opencv4nodejs",
"defines": [
"<!@(node ./install/parseEnv.js OPENCV4NODEJS_DEFINES)",
],
"include_dirs" : [
"<!@(node ./install/parseEnv.js OPENCV4NODEJS_INCLUDES)",
"cc",
"cc/core",
"<!(node -e \"require('nan')\")",
"<!(node -e \"require('native-node-utils')\")"
],
"libraries": [
"<!@(node ./install/parseEnv.js OPENCV4NODEJS_LIBRARIES)",
],
"sources": [
"cc/opencv4nodejs.cc",
"cc/CustomMatAllocator.cc",
"cc/ExternalMemTracking.cc",
"cc/core/core.cc",
"cc/core/coreConstants.cc",
"cc/core/HistAxes.cc",
"cc/core/Mat.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/imgproc/imgproc.cc",
"cc/imgproc/imgprocConstants.cc",
"cc/imgproc/MatImgproc.cc",
"cc/imgproc/Contour.cc",
"cc/imgproc/Moments.cc",
"cc/calib3d/calib3d.cc",
"cc/calib3d/calib3dConstants.cc",
"cc/calib3d/MatCalib3d.cc",
"cc/io/io.cc",
"cc/io/ioConstants.cc",
"cc/io/VideoCapture.cc",
"cc/io/VideoWriter.cc",
"cc/photo/photo.cc",
"cc/photo/photoConstants.cc",
"cc/photo/MatPhoto.cc",
"cc/video/video.cc",
"cc/video/BackgroundSubtractor.cc",
"cc/video/BackgroundSubtractorMOG2.cc",
"cc/video/BackgroundSubtractorKNN.cc",
"cc/ximgproc/ximgproc.cc",
"cc/ximgproc/MatXimgproc.cc",
"cc/ximgproc/SuperpixelSEEDS.cc",
"cc/ximgproc/SuperpixelSLIC.cc",
"cc/ximgproc/SuperpixelLSC.cc",
"cc/objdetect/objdetect.cc",
"cc/objdetect/CascadeClassifier.cc",
"cc/objdetect/HOGDescriptor.cc",
"cc/objdetect/DetectionROI.cc",
"cc/machinelearning/machinelearning.cc",
"cc/machinelearning/machinelearningConstants.cc",
"cc/machinelearning/ParamGrid.cc",
"cc/machinelearning/StatModel.cc",
"cc/machinelearning/SVM.cc",
"cc/machinelearning/TrainData.cc",
"cc/dnn/dnn.cc",
"cc/dnn/Net.cc",
"cc/face/face.cc",
"cc/face/FaceRecognizer.cc",
"cc/face/EigenFaceRecognizer.cc",
"cc/face/FisherFaceRecognizer.cc",
"cc/face/LBPHFaceRecognizer.cc",
"cc/face/Facemark.cc",
"cc/face/FacemarkAAM.cc",
"cc/face/FacemarkAAMData.cc",
"cc/face/FacemarkAAMParams.cc",
"cc/face/FacemarkLBF.cc",
"cc/face/FacemarkLBFParams.cc",
"cc/text/text.cc",
"cc/text/OCRHMMClassifier.cc",
"cc/text/OCRHMMDecoder.cc",
"cc/tracking/tracking.cc",
"cc/tracking/Tracker.cc",
"cc/tracking/MultiTracker.cc",
"cc/tracking/Trackers/TrackerBoosting.cc",
"cc/tracking/Trackers/TrackerBoostingParams.cc",
"cc/tracking/Trackers/TrackerKCF.cc",
"cc/tracking/Trackers/TrackerKCFParams.cc",
"cc/tracking/Trackers/TrackerMIL.cc",
"cc/tracking/Trackers/TrackerMILParams.cc",
"cc/tracking/Trackers/TrackerMedianFlow.cc",
"cc/tracking/Trackers/TrackerTLD.cc",
"cc/tracking/Trackers/TrackerGOTURN.cc",
"cc/tracking/Trackers/TrackerCSRT.cc",
"cc/tracking/Trackers/TrackerCSRTParams.cc",
"cc/tracking/Trackers/TrackerMOSSE.cc",
"cc/features2d/features2d.cc",
"cc/features2d/KeyPoint.cc",
"cc/features2d/KeyPointMatch.cc",
"cc/features2d/DescriptorMatch.cc",
"cc/features2d/BFMatcher.cc",
"cc/features2d/FeatureDetector.cc",
"cc/features2d/descriptorMatching.cc",
"cc/features2d/descriptorMatchingKnn.cc",
"cc/features2d/detectors/AGASTDetector.cc",
"cc/features2d/detectors/AKAZEDetector.cc",
"cc/features2d/detectors/BRISKDetector.cc",
"cc/features2d/detectors/FASTDetector.cc",
"cc/features2d/detectors/GFTTDetector.cc",
"cc/features2d/detectors/KAZEDetector.cc",
"cc/features2d/detectors/MSERDetector.cc",
"cc/features2d/detectors/ORBDetector.cc",
"cc/features2d/detectors/SimpleBlobDetector.cc",
"cc/features2d/detectors/SimpleBlobDetectorParams.cc",
"cc/xfeatures2d/xfeatures2d.cc",
"cc/xfeatures2d/SIFTDetector.cc",
"cc/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",
"MACOSX_DEPLOYMENT_TARGET": "10.9"
},
"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"]
},
}
}]
}