[CMake] Trying to build a winpcap programme

Mr Shore shore.cloud at gmail.com
Mon May 3 14:30:04 EDT 2010


Hi all, I'm using winpcap for my project.

The detailed steps to use it are
here<http://www.winpcap.org/docs/docs_40_2/html/group__wpcapsamps.html>,
but I don't know whether cmake supports these two operations:

   - If your program uses Win32 specific functions of WinPcap, remember to
   include *WPCAP* among the preprocessor definitions.
   - If your program uses the remote capture capabilities of WinPcap,
add *HAVE_REMOTE
   * among the preprocessor definitions. Do *not* include remote-ext.h
   directly in your source files.


Anyone here has ideas?

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100504/55f0384c/attachment.htm>


More information about the CMake mailing list