1 /* lws_config.h Generated from lws_config.h.in */
9 #define LWS_INSTALL_DATADIR "${CMAKE_INSTALL_PREFIX}/share"
11 /* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL.
12 * LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
13 #cmakedefine USE_WOLFSSL
15 /* Also define to 1 (in addition to USE_WOLFSSL) when using the
16 (older) CyaSSL library */
17 #cmakedefine USE_OLD_CYASSL
18 #cmakedefine LWS_USE_BORINGSSL
20 #cmakedefine LWS_USE_MBEDTLS
21 #cmakedefine LWS_USE_POLARSSL
22 #cmakedefine LWS_WITH_ESP8266
24 #cmakedefine LWS_WITH_PLUGINS
25 #cmakedefine LWS_WITH_NO_LOGS
27 /* The Libwebsocket version */
28 #cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
30 #define LWS_LIBRARY_VERSION_MAJOR ${LWS_LIBRARY_VERSION_MAJOR}
31 #define LWS_LIBRARY_VERSION_MINOR ${LWS_LIBRARY_VERSION_MINOR}
32 #define LWS_LIBRARY_VERSION_PATCH ${LWS_LIBRARY_VERSION_PATCH}
33 /* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
34 #define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
36 /* The current git commit hash that we're building from */
37 #cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
39 /* Build with OpenSSL support */
40 #cmakedefine LWS_OPENSSL_SUPPORT
42 /* The client should load and trust CA root certs it finds in the OS */
43 #cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
45 /* Sets the path where the client certs should be installed. */
46 #cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
48 /* Turn off websocket extensions */
49 #cmakedefine LWS_NO_EXTENSIONS
51 /* Enable libev io loop */
52 #cmakedefine LWS_USE_LIBEV
54 /* Enable libuv io loop */
55 #cmakedefine LWS_USE_LIBUV
57 /* Build with support for ipv6 */
58 #cmakedefine LWS_USE_IPV6
60 /* Build with support for UNIX domain socket */
61 #cmakedefine LWS_USE_UNIX_SOCK
63 /* Build with support for HTTP2 */
64 #cmakedefine LWS_USE_HTTP2
66 /* Turn on latency measuring code */
67 #cmakedefine LWS_LATENCY
69 /* Don't build the daemonizeation api */
70 #cmakedefine LWS_NO_DAEMONIZE
72 /* Build without server support */
73 #cmakedefine LWS_NO_SERVER
75 /* Build without client support */
76 #cmakedefine LWS_NO_CLIENT
78 /* If we should compile with MinGW support */
79 #cmakedefine LWS_MINGW_SUPPORT
81 /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
82 #cmakedefine LWS_BUILTIN_GETIFADDRS
84 /* use SHA1() not internal libwebsockets_SHA1 */
85 #cmakedefine LWS_SHA1_USE_OPENSSL_NAME
87 /* SSL server using ECDH certificate */
88 #cmakedefine LWS_SSL_SERVER_WITH_ECDH_CERT
89 #cmakedefine LWS_HAVE_SSL_CTX_set1_param
90 #cmakedefine LWS_HAVE_X509_VERIFY_PARAM_set1_host
92 #cmakedefine LWS_HAVE_UV_VERSION_H
95 #cmakedefine LWS_WITH_CGI
97 /* whether the Openssl is recent enough, and / or built with, ecdh */
98 #cmakedefine LWS_HAVE_OPENSSL_ECDH_H
100 /* HTTP Proxy support */
101 #cmakedefine LWS_WITH_HTTP_PROXY
103 /* HTTP Ranges support */
104 #cmakedefine LWS_WITH_RANGES
106 /* Http access log support */
107 #cmakedefine LWS_WITH_ACCESS_LOG
108 #cmakedefine LWS_WITH_SERVER_STATUS
110 #cmakedefine LWS_WITH_STATEFUL_URLDECODE
112 /* Maximum supported service threads */
113 #define LWS_MAX_SMP ${LWS_MAX_SMP}
115 /* Lightweight JSON Parser */
116 #cmakedefine LWS_WITH_LEJP
119 #cmakedefine LWS_WITH_SMTP
122 #cmakedefine LWS_PLAT_OPTEE
125 ${LWS_SIZEOFPTR_CODE}