2023-09-01 16:31:14 +08:00
|
|
|
if(EMSCRIPTEN)
|
|
|
|
set(_AX_NETWORK_HEADER
|
|
|
|
network/Downloader-emscripten.h
|
|
|
|
network/IDownloaderImpl.h
|
|
|
|
network/Downloader.h
|
|
|
|
network/Uri.h
|
|
|
|
network/HttpClient.h
|
|
|
|
network/HttpResponse.h
|
|
|
|
network/HttpRequest.h
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|
2019-11-24 15:43:28 +08:00
|
|
|
|
2023-09-01 16:31:14 +08:00
|
|
|
set(_AX_NETWORK_SRC
|
|
|
|
network/HttpClient-emscripten.cpp
|
|
|
|
network/Downloader.cpp
|
|
|
|
network/Downloader-emscripten.cpp
|
|
|
|
network/HttpCookie.cpp
|
|
|
|
network/Uri.cpp
|
2019-11-24 15:43:28 +08:00
|
|
|
)
|
2023-09-01 16:31:14 +08:00
|
|
|
else()
|
|
|
|
set(_AX_NETWORK_HEADER
|
|
|
|
network/Downloader-curl.h
|
|
|
|
network/IDownloaderImpl.h
|
|
|
|
network/Downloader.h
|
|
|
|
network/Uri.h
|
|
|
|
network/HttpClient.h
|
|
|
|
network/HttpResponse.h
|
|
|
|
network/HttpRequest.h
|
|
|
|
network/HttpCookie.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(_AX_NETWORK_SRC
|
|
|
|
network/HttpClient.cpp
|
|
|
|
network/Downloader.cpp
|
|
|
|
network/Downloader-curl.cpp
|
|
|
|
network/HttpCookie.cpp
|
|
|
|
network/Uri.cpp
|
|
|
|
)
|
|
|
|
endif()
|