未验证 提交 bd0b5e61 编写于 作者: reachfoo's avatar reachfoo 提交者: GitHub

re-add benchmark Ctest (#399)

上级 a24726f3
......@@ -3,6 +3,7 @@ macro (tengine_example name file)
add_executable(${name} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
target_link_libraries(${name} ${CMAKE_PROJECT_NAME})
install (TARGETS ${name} DESTINATION bin)
add_test(NAME ${name} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/benchmark COMMAND ${name} )
endmacro()
# add benchmark
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册