add_executable(gtest_tunnel gtest_tunnel.cpp) target_link_libraries(gtest_tunnel 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_mpls_utils gtest_mpls_utils.cpp) target_link_libraries(gtest_mpls_utils packet gtest) add_executable(gtest_eth_utils gtest_eth_utils.cpp) target_link_libraries(gtest_eth_utils packet gtest) add_executable(gtest_vlan_utils gtest_vlan_utils.cpp) target_link_libraries(gtest_vlan_utils packet gtest) add_executable(gtest_vxlan_utils gtest_vxlan_utils.cpp) target_link_libraries(gtest_vxlan_utils packet gtest) add_executable(gtest_gre_utils gtest_gre_utils.cpp) target_link_libraries(gtest_gre_utils packet gtest) add_executable(gtest_l2tp_utils gtest_l2tp_utils.cpp) target_link_libraries(gtest_l2tp_utils packet gtest) add_executable(gtest_packet_frag gtest_packet_frag.cpp) target_link_libraries(gtest_packet_frag packet gtest) add_executable(gtest_packet_parse gtest_packet_parse.cpp) target_link_libraries(gtest_packet_parse packet gtest) add_executable(gtest_packet_build gtest_packet_build.cpp) target_link_libraries(gtest_packet_build packet gtest) add_executable(gtest_packet_ldbc gtest_packet_ldbc.cpp) target_link_libraries(gtest_packet_ldbc packet gtest) include(GoogleTest) gtest_discover_tests(gtest_tunnel) 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_mpls_utils) gtest_discover_tests(gtest_eth_utils) gtest_discover_tests(gtest_vlan_utils) gtest_discover_tests(gtest_vxlan_utils) gtest_discover_tests(gtest_gre_utils) gtest_discover_tests(gtest_l2tp_utils) gtest_discover_tests(gtest_packet_frag) gtest_discover_tests(gtest_packet_parse) gtest_discover_tests(gtest_packet_build) gtest_discover_tests(gtest_packet_ldbc)