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
tango-tsg-service-chaining-…/common/test/CMakeLists.txt

60 lines
2.7 KiB
CMake
Raw Normal View History

2023-01-10 16:30:34 +08:00
###############################################################################
# gtest_addr_tuple4
2023-01-10 16:30:34 +08:00
###############################################################################
add_executable(gtest_addr_tuple4 gtest_addr_tuple4.cpp)
target_include_directories(gtest_addr_tuple4 PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_addr_tuple4 common gtest)
2023-01-10 16:30:34 +08:00
###############################################################################
# gtest_session_table
2023-01-10 16:30:34 +08:00
###############################################################################
add_executable(gtest_session_table gtest_session_table.cpp)
target_include_directories(gtest_session_table PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_session_table common gtest)
2023-01-10 16:30:34 +08:00
###############################################################################
# gtest_raw_packet
###############################################################################
add_executable(gtest_raw_packet gtest_raw_packet.cpp)
target_include_directories(gtest_raw_packet PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_raw_packet common gtest)
###############################################################################
# gtest_ctrl_packet
###############################################################################
add_executable(gtest_ctrl_packet gtest_ctrl_packet.cpp)
target_include_directories(gtest_ctrl_packet PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_ctrl_packet common gtest)
###############################################################################
# gtest_utils
###############################################################################
add_executable(gtest_utils gtest_utils.cpp)
target_include_directories(gtest_utils PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_utils common gtest)
2023-02-21 21:24:15 +08:00
###############################################################################
# gtest_health_check_table
###############################################################################
add_executable(gtest_health_check_table gtest_health_check_table.cpp)
target_include_directories(gtest_health_check_table PUBLIC ${CMAKE_SOURCE_DIR}/common/include ${CMAKE_SOURCE_DIR}/platform/include)
target_link_libraries(gtest_health_check_table common gtest platform)
2023-01-10 16:30:34 +08:00
###############################################################################
# gtest_discover_tests
###############################################################################
include(GoogleTest)
gtest_discover_tests(gtest_addr_tuple4)
gtest_discover_tests(gtest_session_table)
gtest_discover_tests(gtest_raw_packet)
gtest_discover_tests(gtest_ctrl_packet)
2023-02-21 21:24:15 +08:00
gtest_discover_tests(gtest_utils)
gtest_discover_tests(gtest_health_check_table)