From: Andy Green Date: Sat, 26 Dec 2015 07:07:45 +0000 (+0800) Subject: mbed3 remove forcing _DEBUG X-Git-Tag: upstream/1.7.3~167 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a24b40860f37fc459ff3cd43ec88216049801229;p=platform%2Fupstream%2Flibwebsockets.git mbed3 remove forcing _DEBUG It saves us ~4KB of lwsl_info / _debug etc strings. The test app comes in at 114KB then, including 19KB of html, png and ico assets. Signed-off-by: Andy Green --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ba59a4a..a098a95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -244,9 +244,9 @@ if (LWS_WITH_HTTP2) set(LWS_USE_HTTP2 1) endif() -if (LWS_MBED3) - set(CMAKE_C_FLAGS "-D_DEBUG ${CMAKE_C_FLAGS}") -endif() +#if (LWS_MBED3) +# set(CMAKE_C_FLAGS "-D_DEBUG ${CMAKE_C_FLAGS}") +#endif() if (MINGW) set(LWS_MINGW_SUPPORT 1)