-
Notifications
You must be signed in to change notification settings - Fork 72
/
Fervor.pri
52 lines (44 loc) · 1.43 KB
/
Fervor.pri
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
QT += core gui webenginewidgets network
isEmpty(FV_APP_NAME) {
warning("Fervor: falling back to application name '$$TARGET'")
DEFINES += FV_APP_NAME=\\\"$$TARGET\\\"
} else {
message("Fervor: building for application name '$$FV_APP_NAME'")
DEFINES += FV_APP_NAME=\\\"$$FV_APP_NAME\\\"
}
isEmpty(FV_APP_VERSION) {
warning("Fervor: falling back to application version '$$VERSION'")
DEFINES += FV_APP_VERSION=\\\"$$VERSION\\\"
} else {
message("Fervor: building for application version '$$FV_APP_VERSION'")
DEFINES += FV_APP_VERSION=\\\"$$FV_APP_VERSION\\\"
}
# Unit tests
#DEFINES += FV_DEBUG=1
#DEPENDPATH += "$$PWD/tests/"
#INCLUDEPATH += "$$PWD/tests/"
#CONFIG += qtestlib
#SOURCES += tests/fvversioncomparatortest.cpp
#HEADERS += tests/fvversioncomparatortest.h
DEPENDPATH += "$$PWD"
INCLUDEPATH += "$$PWD"
SOURCES += \
$$PWD/fvupdatewindow.cpp \
$$PWD/fvupdater.cpp \
$$PWD/fvversioncomparator.cpp \
$$PWD/fvplatform.cpp \
$$PWD/fvignoredversions.cpp \
$$PWD/fvavailableupdate.cpp \
$$PWD/fvupdateconfirmdialog.cpp
HEADERS += \
$$PWD/fvupdatewindow.h \
$$PWD/fvupdater.h \
$$PWD/fvversioncomparator.h \
$$PWD/fvplatform.h \
$$PWD/fvignoredversions.h \
$$PWD/fvavailableupdate.h \
$$PWD/fvupdateconfirmdialog.h
FORMS += $$PWD/fvupdatewindow.ui \
$$PWD/fvupdateconfirmdialog.ui
TRANSLATIONS += $$PWD/fervor_lt.ts
CODECFORTR = UTF-8