Files
amnezia-client/client/client.pro
T

106 lines
2.2 KiB
Prolog
Raw Normal View History

2021-01-20 23:07:23 +03:00
QT += widgets core gui network xml remoteobjects
2020-12-16 06:02:22 +03:00
TARGET = AmneziaVPN
TEMPLATE = app
2021-01-07 20:53:42 +03:00
#CONFIG += console
2020-12-16 06:02:22 +03:00
DEFINES += QT_DEPRECATED_WARNINGS
2020-12-26 23:55:20 +03:00
include("3rd/QtSsh/src/ssh/ssh.pri")
include("3rd/QtSsh/src/botan/botan.pri")
2021-02-24 23:40:57 +03:00
include("3rd/SingleApplication/singleapplication.pri")
2020-12-26 23:55:20 +03:00
2020-12-16 06:02:22 +03:00
HEADERS += \
2021-02-02 01:47:40 +03:00
../ipc/ipc.h \
2021-01-07 20:53:42 +03:00
core/defs.h \
core/errorstrings.h \
2021-02-02 01:47:40 +03:00
core/ipcclient.h \
2021-01-07 20:53:42 +03:00
core/openvpnconfigurator.h \
core/servercontroller.h \
debug.h \
defines.h \
managementserver.h \
2021-01-26 15:01:15 +03:00
protocols/shadowsocksvpnprotocol.h \
2021-01-07 20:53:42 +03:00
runguard.h \
settings.h \
ui/Controls/SlidingStackedWidget.h \
ui/mainwindow.h \
2021-02-24 21:58:32 +03:00
ui/qautostart.h \
2021-01-07 20:53:42 +03:00
utils.h \
vpnconnection.h \
protocols/vpnprotocol.h \
protocols/openvpnprotocol.h \
2020-12-16 06:02:22 +03:00
SOURCES += \
2021-02-02 01:47:40 +03:00
core/ipcclient.cpp \
2021-01-07 20:53:42 +03:00
core/openvpnconfigurator.cpp \
core/servercontroller.cpp \
debug.cpp \
main.cpp \
managementserver.cpp \
2021-01-26 15:01:15 +03:00
protocols/shadowsocksvpnprotocol.cpp \
2021-01-07 20:53:42 +03:00
runguard.cpp \
settings.cpp \
ui/Controls/SlidingStackedWidget.cpp \
ui/mainwindow.cpp \
2021-02-24 21:58:32 +03:00
ui/qautostart.cpp \
2021-01-07 20:53:42 +03:00
utils.cpp \
vpnconnection.cpp \
protocols/vpnprotocol.cpp \
protocols/openvpnprotocol.cpp \
2020-12-16 06:02:22 +03:00
FORMS += ui/mainwindow.ui
RESOURCES += \
2021-01-07 20:53:42 +03:00
resources.qrc
2020-12-16 06:02:22 +03:00
TRANSLATIONS = \
2021-01-07 20:53:42 +03:00
translations/amneziavpn_ru.ts
2020-12-16 06:02:22 +03:00
2021-01-17 13:11:39 +03:00
#CONFIG(release, debug|release) {
# DESTDIR = $$PWD/../../AmneziaVPN-build/client/release
# MOC_DIR = $$DESTDIR
# OBJECTS_DIR = $$DESTDIR
# RCC_DIR = $$DESTDIR
#}
2020-12-16 06:02:22 +03:00
win32 {
OTHER_FILES += platform_win/vpnclient.rc
RC_FILE = platform_win/vpnclient.rc
2021-01-03 23:55:04 +03:00
HEADERS += \
ui/framelesswindow.h \
2021-01-03 21:18:20 +03:00
SOURCES += \
ui/framelesswindow.cpp
2020-12-16 06:02:22 +03:00
2020-12-26 15:03:51 +03:00
VERSION = 1.0.0.0
2020-12-16 06:02:22 +03:00
QMAKE_TARGET_COMPANY = "AmneziaVPN"
QMAKE_TARGET_PRODUCT = "AmneziaVPN"
2021-01-03 21:18:20 +03:00
2020-12-16 06:02:22 +03:00
LIBS += \
-luser32 \
-lrasapi32 \
-lshlwapi \
-liphlpapi \
-lws2_32 \
-liphlpapi \
-lgdi32
#LIBS += -L$$PWD/../../../../../../../OpenSSL-Win32/lib/ -llibcrypto
}
macx {
ICON = $$PWD/images/app.icns
2021-01-03 21:18:20 +03:00
2021-01-03 23:55:04 +03:00
HEADERS += ui/macos_util.h
SOURCES += ui/macos_util.mm
2021-01-03 21:18:20 +03:00
2021-01-16 21:04:16 +03:00
LIBS += -framework Cocoa -framework ApplicationServices -framework CoreServices -framework Foundation -framework AppKit
2020-12-16 06:02:22 +03:00
}
2021-01-20 23:07:23 +03:00
2021-02-02 01:47:40 +03:00
REPC_REPLICA += ../ipc/ipcinterface.rep
2021-01-20 23:07:23 +03:00