forked from mcallegari/qlcplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qlc.pro
62 lines (54 loc) · 1.75 KB
/
qlc.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
include(variables.pri)
TEMPLATE = subdirs
SUBDIRS += hotplugmonitor
SUBDIRS += engine
qmlui: {
message("Building QLC+ 5 QML UI")
SUBDIRS += qmlui
} else {
message("Building QLC+ 4 QtWidget UI")
SUBDIRS += ui
SUBDIRS += webaccess
SUBDIRS += main
SUBDIRS += fixtureeditor
macx:SUBDIRS += launcher
}
SUBDIRS += resources
SUBDIRS += plugins
unix:!macx:DEBIAN_CLEAN += debian/*.substvars debian/*.log debian/*.debhelper
unix:!macx:DEBIAN_CLEAN += debian/files debian/dirs
unix:!macx:QMAKE_CLEAN += $$DEBIAN_CLEAN
unix:!macx:QMAKE_DISTCLEAN += $$DEBIAN_CLEAN
# Unit testing thru "make check"
unittests.target = check
QMAKE_EXTRA_TARGETS += unittests
unix:unittests.commands += ./unittest.sh
win32:unittests.commands += unittest.bat
# Unit test coverage measurement
coverage.target = lcov
QMAKE_EXTRA_TARGETS += coverage
unix:coverage.commands += ./coverage.sh
win32:coverage.commands = @echo Get a better OS.
# Translations (update these also in translate.sh)
translations.target = translate
QMAKE_EXTRA_TARGETS += translations
qmlui: {
translations.commands += ./translate.sh "qmlui"
} else {
translations.commands += ./translate.sh "ui"
}
translations.files = ./qlcplus_de_DE.qm ./qlcplus_es_ES.qm ./qlcplus_fr_FR.qm
translations.files += ./qlcplus_it_IT.qm ./qlcplus_nl_NL.qm ./qlcplus_ca_ES.qm ./qlcplus_ja_JP.qm
qmlui: {
translations.files += ./qlcplus_ru_RU.qm ./qlcplus_uk_UA.qm
} else {
translations.files += ./qlcplus_cz_CZ.qm ./qlcplus_pt_BR.qm
}
appimage: {
translations.path = $$TARGET_DIR/$$INSTALLROOT/$$TRANSLATIONDIR
} else {
translations.path = $$INSTALLROOT/$$TRANSLATIONDIR
}
INSTALLS += translations
# Leave this on the last row of this file
SUBDIRS += platforms