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
19 #cmakedefine LWS_USE_MBEDTLS
20 #cmakedefine LWS_USE_POLARSSL
21 #cmakedefine LWS_WITH_ESP8266
23 #cmakedefine LWS_WITH_PLUGINS
24 #cmakedefine LWS_WITH_NO_LOGS
26 /* The Libwebsocket version */
27 #cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
29 #define LWS_LIBRARY_VERSION_MAJOR ${LWS_LIBRARY_VERSION_MAJOR}
30 #define LWS_LIBRARY_VERSION_MINOR ${LWS_LIBRARY_VERSION_MINOR}
31 #define LWS_LIBRARY_VERSION_PATCH ${LWS_LIBRARY_VERSION_PATCH}
32 /* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
33 #define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
35 /* The current git commit hash that we're building from */
36 #cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
38 /* Build with OpenSSL support */
39 #cmakedefine LWS_OPENSSL_SUPPORT
41 /* The client should load and trust CA root certs it finds in the OS */
42 #cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
44 /* Sets the path where the client certs should be installed. */
45 #cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
47 /* Turn off websocket extensions */
48 #cmakedefine LWS_NO_EXTENSIONS
50 /* Enable libev io loop */
51 #cmakedefine LWS_USE_LIBEV
53 /* Enable libuv io loop */
54 #cmakedefine LWS_USE_LIBUV
56 /* Build with support for ipv6 */
57 #cmakedefine LWS_USE_IPV6
59 /* Build with support for UNIX domain socket */
60 #cmakedefine LWS_USE_UNIX_SOCK
62 /* Build with support for HTTP2 */
63 #cmakedefine LWS_USE_HTTP2
65 /* Turn on latency measuring code */
66 #cmakedefine LWS_LATENCY
68 /* Don't build the daemonizeation api */
69 #cmakedefine LWS_NO_DAEMONIZE
71 /* Build without server support */
72 #cmakedefine LWS_NO_SERVER
74 /* Build without client support */
75 #cmakedefine LWS_NO_CLIENT
77 /* If we should compile with MinGW support */
78 #cmakedefine LWS_MINGW_SUPPORT
80 /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
81 #cmakedefine LWS_BUILTIN_GETIFADDRS
83 /* use SHA1() not internal libwebsockets_SHA1 */
84 #cmakedefine LWS_SHA1_USE_OPENSSL_NAME
86 /* SSL server using ECDH certificate */
87 #cmakedefine LWS_SSL_SERVER_WITH_ECDH_CERT
88 #cmakedefine LWS_HAVE_SSL_CTX_set1_param
89 #cmakedefine LWS_HAVE_X509_VERIFY_PARAM_set1_host
91 #cmakedefine LWS_HAVE_UV_VERSION_H
94 #cmakedefine LWS_WITH_CGI
96 /* whether the Openssl is recent enough, and / or built with, ecdh */
97 #cmakedefine LWS_HAVE_OPENSSL_ECDH_H
99 /* HTTP Proxy support */
100 #cmakedefine LWS_WITH_HTTP_PROXY
102 /* Http access log support */
103 #cmakedefine LWS_WITH_ACCESS_LOG
104 #cmakedefine LWS_WITH_SERVER_STATUS
106 #cmakedefine LWS_WITH_STATEFUL_URLDECODE
108 /* Maximum supported service threads */
109 #define LWS_MAX_SMP ${LWS_MAX_SMP}
111 /* Lightweight JSON Parser */
112 #cmakedefine LWS_WITH_LEJP
115 #cmakedefine LWS_WITH_SMTP
117 ${LWS_SIZEOFPTR_CODE}