forked from shadowsocks/shadowsocks-qt5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadowsocks-qt5.pro
42 lines (32 loc) · 929 Bytes
/
shadowsocks-qt5.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
#-------------------------------------------------
#
# Project Shadowsocks-Qt5
#
#-------------------------------------------------
QT += core gui widgets network
unix: !macx: QT += dbus
CONFIG += c++11
TARGET = ss-qt5
TEMPLATE = app
VERSION = 2.7.0
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
include(src/ss-qt5.pri)
OTHER_FILES += README.md \
shadowsocks-qt5.desktop
desktop.files = shadowsocks-qt5.desktop
ssicon.files = src/icons/shadowsocks-qt5.png
isEmpty(INSTALL_PREFIX) {
unix: INSTALL_PREFIX = /usr
else: INSTALL_PREFIX = ..
}
macx: {
ICON = src/icons/shadowsocks-qt5.icns
}
unix: {
desktop.path = $$INSTALL_PREFIX/share/applications
ssicon.path = $$INSTALL_PREFIX/share/icons/hicolor/512x512/apps
INSTALLS += desktop ssicon
}
win32: DEFINES += QSS_STATIC
target.path = $$INSTALL_PREFIX/bin
INSTALLS += target