mirror of
https://github.com/QuasarApp/installer-framework.git
synced 2025-04-26 21:54:31 +00:00
Change-Id: Ifd0984c1a7ee58845c3a61e862252798d10cde97 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
28 lines
604 B
Prolog
28 lines
604 B
Prolog
TEMPLATE = subdirs
|
|
SUBDIRS += src tools
|
|
tools.depends = src
|
|
|
|
requires(!cross_compile)
|
|
|
|
include (installerfw.pri)
|
|
include (doc/doc.pri)
|
|
|
|
BUILD_TESTS = $$(BUILDTESTS)
|
|
isEmpty(BUILD_TESTS):BUILD_TESTS=$${BUILDTESTS}
|
|
!isEmpty(BUILD_TESTS) {
|
|
SUBDIRS += tests
|
|
tests.depends = src
|
|
}
|
|
|
|
BUILD_EXAMPLES = $$(BUILDEXAMPLES)
|
|
isEmpty(BUILD_EXAMPLES):BUILD_EXAMPLES=$${BUILDEXAMPLES}
|
|
!isEmpty(BUILD_EXAMPLES) {
|
|
SUBDIRS += examples
|
|
examples.depends = src
|
|
}
|
|
|
|
!minQtVersion(5, 9, 5) {
|
|
message("Cannot build Qt Installer Framework with Qt version $${QT_VERSION}.")
|
|
error("Use at least Qt 5.9.5.")
|
|
}
|