diff options
Diffstat (limited to 'tests/auto/corelib/plugin/quuid/test')
-rw-r--r-- | tests/auto/corelib/plugin/quuid/test/CMakeLists.txt | 28 | ||||
-rw-r--r-- | tests/auto/corelib/plugin/quuid/test/test.pro | 19 |
2 files changed, 28 insertions, 19 deletions
diff --git a/tests/auto/corelib/plugin/quuid/test/CMakeLists.txt b/tests/auto/corelib/plugin/quuid/test/CMakeLists.txt new file mode 100644 index 0000000000..ec6c1979f7 --- /dev/null +++ b/tests/auto/corelib/plugin/quuid/test/CMakeLists.txt @@ -0,0 +1,28 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause + +##################################################################### +## tst_quuid Test: +##################################################################### + +qt_internal_add_test(tst_quuid + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" + SOURCES + ../tst_quuid.cpp + LIBRARIES + Qt::TestPrivate +) + +## Scopes: + +qt_internal_extend_target(tst_quuid CONDITION APPLE + SOURCES + ../tst_quuid_darwin.mm + LIBRARIES + Qt::CorePrivate + ${FWFoundation} +) + +if(QT_FEATURE_process AND NOT ANDROID) + add_dependencies(tst_quuid testProcessUniqueness) +endif() diff --git a/tests/auto/corelib/plugin/quuid/test/test.pro b/tests/auto/corelib/plugin/quuid/test/test.pro deleted file mode 100644 index 562bfbdc25..0000000000 --- a/tests/auto/corelib/plugin/quuid/test/test.pro +++ /dev/null @@ -1,19 +0,0 @@ -CONFIG += testcase -TARGET = tst_quuid -QT = core testlib -SOURCES = ../tst_quuid.cpp - -darwin { - OBJECTIVE_SOURCES = ../tst_quuid_darwin.mm - LIBS += -framework Foundation -} - -CONFIG(debug_and_release_target) { - CONFIG(debug, debug|release) { - DESTDIR = ../debug - } else { - DESTDIR = ../release - } -} else { - DESTDIR = .. -} |