microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.99k stars 1.65k forks source link

Static linkage makes the target size really huge #1764

Open Romain-P opened 1 year ago

Romain-P commented 1 year ago

Cmakefile.txt

find_package(cpprestsdk)
target_link_libraries(module PRIVATE cpprestsdk::cpprest)

When compiling, the dll size increases by 3MB+ size, am I missing a specific option?