Wireshark-dev: Re: [Wireshark-dev] Cmake buildding custom plugins?
From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Fri, 29 Aug 2014 13:29:02 +0100
On 29 August 2014 12:59, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:

Hi,

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