nymea/guh.pro

28 lines
586 B
INI

include(guh.pri)
TEMPLATE=subdirs
SUBDIRS += libguh server plugins
!disabletesting {
SUBDIRS += tests
}
server.depends = libguh plugins
plugins.depends = libguh
tests.depends = libguh
doc.depends = libguh server
doc.commands = cd $$top_srcdir/doc; qdoc config.qdocconf; cp images/mascot.png html/images/
licensecheck.commands = $$top_srcdir/tests/auto/checklicenseheaders.sh $$top_srcdir
test.depends = licensecheck
test.commands = LD_LIBRARY_PATH=$$top_builddir/libguh make check
QMAKE_EXTRA_TARGETS += licensecheck doc test
coverage {
message("Building coverage.")
}