[Lldb-commits] [lldb] [llvm] Reland "[Support] Move HTTP client/server to new LLVMSupportHTTP lib (NFC)" (PR #185410)

Stefan Gränitz via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 11 09:17:26 PDT 2026


================
@@ -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
+)
----------------
weliveindetail wrote:

@petrhosek I am inclined to give this another try tomorrow morning CET. Please let me know if you think we should discuss the split in more detail. Otherwise, we could always do it in a separate PR.

https://github.com/llvm/llvm-project/pull/185410


More information about the lldb-commits mailing list