###############################################################################
# gtest_policy
add_executable(gtest_policy gtest_policy.cpp)
target_include_directories(gtest_policy PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_include_directories(gtest_policy PUBLIC ${CMAKE_SOURCE_DIR}/platform/include)
target_link_libraries(gtest_policy common platform gtest)
# gtest_discover_tests
include(GoogleTest)
gtest_discover_tests(gtest_policy)
file(COPY ./test_resource/ DESTINATION ./test_resource/)
file(COPY ${CMAKE_SOURCE_DIR}/resource/table_info.conf DESTINATION ./test_resource/)