-
Notifications
You must be signed in to change notification settings - Fork 0
/
SeqFileProcessing2D.pro
116 lines (104 loc) · 3.39 KB
/
SeqFileProcessing2D.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
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
QT += core gui opengl concurrent xml charts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TEMPLATE = app
SOURCES += src/main.cpp \
src/MainWindow.cpp \
src/MainWindow_context.cpp \
src/MainWindow_actions.cpp \
src/MainWindow_io.cpp \
src/MainWindow_ui.cpp \
src/MainWindow_functions.cpp \
src/Viewer.cpp \
src/ViewerWithMouse.cpp \
src/VideoPlayerWidget.cpp \
src/SeqInfoWidget.cpp \
src/FrameSelectWidget.cpp \
src/SegParameterWidget.cpp \
src/TrackingParameterWidget.cpp \
src/Header.cpp \
src/iSeq.cpp \
src/Image.cpp \
src/SegmentationWorker.cpp \
src/MosquitoPosition.cpp \
src/MosquitoesInFrame.cpp \
src/MosquitoRegistry.cpp \
src/TrackPoint.cpp \
src/HistogramWidget.cpp \
src/GraphWidget.cpp \
src/MosquitoesInSeq.cpp \
src/DisplayAllPointsWidget.cpp \
src/MyVideoReader.cpp \
src/Metadata.cpp \
src/DisplaySettingsParameterWidget.cpp \
src/ImageComposer.cpp \
src/MyVideoWriter.cpp \
src/AnimationParameterWidget.cpp \
src/CodecParameterWidget.cpp
HEADERS = src/MainWindow.h \
src/Viewer.h \
src/ViewerWithMouse.h \
src/VideoPlayerWidget.h \
src/SeqInfoWidget.h \
src/FrameSelectWidget.h \
src/SegParameterWidget.h \
src/TrackingParameterWidget.h \
src/Header.hpp \
src/iSeq.hpp \
src/Image.hpp \
src/SegmentationWorker.hpp \
src/MosquitoPosition.hpp \
src/MosquitoesInFrame.hpp \
src/MosquitoRegistry.hpp \
src/TrackPoint.hpp \
src/HistogramWidget.h \
src/GraphWidget.h \
src/MosquitoesInSeq.hpp \
src/DisplayAllPointsWidget.h \
src/MyVideoReader.hpp \
src/Metadata.hpp \
src/DisplaySettingsParameterWidget.h \
src/ImageComposer.hpp \
src/MyVideoWriter.hpp \
src/AnimationParameterWidget.h \
src/CodecParameterWidget.h
#CONFIG += debug
CONFIG += console
CONFIG += c++11
CONFIG += link_pkgconfig
PKGCONFIG += opencv
PKGCONFIG += libavdevice
PKGCONFIG += libavformat
PKGCONFIG += libavfilter
PKGCONFIG += libavcodec
PKGCONFIG += libswresample
PKGCONFIG += libswscale
PKGCONFIG += libavutil
PKGCONFIG += icu-uc
PKGCONFIG += icu-io
QMAKE_CXXFLAGS += -fopenmp \
-D_LARGEFILE64_SOURCE \
-D_FILE_OFFSET_BITS=64 \
-D__STDC_FORMAT_MACROS
LIBS += -fopenmp
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE += -O3
QMAKE_LFLAGS_RELEASE -= -O1
win32 {
RC_FILE = SeqFileProcessing2D.rc
}
RESOURCES += SeqFileProcessing2D.qrc
#variables for about dialog
DEFINES += BUILDHOST='\\"$$system(hostname)\\"'
DEFINES += BUILDUSER='\\"$$system(echo $USER)\\"'
DEFINES += GITVERSION='\\"$$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags --long)\\"'
linux {
CONFIG += debug
iconFile.path = /usr/local/share/icons
iconFile.files = SeqFileProcessing2D.png
INSTALLS += iconFile
desktopFile.path = /usr/local/share/applications
desktopFile.files = SeqFileProcessing2D.desktop
INSTALLS += desktopFile
target.path = /usr/local/bin
INSTALLS += target
}