完成了配置文件读取函数

添加了配置文件单元测试
配置文件读取函数单元测试完成
This commit is contained in:
2022-05-20 11:18:12 +08:00
parent 6095d0849b
commit bcff483797
8 changed files with 159 additions and 6 deletions

View File

@@ -22,3 +22,9 @@ target_link_libraries(bus_test
gmock_main
pthread
)
add_custom_command(TARGET bus_test POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
"${CMAKE_CURRENT_SOURCE_DIR}/dict.dic"
$<TARGET_FILE_DIR:bus_test>
)