diff options
Diffstat (limited to 'tests/auto/corelib/serialization/json/CMakeLists.txt')
-rw-r--r-- | tests/auto/corelib/serialization/json/CMakeLists.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/auto/corelib/serialization/json/CMakeLists.txt b/tests/auto/corelib/serialization/json/CMakeLists.txt new file mode 100644 index 0000000000..6f477bb541 --- /dev/null +++ b/tests/auto/corelib/serialization/json/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from json.pro. + +##################################################################### +## tst_json Test: +##################################################################### + +add_qt_test(tst_json + SOURCES + tst_qtjson.cpp + PUBLIC_LIBRARIES + Qt::CorePrivate +) + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:json.pro:NOT ANDROID: +# TESTDATA = "bom.json" "test.json" "test.bjson" "test3.json" "test2.json" + +if(ANDROID) + # Resources: + set(json_resource_files + "bom.json" + "test.bjson" + "test.json" + "test2.json" + "test3.json" + ) + + add_qt_resource(tst_json "json" + PREFIX + "/" + FILES + ${json_resource_files} + ) +endif() + +extend_target(tst_json CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion + DEFINES + QT_NO_DOUBLECONVERSION +) |