This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-packetadapter/common/test/CMakeLists.txt

23 lines
1.0 KiB
CMake

###############################################################################
# gtest_packet_parser
###############################################################################
add_executable(gtest_packet_parser gtest_packet_parser.cpp)
target_include_directories(gtest_packet_parser PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_packet_parser common gtest)
###############################################################################
# gtest_packet_inject
###############################################################################
add_executable(gtest_packet_inject gtest_packet_inject.cpp)
target_include_directories(gtest_packet_inject PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_packet_inject common gtest)
###############################################################################
# gtest_discover_tests
###############################################################################
include(GoogleTest)
gtest_discover_tests(gtest_packet_parser)
gtest_discover_tests(gtest_packet_inject)