-
Notifications
You must be signed in to change notification settings - Fork 3
/
rtimv.pro
91 lines (71 loc) · 1.83 KB
/
rtimv.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
TEMPLATE = app
TARGET = rtimv
DESTDIR = bin/
DEPENDPATH += src/
MOC_DIR = moc/
OBJECTS_DIR = obj/
RCC_DIR = res/
UI_DIR = forms/
CONFIG(release, debug|release) {
CONFIG += optimize_full
}
CONFIG += c++17
CONFIG += -O3
QT += widgets
MAKEFILE = makefile.rtimv
# Input
HEADERS += src/rtimvGraphicsView.hpp \
src/rtimvBase.hpp \
src/rtimvMainWindow.hpp \
src/rtimvInterfaces.hpp \
src/rtimvControlPanel.hpp \
src/rtimvStats.hpp \
src/rtimvImage.hpp \
src/colorMaps.hpp \
src/images/shmimImage.hpp \
src/images/fitsImage.hpp \
src/images/fitsDirectory.hpp \
src/images/mzmqImage.hpp \
src/images/pixaccess.hpp \
src/images/ImageStruct.hpp
SOURCES += src/rtimvBase.cpp \
src/rtimvMainWindow.cpp \
src/rtimvMain.cpp \
src/rtimvControlPanel.cpp \
src/rtimvStats.cpp \
src/images/shmimImage.cpp \
src/images/fitsImage.cpp \
src/images/fitsDirectory.cpp \
src/images/mzmqImage.cpp
FORMS += forms/rtimvMainWindow.ui \
forms/imviewerControlPanel.ui \
forms/imviewerStats.ui
unix:!macx {
$$system(which milk, blob, which_milk_exit_code)
equals(which_milk_exit_code, 0) {
LIBS += -lImageStreamIO
DEFINES += RTIMV_MILK
}
}
#MILK include path
unix::INCLUDEPATH += /usr/local/milk/include
unix::LIBPATH += /usr/local/milk/lib/
CONFIG += link_pkgconfig
#CFITSIO
PKGCONFIG += cfitsio
#EIGEN
PKGCONFIG += eigen3
packagesExist(libzmq) {
PKGCONFIG += libzmq
} else {
LIBS += -lzmq
}
LIBS += -lmxlib
LIBS += -lxrif
LIBS += -L./bin -lrtimv
RESOURCES += res/imviewer.qrc
#########################
# installation
#########################
unix:target.path = /usr/local/bin
INSTALLS += target