forked from AttorneyOnline/AO2-Client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Attorney_Online.pro
79 lines (58 loc) · 2.08 KB
/
Attorney_Online.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
76
77
78
79
QT += core gui widgets network websockets uitools
TARGET = Attorney_Online
TEMPLATE = app
VERSION = 2.10.1.0
INCLUDEPATH += $$PWD/include
DESTDIR = $$PWD/bin
OBJECTS_DIR = $$PWD/build
MOC_DIR = $$PWD/build
SOURCES += $$files($$PWD/src/*.cpp, true)
HEADERS += $$files($$PWD/include/*.h, true)
FORMS += $$files($$PWD/resource/ui/*.ui)
LIBS += -L$$PWD/lib
QMAKE_LFLAGS += -Wl,-rpath,"'\$$ORIGIN/lib'"
QMAKE_CXXFLAGS += "-fno-sized-deallocation"
# Uncomment for verbose network logging
# DEFINES += DEBUG_NETWORK
# Uncomment for verbose animation logging
# DEFINES += DEBUG_MOVIE
# Uncomment for building with debug symbols
# CONFIG += debug
# Uncomment to enable Discord Rich Presence
# DEFINES += DISCORD
contains(DEFINES, DISCORD) {
win32:LIBS += -ldiscord-rpc
linux:!android:LIBS += -ldiscord-rpc
mac:LIBS += -ldiscord-rpc
}
# As of 2.8.5, BASS and BASSOPUS are required for all platforms. Qt Multimedia
# is no longer an option due to outdated code and lack of versatility.
# Download at un4seen.com and place the DLLs in the "lib" and "bin" folders.
DEFINES += BASSAUDIO
LIBS += -lbass
LIBS += -lbassopus
LIBS += -lbassmidi
macx:LIBS += -framework CoreFoundation -framework Foundation -framework CoreServices
win32:LIBS += -ladvapi32
CONFIG += c++17
RESOURCES += resources.qrc
TRANSLATIONS = resource/translations/ao_en.ts \
resource/translations/ao_jp.ts \
resource/translations/ao_de.ts \
resource/translations/ao_ru.ts \
resource/translations/ao_es.ts \
resource/translations/ao_pt.ts \
resource/translations/ao_pl.ts \
resource/translations/ao_it.ts \
ressource/ui/
win32:RC_ICONS = resource/logo_kfo.ico
macx:ICON = resource/logo_ao2.icns
android:QT += androidextras
android:DISTFILES += \
android/AndroidManifest.xml \
android/gradle.properties \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew \
android/gradlew.bat
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android