# Disable disector in wireshark

**URL:** https://discourse.cmake.org/t/disable-disector-in-wireshark/1513
**Category:** Usage
**Tags:** os:linux, gen:makefiles
**Created:** [July 8, 2020, 5:15am UTC](https://discourse.cmake.org/t/disable-disector-in-wireshark/1513 "2020-07-08T05:15:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![bnousilal](https://discourse.cmake.org/user_avatar/discourse.cmake.org/bnousilal/32/731_2.png) [@bnousilal](https://discourse.cmake.org/u/bnousilal)
#### Post date: [July 8, 2020, 5:15am UTC](https://discourse.cmake.org/t/disable-disector-in-wireshark/1513/1 "2020-07-08T05:15:28Z")

</div>

Hi All,

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.

Thanks in advance!.

---

<div class="post-metadata">

### Author: ![hex](https://discourse.cmake.org/user_avatar/discourse.cmake.org/hex/32/363_2.png) [@hex](https://discourse.cmake.org/u/hex)
#### Post date: [July 8, 2020, 6:40am UTC](https://discourse.cmake.org/t/disable-disector-in-wireshark/1513/2 "2020-07-08T06:40:05Z")

</div>

[`cmake_gui`](https://cmake.org/runningcmake/) provides a GUI for enable / disable optional features.

---

<div class="post-metadata">

### Author: ![bnousilal](https://discourse.cmake.org/user_avatar/discourse.cmake.org/bnousilal/32/731_2.png) [@bnousilal](https://discourse.cmake.org/u/bnousilal)
#### Post date: [July 8, 2020, 6:45am UTC](https://discourse.cmake.org/t/disable-disector-in-wireshark/1513/3 "2020-07-08T06:45:49Z")

</div>

Thank you so much reply.

camke\_gui says, command not found.

bash: cmake\_gui: command not found…

---

<div class="post-metadata">

### Author: ![hex](https://discourse.cmake.org/user_avatar/discourse.cmake.org/hex/32/363_2.png) [@hex](https://discourse.cmake.org/u/hex)
#### Post date: [July 8, 2020, 6:48am UTC](https://discourse.cmake.org/t/disable-disector-in-wireshark/1513/4 "2020-07-08T06:48:46Z")

</div>

I am sorry it is `cmake-gui`

---

<div class="post-metadata">

### Author: ![bnousilal](https://discourse.cmake.org/user_avatar/discourse.cmake.org/bnousilal/32/731_2.png) [@bnousilal](https://discourse.cmake.org/u/bnousilal)
#### Post date: [July 8, 2020, 12:53pm UTC](https://discourse.cmake.org/t/disable-disector-in-wireshark/1513/8 "2020-07-08T12:53:19Z")

</div>

i could able to run, but I do not see the protocol list. please help.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [November 11, 2020, 3:15pm UTC](https://discourse.cmake.org/t/disable-disector-in-wireshark/1513/9 "2020-11-11T15:15:52Z")

</div>

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.
