Debian Codegraph @

src/sp/transport/ws/CMakeLists.txt

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #
2 # Copyright 2020 Staysail Systems, Inc. <[email protected]>
3 # Copyright 2018 Capitar IT Group BV <[email protected]>
4 #
5 # This software is supplied under the terms of the MIT License, a
6 # copy of which should be located in the distribution where this
7 # file was obtained (LICENSE.txt). A copy of the license may also be
8 # found online at https://opensource.org/licenses/MIT.
9 #
10
11 # WebSocket transport
12 nng_directory(ws)
13
14 if (NNG_TRANSPORT_WS OR NNG_TRANSPORT_WSS)
15 set(WS_ON ON)
16 endif()
17
18 nng_defines_if(NNG_TRANSPORT_WS NNG_TRANSPORT_WS)
19 nng_defines_if(NNG_TRANSPORT_WSS NNG_TRANSPORT_WSS)
20 nng_sources_if(WS_ON websocket.c)
21 nng_headers_if(WS_ON nng/transport/ws/websocket.h)
22 nng_test_if(WS_ON ws_test)
23
24