Hi Timo.
Yes, not compiled extcaps are to be placed in the extcap folder.
Since you're not integrating into the wireshark building system, you don't
have to handle cmake. From a working wireshark installation, just point out
where the extcap folder is (have a look at the about dialog, in case you
don't know it) and put your executable inside it. Be sure it fulfils all
the requirements for the excap interface (starting from the python
interpreter, executable bit, etc). The extcap interface is intentionally
loose and what doesn't fit it, it's just silently discarded.

On Sun, May 21, 2023 at 10:44 PM Timo Warns <
timow+git...@diningphilosopher.de> wrote:

> I am writing an extcap program building upon doc/extcap_example.py.
>
> - Shall extcap programs that do not need compilation also be placed in
>   extcap/?
>
> - I am not very familiar with CMake and am struggling with getting the
>   extcap program copied over to run/extcap/ by the build system. (For
>   example, simply adding "install(PROGRAMS [...]" to
>   extcap/CMakeLists.txt does not seem to be sufficient.) Could someone
>   please provide some guidance on how to manage non-compiled extcap
>   programs?
>
> Thanks, Timo
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-requ...@wireshark.org
> ?subject=unsubscribe
>


-- 

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

Reply via email to