2023-01-10 16:30:34 +08:00
|
|
|
###############################################################################
|
2023-01-11 11:21:55 +08:00
|
|
|
# gtest_addr_tuple4
|
2023-01-10 16:30:34 +08:00
|
|
|
###############################################################################
|
|
|
|
|
|
2023-01-11 11:21:55 +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
|
|
|
|
|
|
|
|
###############################################################################
|
2023-01-11 11:21:55 +08:00
|
|
|
# gtest_session_table
|
2023-01-10 16:30:34 +08:00
|
|
|
###############################################################################
|
|
|
|
|
|
2023-01-11 11:21:55 +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
|
|
|
|
2023-01-15 18:07:18 +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)
|
|
|
|
|
|
2023-02-17 17:15:53 +08:00
|
|
|
###############################################################################
|
|
|
|
|
# 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)
|
|
|
|
|
|
2023-02-06 10:34:23 +08:00
|
|
|
###############################################################################
|
|
|
|
|
# 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)
|
2023-01-11 11:21:55 +08:00
|
|
|
gtest_discover_tests(gtest_addr_tuple4)
|
2023-01-15 18:07:18 +08:00
|
|
|
gtest_discover_tests(gtest_session_table)
|
2023-02-06 10:34:23 +08:00
|
|
|
gtest_discover_tests(gtest_raw_packet)
|
2023-02-17 17:15:53 +08:00
|
|
|
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)
|