-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcorrtrack.pro
157 lines (138 loc) · 4.29 KB
/
corrtrack.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
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
# This file is part of the particle tracking software CorrTrack.
#
# Copyright 2018-2019 Nicolas Bruot and CNRS
# Copyright 2016-2018 Nicolas Bruot
#
#
# CorrTrack is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# CorrTrack is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with CorrTrack. If not, see <http://www.gnu.org/licenses/>.
# This configuration supports at least the following environments:
#
# - MSVC 2015 (Release x86, x64) (tested on Windows 10)
#
# - GCC, (Release x86, Debug x86) (tested on Debian Jessie)
#
# On Windows, add tiff.dll and zlib.dll in the folder of the executable, or the
# program will crash at startup.
TEMPLATE = app
TARGET = corrtrack
INCLUDEPATH += src
unix:INCLUDEPATH += \
/usr/include/boost \
/usr/include/gsl
unix:LIBS += \
-lboost_regex \
-lboost_filesystem \
-lboost_system \
-lgsl \
-lgslcblas \
-ltiff
contains(QT_ARCH, i386) {
unix:INCLUDEPATH += \
/usr/include/i386-linux-gnu/
unix:LIBS += -L/usr/lib/i386-linux-gnu
win32:INCLUDEPATH += \
C:\lib\msvc2015_32\include
win32:LIBS += \
C:\lib\msvc2015_32\lib\gsl\cblas.lib \
C:\lib\msvc2015_32\lib\gsl\gsl.lib \
C:\lib\msvc2015_32\lib\boost\libboost_regex-vc140-mt-1_64.lib \
C:\lib\msvc2015_32\lib\boost\libboost_system-vc140-mt-1_64.lib \
C:\lib\msvc2015_32\lib\boost\libboost_filesystem-vc140-mt-1_64.lib \
C:\lib\msvc2015_32\lib\tiff\tiff.lib
} else {
unix:INCLUDEPATH += \
/usr/include/x86_64-linux-gnu/
unix:LIBS += -L/usr/lib/x86_64-linux-gnu
win32:INCLUDEPATH += \
C:\lib\msvc2015_64\include
win32:LIBS += \
C:\lib\msvc2015_64\lib\gsl\cblas.lib \
C:\lib\msvc2015_64\lib\gsl\gsl.lib \
C:\lib\msvc2015_64\lib\boost\libboost_regex-vc140-mt-1_64.lib \
C:\lib\msvc2015_64\lib\boost\libboost_system-vc140-mt-1_64.lib \
C:\lib\msvc2015_64\lib\boost\libboost_filesystem-vc140-mt-1_64.lib \
C:\lib\msvc2015_64\lib\tiff\tiff.lib
}
win32:QMAKE_LFLAGS += /NODEFAULTLIB:libcmt
win32:RC_ICONS += icon.ico
CONFIG += c++11
CONFIG(release, debug|release) {
# See http://stackoverflow.com/a/32807272
#
# Release variant of Boost binary libraries is compiled with
# disabled run-time assertion (NDEBUG is defined).
# To align binaries with header-only libraries and other headers
# it is possible to define NDEBUG for project release build.
# It is not defined in Qt by default.
DEFINES += NDEBUG
}
QT = core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
VPATH += src
SOURCES += \
main.cpp \
corrtrackwindow.cpp \
constants.cpp \
settings.cpp \
zoomdialog.cpp \
corrfilterdialog.cpp \
settingsdialog.cpp \
okcanceldialog.cpp \
movie/base/frame.cpp \
math/math.cpp \
math/corrfilter.cpp \
math/corrtrackanalyser.cpp \
math/point.cpp \
math/imaged.cpp \
math/pointd.cpp \
io/exceptions/ioexception.cpp \
movie/movie.cpp \
movieintensityminmaxworker.cpp \
nomenuiconsstyle.cpp \
noscrollqgraphicsview.cpp \
analyseworker.cpp \
progresswindow.cpp \
extracttiffsworker.cpp \
openmovieworker.cpp \
intensitydialog.cpp \
movie/base/version.cpp
HEADERS += \
corrtrackwindow.h \
constants.h \
settings.h \
zoomdialog.h \
corrfilterdialog.h \
settingsdialog.h \
okcanceldialog.h \
movie/base/frame.h \
math/math.h \
math/corrfilter.h \
math/corrtrackanalyser.h \
math/point.h \
math/imaged.h \
math/pointd.h \
io/exceptions/ioexception.h \
movie/movie.h \
movieintensityminmaxworker.h \
nomenuiconsstyle.h \
noscrollqgraphicsview.h \
analyseworker.h \
progresswindow.h \
extracttiffsworker.h \
openmovieworker.h \
intensitydialog.h \
movie/base/movieformats.h \
movie/base/version.h
RESOURCES += \
resources.qrc