-
Notifications
You must be signed in to change notification settings - Fork 46
/
biblioteq.freebsd.pro
58 lines (50 loc) · 1.77 KB
/
biblioteq.freebsd.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
cache()
include(biblioteq-source.pro)
purge.commands = find . -name \'*~*\' -exec rm -f {} \;
CONFIG += copy_dir_files qt release warn_on
DEFINES += BIBLIOTEQ_CONFIGURATION_FILE="'\"biblioteq.conf\"'" \
QT_DEPRECATED_WARNINGS
LANGUAGE = C++
QT += gui network printsupport sql widgets
QT -= webkit
exists(/usr/local/include/poppler) {
DEFINES += BIBLIOTEQ_LINKED_WITH_POPPLER
DEFINES += BIBLIOTEQ_LINKED_WITH_POPPLER5
INCLUDEPATH += /usr/local/include/poppler/qt5
LIBS += -lpoppler-qt5
}
exists(/usr/local/include/poppler/cpp) {
DEFINES += BIBLIOTEQ_POPPLER_VERSION_DEFINED
INCLUDEPATH += /usr/local/include/poppler/cpp
} else {
message("The directory /usr/local/include/poppler/cpp does not exist. " \
"Poppler version information will not be available.")
}
TEMPLATE = app
QMAKE_CLEAN += BiblioteQ
QMAKE_CXXFLAGS_RELEASE += -Wall \
-Wcast-align \
-Wcast-qual \
-Wdouble-promotion \
-Wextra \
-Wformat=2 \
-Wno-deprecated-declarations \
-Woverloaded-virtual \
-Wpointer-arith \
-Wstack-protector \
-fPIE \
-fstack-protector-all \
-funroll-loops \
-fwrapv \
-pedantic \
-std=c++17
QMAKE_DISTCLEAN += -r .qmake.cache .qmake.stash Temporary
QMAKE_EXTRA_TARGETS = purge
ICON = Icons/book.png
INCLUDEPATH += Source
exists(/usr/local/include/yaz) {
DEFINES += BIBLIOTEQ_LINKED_WITH_YAZ
LIBS += -lyaz
}
PROJECTNAME = BiblioteQ
TARGET = BiblioteQ