forked from Drifter321/admintool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SourceAdminTool.pro
75 lines (63 loc) · 1.81 KB
/
SourceAdminTool.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
63
64
65
66
67
68
69
70
71
72
73
74
75
#-------------------------------------------------
#
# Project created by QtCreator 2015-06-29T16:43:11
#
#-------------------------------------------------
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = SourceAdminTool
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
query.cpp \
serverinfo.cpp \
settings.cpp \
worker.cpp \
customitems.cpp \
rcon.cpp \
simplecrypt.cpp \
main_events.cpp \
main_slots.cpp \
rcon_slots.cpp \
query_slots.cpp \
loghandler.cpp \
loghandler_slots.cpp \
util.cpp
HEADERS += mainwindow.h \
query.h \
serverinfo.h \
settings.h \
worker.h \
customitems.h \
rcon.h \
simplecrypt.h \
ui_mainwindow.h \
loghandler.h \
util.h
FORMS += mainwindow.ui
RESOURCES += \
icons.qrc
win32 {
RC_FILE = sourceadmin.rc
LIBS += -lws2_32
LIBS += -lIPHlpApi
}
macx {
ICON = icons/icon.icns
bundle.files = $$PWD/GeoLite2-Country.mmdb $$PWD/commands.xml $$PWD/app_list_map.ini
bundle.path = Contents/MacOS
QMAKE_BUNDLE_DATA += bundle
}
INCLUDEPATH += $$PWD/thirdparty/miniupnpc
INCLUDEPATH += $$PWD/thirdparty/libmaxminddb
DEPENDPATH += $$PWD/thirdparty/miniupnpc
DEPENDPATH += $$PWD/thirdparty/libmaxminddb
DISTFILES += \
GeoLite2-Country.mmdb \
commands.xml \
app_list_map.ini
win32: LIBS += -L$$PWD/thirdparty/miniupnpc/lib/win/ -lminiupnpc -L$$PWD/thirdparty/libmaxminddb/lib/win/ -llibmaxminddb
macx: LIBS += -L$$PWD/thirdparty/miniupnpc/lib/mac/ -lminiupnpc -L$$PWD/thirdparty/libmaxminddb/lib/mac/ -lmaxminddb
unix:!macx: QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN/lib
unix:!macx: LIBS += -L$$PWD/thirdparty/miniupnpc/lib/linux/ -lminiupnpc -L$$PWD/thirdparty/libmaxminddb/lib/linux/ -lmaxminddb
unix:!macx: DESTDIR = package/admintool