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

69 lines
3.2 KiB
CMake
Raw Normal View History

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_control_packet
###############################################################################
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)
###############################################################################
# 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)
###############################################################################
# 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)
###############################################################################
# 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)
###############################################################################
# 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)
gtest_discover_tests(gtest_session_table)
gtest_discover_tests(gtest_control_packet)
gtest_discover_tests(gtest_packet)
2023-02-21 21:24:15 +08:00
gtest_discover_tests(gtest_utils)
gtest_discover_tests(gtest_vxlan)
2023-02-21 21:24:15 +08:00
gtest_discover_tests(gtest_health_check_table)
file(COPY ./conf/ DESTINATION ./conf/)