forked from mcallegari/qlcplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qlc.pro
50 lines (42 loc) · 1.53 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
include(variables.pri)
TEMPLATE = subdirs
SUBDIRS += hotplugmonitor
SUBDIRS += engine
contains(CONFIG, qmlui) {
message("Building QLC+ 5 QML UI")
SUBDIRS += qmlui
} else {
message("Building QLC+ 4 QtWidget UI")
SUBDIRS += ui
SUBDIRS += webaccess
SUBDIRS += main
}
SUBDIRS += resources
!qmlui:SUBDIRS += fixtureeditor
!qmlui:macx:SUBDIRS += launcher
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
translations.commands += ./translate.sh
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_cz_CZ.qm
translations.files += ./qlcplus_pt_BR.qm ./qlcplus_ca_ES.qm ./qlcplus_ja_JP.qm
translations.path = $$INSTALLROOT/$$TRANSLATIONDIR
INSTALLS += translations
# Leave this on the last row of this file
SUBDIRS += platforms