diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-04-24 16:37:42 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-04-27 14:34:51 +0200 |
commit | 7e1dacc27a8a9b10c51d42f816083e77e7ad0690 (patch) | |
tree | 59450243c316e8e4238b142206fb074d999bdef6 /tests/auto/corelib/text/qstring | |
parent | ceaf23b361a44759892def4270b243fac56db8ba (diff) |
Port qtbase/tests/auto/corelib/text tests to CMake
Task-number: QTBUG-78220
Change-Id: I497da6ed489854bdee5a1ead9a3f34118c78d001
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/corelib/text/qstring')
-rw-r--r-- | tests/auto/corelib/text/qstring/CMakeLists.txt | 29 |
1 files changed, 29 insertions, 0 deletions
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} +) |