51 lines
2.3 KiB
CMake
51 lines
2.3 KiB
CMake
###############################################################################
|
|
# gtest_session_table
|
|
###############################################################################
|
|
|
|
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)
|
|
|
|
###############################################################################
|
|
# 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_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_discover_tests
|
|
###############################################################################
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(gtest_session_table)
|
|
gtest_discover_tests(gtest_control_packet)
|
|
gtest_discover_tests(gtest_packet)
|
|
gtest_discover_tests(gtest_utils)
|
|
gtest_discover_tests(gtest_health_check_table)
|