-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathclient.pro
43 lines (31 loc) · 892 Bytes
/
client.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
include(common.pri)
android|ios: {
!versionAtLeast(QT_VERSION, 6.7): error(Qt 6.7 required)
} else {
!versionAtLeast(QT_VERSION, 6.8): error(Qt 6.8 required)
}
android {
_NDK_PATH=$$(ANDROID_NDK_ROOT)
_NDK_VERSION=$$str_member($$_NDK_PATH, -13, -1)
_NDK_REQUIRED = 26.1.10909125
!isEqual(_NDK_VERSION, $$_NDK_REQUIRED): error(Invalid NDK: $$_NDK_VERSION)
}
TEMPLATE = subdirs
client_lib.file = lib/lib_client.pro
client_lib.makefile = Makefile
application.file = client/src/app.pro
application.makefile = Makefile
modules.file = client/modules/modules.pro
modules.makefile = Makefile
SUBDIRS += \
version \
client_lib \
modules \
application
CONFIG(release,debug|release):linux|win32:!android:!ios {
if($$CreateBundle): SUBDIRS += bundle-client
} else:wasm: {
SUBDIRS += bundle-client
bundle-client.file = bundle-client/bundle-client-wasm.pro
}
CONFIG += ordered