cmake_minimum_required(VERSION 3.5)

project(pcapio LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set (PRJ_HEADERS
    pcapio.h
)

set (PRJ_SOURCES
    pcapio.cpp
)
add_executable(pcapio
    ${PRJ_HEADERS}
    ${PRJ_SOURCES}
    main.cpp
)

target_link_libraries(pcapio pcap)
