Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Compiling a plugin

From: Juan Jose Martin Carrascosa <juanjo@xxxxxxx>
Date: Wed, 23 Sep 2015 16:57:04 +0200
Graham and Dario,

Many thanks for the info. The option Dario suggests seems good enough for this. I will try to use that approach. Analyzing the CMakeLists.txt file it seems it won't require a lot of changes.

Thanks again. This definitively helps.

Juanjo Martin

On Wed, Sep 23, 2015 at 4:50 PM, Dario Lombardo <dario.lombardo.ml@xxxxxxxxx> wrote:
You can also start from this project of mine.


This compiles a plugin using cmake without compiling the whole thing. The resulting .so can (or, better, was used to, since this is an old code) be installed inside the distribution wireshark. Hope it works for you.

On Wed, Sep 23, 2015 at 3:52 PM, Juan Jose Martin Carrascosa <juanjo@xxxxxxx> wrote:
Hi all,

I am looking for documentation regarding how to compile a plugin without the build directory. 

For instance, imagine I develop a plugin and I want to share it with a colleague. He modifies something and wants to compile it. Does he need the full build directory?

If any documentation about this exists, can you point me to it?

For your reference, I am interesting on doing it in Linux.

Thanks in advance.

Juanjo Martin

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe