cpprestsdk
cpprestsdk copied to clipboard
How to cut the size of the static library on Mobile?
On the ios, the Release static library is about 40+MB, it's too big. Is there any way to cut the size of the static library?
@CBHXuTT You could try to strip your binaries through CMake
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s")