forked from po-devs/pokemon-online
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PokemonOnline.pro
81 lines (62 loc) · 1.9 KB
/
PokemonOnline.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
# For building Pokemon Online
#
# Use
# qmake "CONFIG += po_client" to build client.
# "CONFIG += po_server" to build server.
# "CONFIG += po_all" to build both client and server.
#
# By default only client will be build.
# It should be noted that PO still contains more modules.
#
# Shadow building can be enabled with "CONFIG += shadow"
#
# If you need to edit global qmake constants use
# src/Shared/Common.pri for that.
# Websocket library cloned from git://gitorious.org/qtwebsocket/qtwebsocket.git
TEMPLATE = subdirs
CONFIG += ordered
CONFIG(po_all): CONFIG += po_client po_clientplugins po_server po_serverplugins po_relaystation po_movemachine test
!CONFIG(po_server):!CONFIG(po_serverplugins):!CONFIG(po_registry):!CONFIG(po_relaystation):CONFIG += po_client
CONFIG(po_serverplugins):CONFIG += po_server
CONFIG(po_clientplugins):CONFIG += po_client
CONFIG(po_server):!CONFIG(po_norelaystation):CONFIG+= po_relaystation
SUBDIRS += src/libraries
CONFIG(po_client) {
SUBDIRS += src/Teambuilder
}
CONFIG(po_movemachine) {
SUBDIRS += src/MoveMachine
}
CONFIG(po_clientplugins) {
SUBDIRS += src/client-plugins
}
CONFIG(po_server) {
SUBDIRS += src/Server \
src/BattleServer
}
CONFIG(po_relaystation) {
SUBDIRS += src/RelayStation
}
CONFIG(po_serverplugins) {
SUBDIRS += src/server-plugins
}
CONFIG(po_registry) {
SUBDIRS += src/Registry
}
TRANSLATIONS = src/trans/translation_de.ts \
src/trans/translation_es.ts \
src/trans/translation_fi.ts \
src/trans/translation_fr.ts \
src/trans/translation_he.ts \
src/trans/translation_it.ts \
src/trans/translation_jp.ts \
src/trans/translation_ko.ts \
src/trans/translation_nl.ts \
src/trans/translation_pt-br.ts \
src/trans/translation_zh-cn.ts
CONFIG(test) {
SUBDIRS += \
tests
}
contains(QT_VERSION, ^5\\.[1]\\..*):cache()
message(Following modules will be built: $$SUBDIRS)