From 6d1c695b0e32b644d13a088ab3363b6aef75de68 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Tue, 4 Jun 2019 11:47:30 +0200 Subject: 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 Reviewed-by: Qt CMake Build Bot --- .../selftests/verifyexceptionthrown/CMakeLists.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/auto/testlib/selftests/verifyexceptionthrown/CMakeLists.txt (limited to 'tests/auto/testlib/selftests/verifyexceptionthrown') diff --git a/tests/auto/testlib/selftests/verifyexceptionthrown/CMakeLists.txt b/tests/auto/testlib/selftests/verifyexceptionthrown/CMakeLists.txt new file mode 100644 index 0000000000..817eddaee8 --- /dev/null +++ b/tests/auto/testlib/selftests/verifyexceptionthrown/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from verifyexceptionthrown.pro. + +##################################################################### +## verifyexceptionthrown Binary: +##################################################################### + +add_qt_executable(verifyexceptionthrown + NO_INSTALL # special case + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case + GUI + SOURCES + tst_verifyexceptionthrown.cpp + PUBLIC_LIBRARIES + Qt::Test +) + +#### Keys ignored in scope 1:.:.:verifyexceptionthrown.pro:: +# CONFIG = "-debug_and_release_target" "exceptions" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:verifyexceptionthrown.pro:APPLE_OSX: +# CONFIG = "-app_bundle" -- cgit v1.2.3