-
Notifications
You must be signed in to change notification settings - Fork 1
/
damping-dolphin.pro
85 lines (69 loc) · 1.85 KB
/
damping-dolphin.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
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
CONFIG += c++14
RC_ICONS = res/dolphin.ico
unix: QMAKE_CXXFLAGS += -Wno-deprecated-copy -Wno-implicit-fallthrough -fopenmp
unix:!macx: LIBS += -L$$PWD/lib/linux -lopenblas -lgfortran -lquadmath -lgomp
win32{
msvc:LIBS += -L$$PWD/lib/win-msvc -llibopenblas
gcc:LIBS += -L$$PWD/lib/win-gcc -lopenblas -lgfortran -lquadmath -lgomp
msvc:QMAKE_CXXFLAGS += /openmp:experimental
gcc: QMAKE_CXXFLAGS += -fopenmp
}
DEFINES += ARMA_DONT_USE_ATLAS
win32{
DEFINES += ARMA_USE_OPENMP
}
exists(tbb){
message("Enable tbb.")
msvc{
LIBS += -L$$PWD/tbb/lib -ltbb
DEFINES += DD_TBB_ENABLED
INCLUDEPATH += $$PWD/tbb/include
}
}
INCLUDEPATH += include \
include/QCustomPlot \
src
SOURCES += \
src/FitSetting.cpp \
include/QCustomPlot/qcustomplot.cpp \
src/About.cpp \
src/Guide.cpp \
src/damping-dolphin.cpp \
src/DampingCurve.cpp \
src/DampingMode.cpp \
src/MainWindow.cpp \
src/Scheme/ObjectiveFunction.cpp \
src/Scheme/ThreeWiseMen.cpp \
src/Scheme/Unicorn.cpp \
src/Scheme/TwoCities.cpp \
src/Scheme/ZeroDay.cpp
HEADERS += \
src/FitSetting.h \
include/QCustomPlot/qcustomplot.h \
src/About.h \
src/Guide.h \
src/damping-dolphin.h\
src/DampingCurve.h \
src/DampingMode.h \
src/MainWindow.h \
src/Scheme/OptimizerTuning.hpp \
src/Scheme/ObjectiveFunction.h \
src/Scheme/ThreeWiseMen.h \
src/Scheme/Unicorn.h \
src/Scheme/TwoCities.h \
src/Scheme/ZeroDay.h
FORMS += \
form/About.ui \
form/FitSetting.ui \
form/Guide.ui \
form/MainWindow.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
DISTFILES += \
include/QCustomPlot/GPL.txt
RESOURCES += \
res/res.qrc