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-02-17 17:15:53 +08:00
|
|
|
###############################################################################
|
2023-10-18 10:08:10 +08:00
|
|
|
# gtest_control_packet
|
2023-02-17 17:15:53 +08:00
|
|
|
###############################################################################
|
|
|
|
|
|
2023-10-18 10:08:10 +08:00
|
|
|
add_executable(gtest_control_packet gtest_control_packet.cpp)
|
|
|
|
|
target_include_directories(gtest_control_packet PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
|
|
|
|
|
target_link_libraries(gtest_control_packet common gtest)
|
2023-02-17 17:15:53 +08:00
|
|
|
|
2023-11-23 16:52:06 +08:00
|
|
|
###############################################################################
|
|
|
|
|
# gtest_packet
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
add_executable(gtest_packet gtest_packet.cpp)
|
|
|
|
|
target_include_directories(gtest_packet PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
|
|
|
|
|
target_link_libraries(gtest_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)
|
|
|
|
|
|
2024-04-20 11:40:00 +08:00
|
|
|
###############################################################################
|
|
|
|
|
# gtest_vxlan
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
add_executable(gtest_vxlan gtest_vxlan.cpp)
|
|
|
|
|
target_include_directories(gtest_vxlan PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
|
|
|
|
|
target_link_libraries(gtest_vxlan 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)
|
|
|
|
|
|
2024-11-20 14:27:40 +08:00
|
|
|
###############################################################################
|
|
|
|
|
# gtest_http_healthcheck
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
add_executable(gtest_http_healthcheck gtest_http_healthcheck.cpp)
|
|
|
|
|
target_include_directories(gtest_http_healthcheck PUBLIC ${CMAKE_SOURCE_DIR}/common/include ${CMAKE_SOURCE_DIR}/platform/include)
|
|
|
|
|
target_link_libraries(gtest_http_healthcheck common gtest platform)
|
|
|
|
|
|
2023-01-10 16:30:34 +08:00
|
|
|
###############################################################################
|
|
|
|
|
# gtest_discover_tests
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
include(GoogleTest)
|
2023-01-15 18:07:18 +08:00
|
|
|
gtest_discover_tests(gtest_session_table)
|
2023-10-18 10:08:10 +08:00
|
|
|
gtest_discover_tests(gtest_control_packet)
|
2023-11-23 16:52:06 +08:00
|
|
|
gtest_discover_tests(gtest_packet)
|
2023-02-21 21:24:15 +08:00
|
|
|
gtest_discover_tests(gtest_utils)
|
2024-04-20 11:40:00 +08:00
|
|
|
gtest_discover_tests(gtest_vxlan)
|
2023-02-21 21:24:15 +08:00
|
|
|
gtest_discover_tests(gtest_health_check_table)
|
2024-11-20 14:27:40 +08:00
|
|
|
|
|
|
|
|
file(COPY ./conf/ DESTINATION ./conf/)
|