# Generated from qopcuaclient.pro.

#####################################################################
## tst_qopcuaclient Test:
#####################################################################

qt_add_test(tst_qopcuaclient
    SOURCES
        ../../common/backend_environment.h
        tst_client.cpp
    INCLUDE_DIRECTORIES
        ../../common
    PUBLIC_LIBRARIES
        Qt::OpcUa
        Qt::OpcUaPrivate
)

# Resources:
set(data_resource_files
    "../../open62541-testserver/pki/own/certs/open62541-testserver.der"
)

qt_add_resource(tst_qopcuaclient "data"
    PREFIX
        "/"
    FILES
        ${data_resource_files}
)


## Scopes:
#####################################################################

qt_extend_target(tst_qopcuaclient CONDITION QT_FEATURE_mbedtls
    DEFINES
        SERVER_SUPPORTS_SECURITY
)
