blob: a098ffcb111e69ab593daec973007824ac20bb80 (
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
34
35
36
37
38
39
40
41
42
43
|
# 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_open62541_security AND QT_FEATURE_open62541 # special case
DEFINES
SERVER_SUPPORTS_SECURITY
)
# special case begin
if (WIN32)
target_compile_definitions(tst_qopcuaclient PRIVATE TESTS_CMAKE_SPECIFIC_PATH)
endif()
# special case end
|