-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathuchmviewer.pro
47 lines (38 loc) · 1.45 KB
/
uchmviewer.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
# uChmViewer build script with qmake
#
# Options:
#
# LIBZIP_ROOT - the root directory in which the zip library is installed.
# CHMLIB_ROOT - the root directory in which the chm library is installed.
# USE_STATIC_CHMLIB - if defined, static linkage to the chm library is used.
# USE_WEBENGINE - if defined, WebEngine is used, otherwise WebKit is used.
# USE_GETTEXT - if specified, the msgfmt command will be used to compile
# translations.
# USE_MAC_APP - if specified, force the use of the UchmviewerApp class
# when building for non-macOS. This can be useful when
# checking sources using IWYU.
#
###############################################################################
TEMPLATE = subdirs
SUBDIRS = lib src
src.depends = lib
include(common.pri)
include(po/po.pri)
unix {
desktop.files = $${PROJECT_ROOT_DIR}/packages/freedesktop/uchmviewer.desktop
desktop.path = $${PREFIX}/$${APP_DEF_DIR}
ICONS_BASE_DIR = $${PROJECT_ROOT_DIR}/packages/freedesktop/icons
icons.base = $${ICONS_BASE_DIR}
icons.files = $$findFiles($$ICONS_BASE_DIR, *.png)
icons.path = $${PREFIX}/$${APP_ICONS_DIR}
INSTALLS += desktop icons
}
win32 {
icons.files = $${PROJECT_ROOT_DIR}/src/resources/uchmviewer.ico
icons.path = $${PREFIX}/$${APP_ICONS_DIR}
INSTALLS += icons
}
macx {
}
!defined(VERSION, var): VERSION = $$getVersion()
message(Project version: $$VERSION)