forked from shadowsocks/shadowsocks-qt5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadowsocks-qt5.pro
39 lines (29 loc) · 863 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
#-------------------------------------------------
#
# Project Shadowsocks-Qt5
#
#-------------------------------------------------
QT += core gui widgets network
unix: QT += dbus
CONFIG += c++11
TARGET = ss-qt5
TEMPLATE = app
VERSION = 2.4.1
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 = ..
}
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