Skip to content

Commit

Permalink
Add documentation for cmake build / install / uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
tbhaxor committed Aug 16, 2023
1 parent 27d3335 commit c3520a6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@ git clone https://github.com/seladb/PcapPlusPlus.git

Follow the build instructions according to your platform in the [Build From Source](https://pcapplusplus.github.io/docs/install#build-from-source) page in PcapPlusPlus web-site.

**Using CMake**

```sh
# build and install using compiler of your choice (for example, clang here)
CC=clang CXX=clang++ cmake -Bbuild && cmake --build build -j$(nproc) && cmake --install build --prefix /prefix/path
```

```sh
# uninstall
cmake --build build --target uninstall
```

## Feature Overview

- __Packet capture__ through an easy to use C++ wrapper for popular packet capture engines such as [libpcap](https://www.tcpdump.org/), [WinPcap](https://www.winpcap.org/), [Npcap](https://nmap.org/npcap/), [Intel DPDK](https://www.dpdk.org/), [ntop’s PF_RING](https://www.ntop.org/products/packet-capture/pf_ring/) and [raw sockets](https://en.wikipedia.org/wiki/Network_socket#Raw_socket) [[Learn more](https://pcapplusplus.github.io/docs/features#packet-capture)]
Expand Down

0 comments on commit c3520a6

Please sign in to comment.