Wireshark-dev: Re: [Wireshark-dev] Cmake buildding custom plugins?
From: Anders Broman <[email protected]>
Date: Fri, 29 Aug 2014 14:48:29 +0000

Actually cmake isn’t building custom built in dissectors either I think. How do you run cmake from the command line in Linux?

I don’t have a setup to run cmake currently…




From: [email protected] [mailto:[email protected]] On Behalf Of Graham Bloice
Sent: den 29 augusti 2014 14:29
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Cmake buildding custom plugins?


On 29 August 2014 12:59, Anders Broman <[email protected]> wrote:


With the other build systems one can easily add custom plugins dissectors using Custom.m4 Custom.mak and Custom.nmake

How to do that with cmake?




I think you need to modify the main CMakeLists.txt to add your plugin to PLUGIN_SRC_DIRS (along with a CMakeLists.txt for the actual plugin).


I see no reason why that couldn't be extended to include a CustomCMakeLists.txt in the plugins directory.




Graham Bloice