9 lines
302 B
CMake
9 lines
302 B
CMake
add_executable(gtest_packet_io gtest_packet_io.cpp)
|
|
target_link_libraries(gtest_packet_io packet_io gtest)
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(gtest_packet_io)
|
|
|
|
file(COPY ./conf/ DESTINATION ./conf/)
|
|
file(COPY ./pcap/ DESTINATION ./pcap/)
|
|
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/metrics/) |