Files
amnezia-client/client/client.pro
T

103 lines
2.3 KiB
Prolog
Raw Normal View History

2020-12-16 06:02:22 +03:00
QT += widgets core gui network xml
TARGET = AmneziaVPN
TEMPLATE = app
2020-12-30 17:03:05 +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")
2020-12-16 06:02:22 +03:00
HEADERS += \
2020-12-26 15:03:51 +03:00
communicator.h \
2021-01-06 17:12:24 +03:00
core/defs.h \
core/errorstrings.h \
2020-12-26 23:55:20 +03:00
core/openvpnconfigurator.h \
2020-12-16 06:02:22 +03:00
core/router.h \
2020-12-26 23:55:20 +03:00
core/servercontroller.h \
2020-12-16 06:02:22 +03:00
debug.h \
defines.h \
2020-12-26 15:03:51 +03:00
localclient.h \
managementserver.h \
message.h \
2020-12-16 06:02:22 +03:00
runguard.h \
2020-12-30 17:03:05 +03:00
settings.h \
2020-12-16 06:02:22 +03:00
ui/Controls/SlidingStackedWidget.h \
ui/mainwindow.h \
2020-12-26 15:03:51 +03:00
utils.h \
vpnconnection.h \
2021-01-06 17:12:24 +03:00
protocols/vpnprotocol.h \
protocols/openvpnprotocol.h \
2020-12-16 06:02:22 +03:00
SOURCES += \
2020-12-26 15:03:51 +03:00
communicator.cpp \
2020-12-26 23:55:20 +03:00
core/openvpnconfigurator.cpp \
2020-12-16 06:02:22 +03:00
core/router.cpp \
2020-12-26 23:55:20 +03:00
core/servercontroller.cpp \
2020-12-16 06:02:22 +03:00
debug.cpp \
2020-12-26 15:03:51 +03:00
localclient.cpp \
2020-12-16 06:02:22 +03:00
main.cpp \
2020-12-26 15:03:51 +03:00
managementserver.cpp \
message.cpp \
2020-12-16 06:02:22 +03:00
runguard.cpp \
2020-12-30 17:03:05 +03:00
settings.cpp \
2020-12-16 06:02:22 +03:00
ui/Controls/SlidingStackedWidget.cpp \
ui/mainwindow.cpp \
2020-12-26 15:03:51 +03:00
utils.cpp \
vpnconnection.cpp \
2021-01-06 17:12:24 +03:00
protocols/vpnprotocol.cpp \
protocols/openvpnprotocol.cpp \
2020-12-16 06:02:22 +03:00
FORMS += ui/mainwindow.ui
RESOURCES += \
resources.qrc
TRANSLATIONS = \
2020-12-26 15:03:51 +03:00
translations/amneziavpn_ru.ts
2020-12-16 06:02:22 +03:00
CONFIG(release, debug|release) {
DESTDIR = $$PWD/../../AmneziaVPN-build/client/release
MOC_DIR = $$DESTDIR
OBJECTS_DIR = $$DESTDIR
RCC_DIR = $$DESTDIR
}
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-03 23:55:04 +03:00
LIBS += -framework Cocoa
2020-12-16 06:02:22 +03:00
}