summaryrefslogtreecommitdiff
path: root/tests/auto/websockets/qwebsocketserver/CMakeLists.txt
blob: 9b2eca8c7b0cdb93724bf603faf763fb9db96ba4 (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
44
45
# Generated from qwebsocketserver.pro.

#####################################################################
## tst_qwebsocketserver Test:
#####################################################################

qt_add_test(tst_qwebsocketserver
    SOURCES
        tst_qwebsocketserver.cpp
    PUBLIC_LIBRARIES
        Qt::WebSockets
)

# Resources:
set_source_files_properties("../shared/localhost.cert"
    PROPERTIES QT_RESOURCE_ALIAS "localhost.cert"
)
set_source_files_properties("../shared/localhost.key"
    PROPERTIES QT_RESOURCE_ALIAS "localhost.key"
)
set(qwebsocketshared_resource_files
    "localhost.cert"
    "localhost.key"
)

qt_add_resource(tst_qwebsocketserver "qwebsocketshared"
    PREFIX
        "/"
    BASE
        "../shared"
    FILES
        ${qwebsocketshared_resource_files}
)


#### Keys ignored in scope 1:.:.:qwebsocketserver.pro:<TRUE>:
# TEMPLATE = "app"

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

qt_extend_target(tst_qwebsocketserver CONDITION boot2qt
    DEFINES
        SHOULD_CHECK_SYSCALL_SUPPORT
)