I am a newbie to cmake, please help me on the below queries.
I have cross-compiled Wireshark 3.2.4 to generate the tsahrk binary and able to run it on the embedded platform.
The issue is “libwireshark.so.13” size is 210Mb, after stripping it is 88Mb, but still, I would like to strip it further by disabling the unnecessary protocols.
Please, let me know how can I disable the unnecessary protocols while building the source code. looks like there are 1000+ protocols support get added by default.
This is more a Wireshark question than CMake-specific question. I’d ask Wireshark developers to expose an option to turn it off (it may well not be exposed).
Another possibility is that it is behind an “Advanced” flag. There is a checkbox in the GUI to show those options.