-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.pro
81 lines (70 loc) · 1.88 KB
/
main.pro
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
DEFINES += _USE_MATH_DEFINES
CONFIG += console
QT += core opengl xml
OPENCV_LIB
!win32 {
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS_WARN_ON += -Wall
QMAKE_CXXFLAGS_WARN_ON += -Wall
}
win32 {
QMAKE_CXXFLAGS_RELEASE += /Zi
QMAKE_LFLAGS_RELEASE += /DEBUG
QMAKE_CXXFLAGS_WARN_ON += /W0
QMAKE_CXXFLAGS_WARN_ON += /W0
QMAKE_CXXFLAGS += -MP8
QMAKE_LFLAGS += -LARGEADDRESSAWARE
QMAKE_CFLAGS_RELEASE += /MD
QMAKE_CXXFLAGS_RELEASE += /MD
QMAKE_CFLAGS_DEBUG += /MDd
QMAKE_CXXFLAGS_DEBUG += /MDd
}
INCLUDEPATH += \
$(CUDA_PATH)\\include \
Include \
Include\\CUDA \
$(GLEW_INCLUDE_PATH) \
$(FREEGLUT_INCLUDE_PATH) \
$(ASSIMP_INCLUDE_PATH) \
Include\\CUDA \
$(OPENCV_INCLUDE_PATH) \
$(KINECT_INCLUDE_PATH) \
$(FREENECT2_INCLUDE_PATH) \
$(ARUCO_DIR)\\include \
$(LIBREALSENSE_DIR)\\include \
CONFIG(release, debug | release){
LIBS += \
$(CUDA_PATH)\\lib\\$(PlatformName)\\cudart.lib \
$(OPENCV_DIR)\\lib\\opencv_core2410.lib \
$(OPENCV_DIR)\\lib\\opencv_imgproc2410.lib \
$(OPENCV_DIR)\\lib\\opencv_highgui2410.lib \
$(OPENCV_DIR)\\lib\\opencv_contrib2410.lib \
$(OPENCV_DIR)\\lib\\opencv_calib3d2410.lib \
$(OPENCV_DIR)\\lib\\opencv_flann2410.lib \
$(OPENCV_DIR)\\lib\\opencv_gpu2410.lib \
$(FREENECT2_LIB_PATH)\\freenect2.lib \
$(ARUCO_DIR)\\lib\\aruco130.lib \
$(LIBREALSENSE_DIR)\\bin\\x64\\realsense.lib\
}
else {
LIBS += \
$(CUDA_PATH)\\lib\\$(PlatformName)\\cudart.lib \
$(OPENCV_DIR)\\lib\\opencv_core2410d.lib \
$(OPENCV_DIR)\\lib\\opencv_imgproc2410d.lib \
$(OPENCV_DIR)\\lib\\opencv_highgui2410d.lib \
$(OPENCV_DIR)\\lib\\opencv_contrib2410d.lib \
$(OPENCV_DIR)\\lib\\opencv_calib3d2410d.lib \
$(OPENCV_DIR)\\lib\\opencv_flann2410d.lib \
$(OPENCV_DIR)\\lib\\opencv_gpu2410d.lib \
$(FREENECT2_LIB_PATH)\\freenect2.lib \
$(ARUCO_DIR)\\lib\\aruco130.lib \
$(LIBREALSENSE_DIR)\\bin\\x64\\realsense.lib\
}
TARGET = Main
RESOURCES = main.qrc
HEADERS += \
include\\*.h \
SOURCES += \
main.cpp \
src\\*.cpp \
src\\*.cu \