summaryrefslogtreecommitdiff
path: root/tests/auto/geotestplugin/CMakeLists.txt
blob: 4c014bd1ee3a800ddbd7b13edd3957533a13d1d0 (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
32
33
qt_internal_add_plugin(TestGeoServicePlugin
    OUTPUT_NAME qtgeoservices_qmltestplugin
    CLASS_NAME QGeoServiceProviderFactoryTest
    PLUGIN_TYPE geoservices
    DEFAULT_IF FALSE
    SOURCES
        qgeocodingmanagerengine_test.h
        qgeoserviceproviderplugin_test.h
        qgeoroutingmanagerengine_test.h
        qplacemanagerengine_test.h
        qgeotiledmappingmanagerengine_test.h
        qgeotiledmap_test.h
        qgeotilefetcher_test.h
        qgeoserviceproviderplugin_test.cpp
        qgeotiledmap_test.cpp
    LIBRARIES
        Qt::Core
        Qt::LocationPrivate
        Qt::PositioningPrivate
        Qt::Test
)

set(plugin_resource_files
    "geotestplugin.json"
    "place_data.json"
)

qt_internal_add_resource(TestGeoServicePlugin "testdata"
    PREFIX
        "/"
    FILES
        ${plugin_resource_files}
)