Initial libcurl wxWebRequest implementation

This commit is contained in:
Tobias Taschner
2018-11-03 17:50:04 +01:00
parent 2fa38b1d26
commit 127b596ada
6 changed files with 676 additions and 14 deletions

View File

@@ -155,8 +155,11 @@ endif()
if(APPLE)
wx_option(wxUSE_WEBREQUEST_URLSESSION "use wxWebRequest URLSession backend")
endif()
set(wxUSE_WEBREQUEST_CURL_DEFAULT OFF)
#TODO: determine wxUSE_WEBREQUEST_CURL_DEFAULT (based)
if(APPLE OR WIN32)
set(wxUSE_WEBREQUEST_CURL_DEFAULT OFF)
else()
set(wxUSE_WEBREQUEST_CURL_DEFAULT ON)
endif()
wx_option(wxUSE_WEBREQUEST_CURL "use wxWebRequest libcurl backend" ${wxUSE_WEBREQUEST_CURL_DEFAULT})
wx_option(wxUSE_ZIPSTREAM "use wxZip streams")