WinPCAP library is an API for capturing network traffic for Windows
Conan.io package for winpcap project
The packages generated with this conanfile can be found in Bintray.
Build packages
Download conan client from Conan.io and run:
$ python build.py
If your are in Windows you should run it from a VisualStudio console in order to get "mc.exe" in path.
Upload packages to server
$ conan upload winpcap/4.1.3@uilianries/stable --all
Reuse the packages
Basic setup
$ conan install winpcap/4.1.3@uilianries/stable
Project setup
If you handle multiple dependencies in your project is better to add a conanfile.txt
[requires]
winpcap/4.1.3@uilianries/stable
[generators]
txt
cmake
Complete the installation of requirements for your project running:
conan install .
Project setup installs the library (and all his dependencies) and generates the files conanbuildinfo.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.