Wireshark-dev: Re: [Wireshark-dev] how does cmake know how to generate plugin.c
From: Joerg Mayer <[email protected]>
Date: Wed, 19 Jun 2013 04:31:43 +0200
On Tue, Jun 18, 2013 at 12:34:08PM -0700, Dirk Jagdmann wrote:
> I'm studying cmake rules in the plugin/ directory. I can not find
> out, how cmake knows how to build the plugin.c file for each of the
> plugins. Where is this defined?

register_dissector_files(plugin.c
        plugin
        ${DISSECTOR_SRC}
)

which gets defined in cmake/modules/UseMakeDissectorReg.cmake

Ciao
      Jörg
-- 
Joerg Mayer                                           <[email protected]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.