From 912cd60c4cdfd6e0253ee1b9ed1abade09ac8b7c Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Fri, 30 Jun 2023 10:55:49 +0200 Subject: various zenhttp fixes from sb/proto * Made HttpHealthService use locks to serialize access to state * Added ToString(HttpResponseCode HttpCode) * Added support for JS source maps * Moved IHttpStatsProvider/IHttpStatsService * Enabled enumeration of stats providers * Disabled build of HttpTestingService unless ZEN_WITH_TESTS is defined --- src/zenhttp/xmake.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/zenhttp/xmake.lua') diff --git a/src/zenhttp/xmake.lua b/src/zenhttp/xmake.lua index b4154c0fa..411436b16 100644 --- a/src/zenhttp/xmake.lua +++ b/src/zenhttp/xmake.lua @@ -2,6 +2,7 @@ target('zenhttp') set_kind("static") + set_group("libs") add_headerfiles("**.h") add_files("**.cpp") add_files("httpsys.cpp", {unity_ignored=true}) @@ -13,7 +14,8 @@ target('zenhttp') "vcpkg::openssl", -- required by curl "vcpkg::zlib", -- required by curl "vcpkg::gsl-lite", - "vcpkg::http-parser" + "vcpkg::http-parser", + "vcpkg::cpr" ) add_options("httpsys") -- cgit v1.2.3