From 7e1dacc27a8a9b10c51d42f816083e77e7ad0690 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Fri, 24 Apr 2020 16:37:42 +0200 Subject: Port qtbase/tests/auto/corelib/text tests to CMake Task-number: QTBUG-78220 Change-Id: I497da6ed489854bdee5a1ead9a3f34118c78d001 Reviewed-by: Alexandru Croitor --- tests/auto/corelib/text/qstring/CMakeLists.txt | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/auto/corelib/text/qstring/CMakeLists.txt (limited to 'tests/auto/corelib/text/qstring') diff --git a/tests/auto/corelib/text/qstring/CMakeLists.txt b/tests/auto/corelib/text/qstring/CMakeLists.txt new file mode 100644 index 0000000000..8451e0fcb4 --- /dev/null +++ b/tests/auto/corelib/text/qstring/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qstring.pro. + +##################################################################### +## tst_qstring Test: +##################################################################### + +qt_add_test(tst_qstring + SOURCES + tst_qstring.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + PUBLIC_LIBRARIES + Qt::CorePrivate +) + +## Scopes: +##################################################################### + +qt_extend_target(tst_qstring CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion + DEFINES + QT_NO_DOUBLECONVERSION +) + +qt_extend_target(tst_qstring CONDITION APPLE + SOURCES + tst_qstring_mac.mm + PUBLIC_LIBRARIES + ${FWFoundation} +) -- cgit v1.2.3