summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/json/CMakeLists.txt
blob: fc9f8d19133045b643a4cd386ad5b9e6228c8ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

# Generated from json.pro.

#####################################################################
## tst_json Test:
#####################################################################

set(json_resource_files
    "bom.json"
    "test.json"
    "test2.json"
    "test3.json"
    "simple.duplicates.json"
    "test.duplicates.json"
    "test3.duplicates.json"
)

qt_internal_add_test(tst_json
    SOURCES
        tst_qtjson.cpp
    LIBRARIES
        Qt::CorePrivate
    TESTDATA ${json_resource_files}
)

qt_internal_extend_target(tst_json CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
    DEFINES
        QT_NO_DOUBLECONVERSION
)