2016-03-03 08:51:54 +08:00
|
|
|
if(ANDROID)
|
2018-05-02 15:33:01 +08:00
|
|
|
set(COCOS_NETWORK_HEADER
|
|
|
|
network/CCDownloader-android.h
|
|
|
|
)
|
|
|
|
set(COCOS_NETWORK_SRC
|
|
|
|
network/HttpClient-android.cpp
|
|
|
|
network/CCDownloader.cpp
|
|
|
|
network/CCDownloader-android.cpp
|
|
|
|
network/Uri.cpp
|
|
|
|
)
|
2018-03-14 13:51:29 +08:00
|
|
|
elseif(APPLE)
|
2018-05-02 15:33:01 +08:00
|
|
|
set(COCOS_NETWORK_HEADER
|
|
|
|
network/CCDownloader-apple.h
|
|
|
|
network/HttpAsynConnection-apple.h
|
|
|
|
)
|
|
|
|
set(COCOS_NETWORK_SRC
|
|
|
|
network/CCDownloader-apple.mm
|
|
|
|
network/HttpClient.cpp
|
|
|
|
network/CCDownloader.cpp
|
|
|
|
network/CCDownloader-curl.cpp
|
|
|
|
network/Uri.cpp
|
|
|
|
)
|
2018-02-08 09:24:33 +08:00
|
|
|
else()
|
2018-05-02 15:33:01 +08:00
|
|
|
set(COCOS_NETWORK_SRC
|
|
|
|
network/HttpClient.cpp
|
|
|
|
network/CCDownloader.cpp
|
|
|
|
network/CCDownloader-curl.cpp
|
|
|
|
network/Uri.cpp
|
|
|
|
)
|
2018-02-08 09:24:33 +08:00
|
|
|
endif()
|
2016-03-03 08:51:54 +08:00
|
|
|
|
2018-03-14 13:51:29 +08:00
|
|
|
set(COCOS_NETWORK_HEADER
|
|
|
|
${COCOS_NETWORK_HEADER}
|
|
|
|
network/CCDownloader-curl.h
|
|
|
|
network/CCIDownloaderImpl.h
|
|
|
|
network/CCDownloader.h
|
|
|
|
network/Uri.h
|
|
|
|
network/HttpClient.h
|
|
|
|
network/HttpResponse.h
|
|
|
|
network/HttpRequest.h
|
|
|
|
network/HttpCookie.h
|
2018-05-02 15:33:01 +08:00
|
|
|
)
|