Subversion Repositories seema-scanner

Rev

Rev 7 | Rev 9 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 8
Line 27... Line 27...
27
        codec/CodecPhaseShift2x3.h \
27
        codec/CodecPhaseShift2x3.h \
28
        triangulator/Triangulator.h \
28
        triangulator/Triangulator.h \
29
        cvtools.h \
29
        cvtools.h \
30
        SMCalibrationParams.h \
30
        SMCalibrationParams.h \
31
        SMCaptureWorker.h \
31
        SMCaptureWorker.h \
32
        SMTriangulationWorker.h \
32
        SMTriangulationWorker.h
33
        SMPreferenceDialog.h
-
 
34
 
33
 
35
SOURCES += main.cpp\
34
SOURCES += main.cpp\
36
        SMScanner.cpp \
35
        SMScanner.cpp \
37
        SMVideoWidget.cpp \
36
        SMVideoWidget.cpp \
38
        SMPointCloudWidget.cpp \
37
        SMPointCloudWidget.cpp \
Line 41... Line 40...
41
        codec/CodecPhaseShift2x3.cpp \
40
        codec/CodecPhaseShift2x3.cpp \
42
        triangulator/Triangulator.cpp \
41
        triangulator/Triangulator.cpp \
43
        cvtools.cpp \
42
        cvtools.cpp \
44
        SMCalibrationParams.cpp \
43
        SMCalibrationParams.cpp \
45
        SMCaptureWorker.cpp \
44
        SMCaptureWorker.cpp \
46
        SMTriangulationWorker.cpp \
45
        SMTriangulationWorker.cpp
47
        SMPreferenceDialog.cpp
-
 
48
 
46
 
49
 
47
 
50
FORMS    += SMScanner.ui \
48
FORMS    += SMScanner.ui \
51
    SMAboutDialog.ui \
49
    SMAboutDialog.ui
52
        SMPreferenceDialog.ui
-
 
53
 
50
 
54
INCLUDEPATH += camera/ projector/ codec/ triangulator/
51
INCLUDEPATH += camera/ projector/ codec/ triangulator/
55
 
52
 
56
 
53
 
57
# Operating System dependant linking and including
54
# Operating System dependant linking and including
Line 204... Line 201...
204
#    SOURCES += projector/OpenGLContext.GLFW.cpp
201
#    SOURCES += projector/OpenGLContext.GLFW.cpp
205
#    LIBS += -L/usr/local/lib/ -lglfw3
202
#    LIBS += -L/usr/local/lib/ -lglfw3
206
}
203
}
207
 
204
 
208
 
205
 
209
# Compile with specific camera driver bindings
206
# Compile with camera driver bindings
210
# libdc1394
-
 
211
unix:!macx:exists(/usr/include/dc1394/dc1394.h) {
-
 
212
    DEFINES += WITH_CAMERAIIDC
-
 
213
    LIBS += -ldc1394
-
 
214
}
-
 
215
macx:exists(/usr/local/include/dc1394/dc1394.h) {
-
 
216
    DEFINES += WITH_CAMERAIIDC
-
 
217
    LIBS += -ldc1394
-
 
218
}
-
 
219
contains(DEFINES, WITH_CAMERAIIDC) {
-
 
220
    HEADERS += camera/CameraIIDC.h
-
 
221
    SOURCES += camera/CameraIIDC.cpp
-
 
222
}
-
 
223
# IDS Imaging libueye
-
 
224
unix:!macx:exists(/usr/include/ueye.h) {
-
 
225
    DEFINES += WITH_CAMERAIDSIMAGING
-
 
226
    LIBS += -lueye_api
-
 
227
}
-
 
228
win32:exists("C:/Program Files/IDS/uEye/Develop/include/uEye.h"){
-
 
229
    DEFINES += WITH_CAMERAIDSIMAGING
-
 
230
    INCLUDEPATH += "C:/Program Files/IDS/uEye/Develop/include/"
-
 
231
    LIBS += -L"C:/Program Files/IDS/uEye/Develop/Lib" -luEye_api_64
-
 
232
}
-
 
233
contains(DEFINES, WITH_CAMERAIDSIMAGING) {
-
 
234
    HEADERS += camera/CameraIDSImaging.h
-
 
235
    SOURCES += camera/CameraIDSImaging.cpp
-
 
236
}
-
 
237
# XIMEA libm3api
-
 
238
unix:!macx:exists(/opt/XIMEA/include/xiApi.h){
-
 
239
    INCLUDEPATH += /opt/XIMEA/include
-
 
240
    DEFINES += WITH_CAMERAXIMEA
-
 
241
    LIBS += -lm3api
-
 
242
}
-
 
243
win32:exists("C:/XIMEA/API/xiApi.h"){
-
 
244
    DEFINES += WITH_CAMERAXIMEA
-
 
245
    INCLUDEPATH += "C:/XIMEA/API"
-
 
246
    LIBS += -L"C:/XIMEA/API/x64" -lm3apiX64
-
 
247
}
-
 
248
macx:exists(/Library/Frameworks/m3api.framework/m3api){
-
 
249
    DEFINES += WITH_CAMERAXIMEA
-
 
250
    INCLUDEPATH += /Library/Frameworks/m3api.framework/Headers/
-
 
251
    LIBS += -framework m3api
-
 
252
}
-
 
253
contains(DEFINES, WITH_CAMERAXIMEA) {
-
 
254
    HEADERS += camera/CameraXIMEA.h
-
 
255
    SOURCES += camera/CameraXIMEA.cpp
-
 
256
}
207
 
257
# Point Grey flycapture
208
# Point Grey flycapture
258
unix:!macx:exists(/usr/include/flycapture/FlyCapture2.h){
209
unix:!macx:exists(/usr/include/flycapture/FlyCapture2.h){
259
    INCLUDEPATH += /usr/include/flycapture
210
    INCLUDEPATH += /usr/include/flycapture
260
    DEFINES += WITH_CAMERAPOINTGREY
211
    DEFINES += WITH_CAMERAPOINTGREY
261
    LIBS += -lflycapture
212
    LIBS += -lflycapture