[lldb] [llvm] Reland "[Support] Move HTTP client/server to new LLVMSupportHTTP lib (NFC)" (PR #185410)
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 9 15:49:33 PDT 2026
Stefan =?utf-8?q?Gr=C3=A4nitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/185410 at github.com>
================
@@ -0,0 +1,20 @@
+# Link LibCURL if the user wants it
+if (LLVM_ENABLE_CURL)
+ set(imported_libs CURL::libcurl)
+endif()
+
+# Link cpp-httplib if the user wants it
+if (LLVM_ENABLE_HTTPLIB)
+ set(imported_libs ${imported_libs} httplib::httplib)
+endif()
+
+add_llvm_library(LLVMSupportHTTP
+ HTTPClient.cpp
+ HTTPServer.cpp
+
+ LINK_LIBS
+ ${imported_libs}
+
+ LINK_COMPONENTS
+ Support
+)
----------------
petrhosek wrote:
Could we split this into a client and a server library?
https://github.com/llvm/llvm-project/pull/185410
More information about the llvm-commits
mailing list