1 | initial version |
Pretty hard. However, you can build and link the static libraries instead of DLLs, and it should, maybe, possibly remove unused symbols (IE: functions and classes) at the link time.
It involves setting your own compiler settings, which depending on your comfort level, may be a bad idea.
https://stackoverflow.com/questions/6215782/do-unused-functions-get-optimized-out