############################################################################### # gtest ############################################################################### add_executable(gtest_packet gtest_packet.cpp) target_link_libraries(gtest_packet packet gtest) add_executable(gtest_udp_utils gtest_udp_utils.cpp) target_link_libraries(gtest_udp_utils packet gtest) add_executable(gtest_tcp_utils gtest_tcp_utils.cpp) target_link_libraries(gtest_tcp_utils packet gtest) add_executable(gtest_ipv4_utils gtest_ipv4_utils.cpp) target_link_libraries(gtest_ipv4_utils packet gtest) add_executable(gtest_ipv6_utils gtest_ipv6_utils.cpp) target_link_libraries(gtest_ipv6_utils packet gtest) add_executable(gtest_packet_utils gtest_packet_utils.cpp) target_link_libraries(gtest_packet_utils packet gtest) include(GoogleTest) gtest_discover_tests(gtest_packet) gtest_discover_tests(gtest_udp_utils) gtest_discover_tests(gtest_tcp_utils) gtest_discover_tests(gtest_ipv4_utils) gtest_discover_tests(gtest_ipv6_utils) gtest_discover_tests(gtest_packet_utils)