2023-09-01 16:31:14 +08:00
|
|
|
if(EMSCRIPTEN)
|
|
|
|
set(_AX_NETWORK_HEADER
|
2023-09-05 22:17:18 +08:00
|
|
|
network/Downloader-wasm.h
|
2023-09-01 16:31:14 +08:00
|
|
|
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
|
2023-09-05 22:17:18 +08:00
|
|
|
network/HttpClient-wasm.cpp
|
2023-09-01 16:31:14 +08:00
|
|
|
network/Downloader.cpp
|
2023-09-05 22:17:18 +08:00
|
|
|
network/Downloader-wasm.cpp
|
2023-09-01 16:31:14 +08:00
|
|
|
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()
|