添加了读取指定配置文件的功能
添加了官方的测试用例
This commit is contained in:
@@ -7,4 +7,9 @@ include_directories(include)
|
||||
aux_source_directory("../src/" SRCS)
|
||||
aux_source_directory("${CMAKE_CURRENT_SOURCE_DIR}/src" ALL_TEST_SRCS)
|
||||
|
||||
add_executable(bus_all_test ${SRCS} ${ALL_TEST_SRCS} main.c)
|
||||
add_executable(bus_all_test ${SRCS} ${ALL_TEST_SRCS} main.c)
|
||||
|
||||
add_custom_command(TARGET bus_all_test POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/test_cases/"
|
||||
$<TARGET_FILE_DIR:bus_all_test>)
|
||||
Reference in New Issue
Block a user