-
- Downloads
CMake: convert all LWS_USE_... to LWS_WITH_...
Almost all the CMake options begin with LWS_WITH_..., but many of the symbols passed to lws are LWS_USE_... , this causes neededless confusion, compounded by the fact that a few CMake options also begin with LWS_USE_. This patch globally converts all LWS_USE_... to LWS_WITH_..., so there is only one prefix to remember in both CMake and the code. The affected public CMake options are LWS_USE_BORINGSSL -> LWS_WITH_BORINGSSL LWS_USE_CYASSL -> LWS_WITH_CYASSL LWS_USE_WOLFSSL -> LWS_WITH_WOLFSSL LWS_USE_MBEDTLS -> LWS_WITH_MBEDTLS LWS_USE_BUNDLED_ZLIB -> LWS_WITH_BUNDLED_ZLIB
Showing
- CMakeLists.txt 46 additions, 46 deletionsCMakeLists.txt
- READMEs/README.build.md 2 additions, 2 deletionsREADMEs/README.build.md
- cmake/lws_config.h.in 9 additions, 9 deletionscmake/lws_config.h.in
- component.mk 1 addition, 1 deletioncomponent.mk
- contrib/android-make-script.sh 1 addition, 1 deletioncontrib/android-make-script.sh
- contrib/cross-openwrt-makefile 2 additions, 2 deletionscontrib/cross-openwrt-makefile
- lib/client-handshake.c 7 additions, 7 deletionslib/client-handshake.c
- lib/context.c 8 additions, 8 deletionslib/context.c
- lib/handshake.c 1 addition, 1 deletionlib/handshake.c
- lib/header.c 5 additions, 5 deletionslib/header.c
- lib/lejp-conf.c 1 addition, 1 deletionlib/lejp-conf.c
- lib/libwebsockets.c 17 additions, 17 deletionslib/libwebsockets.c
- lib/libwebsockets.h 16 additions, 16 deletionslib/libwebsockets.h
- lib/lws-genhash.c 3 additions, 3 deletionslib/lws-genhash.c
- lib/lws-plat-esp32.c 4 additions, 4 deletionslib/lws-plat-esp32.c
- lib/lws-plat-unix.c 5 additions, 5 deletionslib/lws-plat-unix.c
- lib/lws-plat-win.c 3 additions, 3 deletionslib/lws-plat-win.c
- lib/output.c 1 addition, 1 deletionlib/output.c
- lib/pollfd.c 2 additions, 2 deletionslib/pollfd.c
- lib/private-libwebsockets.h 35 additions, 35 deletionslib/private-libwebsockets.h
Loading
Please register or sign in to comment