Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 693 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 693 Bytes

IP Filter

Educational project with googletest

Build local Linux

sudo apt-get update && sudo apt-get install cmake libgtest-dev -y

cd IPFilter
mkdir build && cd build

cmake ..

# build release
cmake --build . --config Release

# build deb-package
cmake --build . --target package

Build local Windows

vcpkg install gtest
vcpkg integrate install

cd IPFilter
mkdir build && cd build

cmake .. -DCMAKE_TOOLCHAIN_FILE="path/to/vcpkg/scripts/buildsystems/vcpkg.cmake"

# build release
cmake --build . --config Release

Testing

cat ip_filter.tsv | ./IPFilter | md5sum
# 24e7a7b2270daee89c64d3ca5fb3da1a  -