qt5base-lts/tests/auto/testlib/selftests/cmptest/CMakeLists.txt
Albert Astals Cid 6d1c695b0e cmake: Fix testlib/selftests
Actually build tst_selftest
Fix the subdirs of it not to be actually built as tests (so that ctest
doesn't pick them up and tries to run them)

Change-Id: Id9d069f44241027dbd103884d36551163382b216
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CMake Build Bot
2019-06-04 11:40:48 +00:00

30 lines
739 B
CMake

# Generated from cmptest.pro.
#####################################################################
## cmptest Binary:
#####################################################################
add_qt_executable(cmptest
NO_INSTALL # special case
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
GUI
SOURCES
tst_cmptest.cpp
PUBLIC_LIBRARIES
Qt::Test
)
#### Keys ignored in scope 1:.:.:cmptest.pro:<TRUE>:
# CONFIG = "-debug_and_release_target"
## Scopes:
#####################################################################
extend_target(cmptest CONDITION TARGET Qt::Gui
PUBLIC_LIBRARIES
Qt::Gui
)
#### Keys ignored in scope 3:.:.:cmptest.pro:APPLE_OSX:
# CONFIG = "-app_bundle"