mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() Establish a new distributed CMake architecture with CMake code related to a source directory moving to be in the subdir in its own CMakeLists.txt. In particular, there's now one in ./lib which calls through to ones further down the directory tree like ./lib/plat/xxx, ./lib/roles/xxx etc. This cuts the main CMakelists.txt from 98KB -> 33KB, about a 66% reduction, and it's much easier to maintain sub-CMakeLists.txt that are in the same directory as the sources they manage, and conceal all the details that that level. Child CMakelists.txt become responsible for: - include_directories() definition (this is not supported by CMake directly, it passes it back up via PARENT_SCOPE vars in helper macros) - Addition child CMakeLists.txt inclusion, for example toplevel -> role -> role subdir - Source file addition to the build - Dependent library path resolution... this is now a private thing in the child CMakeLists.txt, it just passes back any adaptations to include_directories() and the LIB_LIST without filling the parent namespace with the details |
||
---|---|---|
.. | ||
minimal-http-server | ||
minimal-http-server-basicauth | ||
minimal-http-server-cgi | ||
minimal-http-server-custom-headers | ||
minimal-http-server-deaddrop | ||
minimal-http-server-dynamic | ||
minimal-http-server-eventlib | ||
minimal-http-server-eventlib-demos | ||
minimal-http-server-eventlib-foreign | ||
minimal-http-server-eventlib-smp | ||
minimal-http-server-form-get | ||
minimal-http-server-form-post | ||
minimal-http-server-form-post-file | ||
minimal-http-server-form-post-lwsac | ||
minimal-http-server-fulltext-search | ||
minimal-http-server-generic-sessions | ||
minimal-http-server-h2-long-poll | ||
minimal-http-server-mimetypes | ||
minimal-http-server-multivhost | ||
minimal-http-server-proxy | ||
minimal-http-server-smp | ||
minimal-http-server-sse | ||
minimal-http-server-sse-ring | ||
minimal-http-server-tls | ||
minimal-http-server-tls-80 | ||
minimal-http-server-tls-mem | ||
README.md |
Example | Demonstrates |
---|---|
minimal-http-server-basicauth | Shows how to protect a mount using a password file and basic auth |
minimal-http-server-custom-headers | Shows how to query custom headers that lws doesn't already know |
minimal-http-server-deaddrop | Shows how to use the deaddrop drag and drop file upload + sharing plugin |
minimal-http-server-dynamic | Serves both static and dynamically generated http content |
minimal-http-server-eventlib-foreign | Demonstrates integrating lws with a foreign event library |
minimal-http-server-eventlib-demos | Using the demo plugins with event libraries |
minimal-http-server-eventlib | Same as minimal-http-server but works with a supported event library |
minimal-http-server-form-get | Process a GET form |
minimal-http-server-form-post-file | Process a multipart POST form with file transfer |
minimal-http-server-form-post | Process a POST form (no file transfer) |
minimal-http-server-fulltext-search | Demonstrates using lws Fulltext Search |
minimal-http-server-mimetypes | Shows how to add support for additional mimetypes at runtime |
minimal-http-server-multivhost | Same as minimal-http-server but three different vhosts |
minimal-http-server-proxy | Reverse Proxy |
minimal-http-server-smp | Multiple service threads |
minimal-http-server-sse-ring | Server Side Events with ringbuffer and threaded event sources |
minimal-http-server-sse | Simple Server Side Events |
minimal-http-server-tls-80 | Serves a directory over http/1 or http/2 with TLS (SSL), custom 404 handler, redirect to https on port 80 |
minimal-http-server-tls-mem | Serves using TLS with the cert and key provided as memory buffers instead of files |
minimal-http-server-tls | Serves a directory over http/1 or http/2 with TLS (SSL), custom 404 handler |
minimal-http-server | Serves a directory over http/1, custom 404 handler |