-
Notifications
You must be signed in to change notification settings - Fork 0
/
mere-utils.pro
63 lines (53 loc) · 1.26 KB
/
mere-utils.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
QT = core
TARGET = mere-utils
VERSION = 0.0.1b
TEMPLATE = lib
CONFIG += shared
CONFIG += C++11
DEFINES += QT_DEPRECATED_WARNINGS MERE_UTILS_LIB
DEFINES += LIB_CODE=\\\"$$TARGET\\\"
DEFINES += LIB_NAME=\\\"$$TARGET\\\"
DEFINES += LIB_VERSION=\\\"$$VERSION\\\"
SOURCES += \
src/apputils.cpp \
src/binutils.cpp \
src/envutils.cpp \
src/fileutils.cpp \
src/folderutils.cpp \
src/i18nutils.cpp \
src/iconutils.cpp \
src/pathutils.cpp \
src/processutils.cpp \
src/signalutils.cpp \
src/stringutils.cpp \
src/xutils.cpp
HEADERS += \
src/apputils.h \
src/binutils.h \
src/envutils.h \
src/fileutils.h \
src/folderutils.h \
src/global.h \
src/i18nutils.h \
src/iconutils.h \
src/pathutils.h \
src/processutils.h \
src/signalutils.h \
src/stringutils.h \
src/xutils.h
#
# Install
#
unix {
target.path = /usr/local/lib
INSTALLS += target
INSTALL_PREFIX = /usr/local/include/mere/utils
for(header, HEADERS) {
sdir = $${dirname(header)}
sdir = $$replace(sdir, "src", "")
path = $${INSTALL_PREFIX}$${sdir}
eval(headers_$${path}.files += $$header)
eval(headers_$${path}.path = $$path)
eval(INSTALLS *= headers_$${path})
}
}