blob: 300ea209b6b62f90b67d30e5cbdb151ec18ed4ea (
plain)
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
|
# iOS does not require OpenSSL and always passes
!ios:requires(contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked))
lessThan(QT_MAJOR_VERSION, 5): error("The Enginio Qt library only supports Qt 5.")
load(configure)
load(qt_parts)
QMAKE_DOCS = $$PWD/doc/qtenginiooverview.qdocconf
load(qt_docs)
OTHER_FILES += \
doc/enginio_overview.qdoc \
doc/qtenginiooverview.qdocconf
contains(CONFIG, coverage) {
gcc*: {
message("Enabling test coverage instrumentization")
coverage.commands = lcov -t "Enginio" -o result1.info -c -d . \
&& lcov -e result1.info *enginio* -o result2.info \
&& lcov -r result2.info moc* -o result.info \
&& genhtml -o results result.info
coverage.target = check_coverage
coverage.depends = check
QMAKE_EXTRA_TARGETS += coverage
} else {
warning("Test coverage is supported only through gcc")
}
}
contains(DEFINES, ENGINIO_VALGRIND_DEBUG) {
warning("ENGINIO_VALGRIND_DEBUG is enabled, ssl cipher will be hardcoded, DO NOT USE IT IN PRODUCTION")
}
|