Don't attempt to build benchmarks if release-mode Qt is not available
All of the benchmarks explicitly turn on release mode. This fails on Mac and Windows if Qt is configured as debug-only. It is also possibly misleading on Linux, as compiling the benchmark in release mode does not imply that Qt is compiled in release mode. The results are generally not useful if release mode Qt is not available, so disable them by default in this case. Change-Id: Ifa2bb6ab6412dd360ff9dfb890ace2f51e0eef86 Reviewed-on: http://codereview.qt.nokia.com/549 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jo Asplin <jo.asplin@nokia.com>
This commit is contained in:
parent
ae4b4696a5
commit
a93a81be7d
@ -1,3 +1,5 @@
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS = auto \
|
||||
benchmarks
|
||||
SUBDIRS = auto
|
||||
|
||||
# benchmarks in debug mode is rarely sensible
|
||||
contains(QT_CONFIG,release):SUBDIRS += benchmarks
|
||||
|
Loading…
Reference in New Issue
Block a user