You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Pcap++ is now built from source when using built-in dependencies
- udpcap now links against PcapPlusPlus::Pcap++ (it was pcapplusplus::pcapplusplus before) in order to be compatible with the officially introduced names.
- Added UDPCAP_INSTALL cmake option to turn off installation
- Prevent installing gtest libraries when using built-in dependencies
- udpcap now explicitely links against delayimp, so ninja also links that lib
- Updated GH Action to VS 2019 Toolchain
- Static GH Action artifacts now include pcap++ libs
| `UDPCAP_THIRDPARTY_ENABLED` | `BOOL` | `ON` | Activate / Deactivate the usage of integrated dependencies. |
132
133
| `UDPCAP_THIRDPARTY_USE_BUILTIN_NPCAP` | `BOOL` | `ON` | Fetch and build against an integrated Version of the npcap SDK. <br>Only available if `UDPCAP_THIRDPARTY_ENABLED=ON` |
133
134
| `UDPCAP_THIRDPARTY_USE_BUILTIN_PCAPPLUSPLUS` | `BOOL` | `ON` | Fetch and build against an integrated Version of Pcap++. <br>_Only available if `UDPCAP_THIRDPARTY_ENABLED=ON`_ |
134
135
| `UDPCAP_THIRDPARTY_USE_BUILTIN_ASIO` | `BOOL` | `ON` | Fetch and build against an integrated Version of asio. <br>Only available if `UDPCAP_THIRDPARTY_ENABLED=ON` |
135
136
| `UDPCAP_THIRDPARTY_USE_BUILTIN_GTEST` | `BOOL` | `ON` | Fetch and build tests against a predefined version of GTest. If disabled, the targets have to be provided externally. <br>Only available if `UDPCAP_THIRDPARTY_ENABLED=ON` and `UDPCAP_BUILD_TESTS=ON`|
136
137
| `UDPCAP_LIBRARY_TYPE` | `STRING` | | Controls the library type of Udpcap by injecting the string into the `add_library` call. Can be set to STATIC / SHARED / OBJECT. If set, this will override the regular `BUILD_SHARED_LIBS` CMake option. If not set, CMake will use the default setting, which is controlled by `BUILD_SHARED_LIBS`. |
138
+
137
139
# How to integrate Udpcap in your project
138
140
139
141
**Integrate as binaries**:
@@ -144,7 +146,7 @@ You can set the following CMake Options to control how Udpcap is supposed to bui
144
146
145
147
If you chose the **static** udpcap library (-> `.lib`), you need to make the following targets available for CMake as well:
146
148
147
-
- `pcapplusplus::pcapplusplus`
149
+
- `PcapPlusPlus::Pcap++`
148
150
- `npcap::npcap`
149
151
150
152
Check out the [Udpcap integration sample](samples/integration_test/CMakeLists.txt) for a suggestion on how to do that. You can find the scripts and modules for fetching and finding Npcap and Pcap++ here:
0 commit comments