Wireshark mailing list archives

Re: Cmake buildding custom plugins?


From: Anders Broman <anders.broman () ericsson com>
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…
Regards
Anders

From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] 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 <anders.broman () ericsson com<mailto:anders.broman () ericsson com>> 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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: