-
Notifications
You must be signed in to change notification settings - Fork 19
/
LPub3D.pro
69 lines (58 loc) · 1.99 KB
/
LPub3D.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
TEMPLATE=subdirs
CONFIG+=ordered # This tells Qt to compile the following SUBDIRS in order
win32:HOST = $$system(systeminfo | findstr /B /C:\"OS Name\")
unix:!macx:HOST = $$system(. /etc/os-release 2>/dev/null; [ -n \"$PRETTY_NAME\" ] && echo \"$PRETTY_NAME\" || echo `uname`)
macx:HOST = $$system(echo `sw_vers -productName` `sw_vers -productVersion`)
isEmpty(HOST):HOST = UNKNOWN HOST
BUILD_ARCH = $$(TARGET_CPU)
!contains(QT_ARCH, unknown): BUILD_ARCH = $$QT_ARCH
else: isEmpty(BUILD_ARCH): BUILD_ARCH = UNKNOWN ARCH
CONFIG(debug, debug|release): BUILD = DEBUG BUILD
else: BUILD = RELEASE BUILD
message("~~~ LPUB3D $$upper($$BUILD_ARCH) $${BUILD} ON $$upper($$HOST) ~~~")
SUBDIRS = ldrawini
ldrawini.subdir = $$PWD/ldrawini
ldrawini.makefile = Makefile.ldrawini
ldrawini.target = sub-ldrawini
ldrawini.depends =
isEmpty(quazipnobuild) {
SUBDIRS += quazip
quazip.subdir = $$PWD/quazip
quazip.makefile = Makefile.quazip
quazip.target = sub-quazip
quazip.depends =
}
SUBDIRS += ldvqt
ldvqt.subdir = $$PWD/ldvlib/LDVQt
ldvqt.makefile = Makefile.ldvqt
ldvqt.target = sub-ldvqt
ldvqt.depends = #ldlib
SUBDIRS += wpngimage
wpngimage.subdir = $$PWD/ldvlib/WPngImage
wpngimage.makefile = Makefile.WPngImage
wpngimage.target = sub-WPngImage
wpngimage.depends =
SUBDIRS += lclib
lclib.subdir = $$PWD/lclib
lclib.makefile = Makefile.lc
lclib.target = sub-lclib
lclib.depends =
SUBDIRS += waitingspinner
waitingspinner.subdir = $$PWD/waitingspinner
waitingspinner.makefile = Makefile.WaitingSpinner
waitingspinner.target = sub-WaitingSpinner
waitingspinner.depends =
SUBDIRS += mainApp
mainApp.subdir = $$PWD/mainApp
mainApp.makefile = Makefile.mainapp
mainApp.target = sub-mainApp
isEmpty(quazipnobuild): \
mainApp.depends = quazip
mainApp.depends = ldrawini
mainApp.depends = lclib
mainApp.depends = ldvqt
mainApp.depends = wpngimage
mainApp.depends = waitingspinner
RESOURCES += \
qsimpleupdater/etc/resources/qsimpleupdater.qrc \
mainApp/lpub3d.qrc