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 --- tests/auto/testlib/selftests/mouse/CMakeLists.txt | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/auto/testlib/selftests/mouse/CMakeLists.txt (limited to 'tests/auto/testlib/selftests/mouse') diff --git a/tests/auto/testlib/selftests/mouse/CMakeLists.txt b/tests/auto/testlib/selftests/mouse/CMakeLists.txt new file mode 100644 index 0000000000..a30d5fecdf --- /dev/null +++ b/tests/auto/testlib/selftests/mouse/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from mouse.pro. + +##################################################################### +## mouse Binary: +##################################################################### + +add_qt_executable(mouse + NO_INSTALL # special case + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case + GUI + SOURCES + tst_mouse.cpp + LIBRARIES + Qt::GuiPrivate + Qt::TestPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:mouse.pro:: +# CONFIG = "-debug_and_release_target" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:mouse.pro:APPLE_OSX: +# CONFIG = "-app_bundle" -- cgit v1.2.3