qt5base-lts/tests/auto/testlib/selftests/verbose1/CMakeLists.txt
Leander Beernaert dfd37e27ca CMake: Enable testlib selftests
This patch adds the equivalent of testlib's selfcover.pri and is enabled
for both testlib and the respective selftests test.

This patch also fixes the selftests so that they can run without
FEATURE_testlib_selfcover enabled.

Change-Id: I15913de2d572ac79804ce3e652cee66de74318f8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-03-18 16:28:30 +01:00

24 lines
645 B
CMake

# Generated from verbose1.pro.
#####################################################################
## verbose1 Binary:
#####################################################################
add_qt_executable(verbose1
NO_INSTALL # special case
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
SOURCES
../counting/tst_counting.cpp
DEFINES
TESTLIB_VERBOSITY_ARG=-v1 # special case remove quotes
PUBLIC_LIBRARIES
Qt::Test
)
## Scopes:
#####################################################################
# special case begin
qt_apply_testlib_coverage_options(verbose1)
# special case end