# build packet_parser add_executable(packet_parser packet_parser.cpp) target_link_libraries(packet_parser packet pcap) file(COPY split_pcap.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) file(COPY cmp_layers.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR})