提交 c7e0ed83 编写于 作者: D dzhwinter

inference lib

上级 65f144aa
...@@ -32,8 +32,8 @@ function(copy TARGET) ...@@ -32,8 +32,8 @@ function(copy TARGET)
list(GET copy_lib_SRCS ${index} src) list(GET copy_lib_SRCS ${index} src)
list(GET copy_lib_DSTS ${index} dst) list(GET copy_lib_DSTS ${index} dst)
add_custom_command(TARGET ${TARGET} PRE_BUILD add_custom_command(TARGET ${TARGET} PRE_BUILD
COMMAND mkdir -p "${dst}" COMMAND ${CMAKE_COMMAND} -E make_directory "${dst}"
COMMAND cp -r "${src}" "${dst}" COMMAND ${CMAKE_COMMAND} -E copy_directory "${src}" "${dst}"
COMMENT "copying ${src} -> ${dst}") COMMENT "copying ${src} -> ${dst}")
endforeach() endforeach()
endfunction() endfunction()
......
# internal library. # internal library.
message("why it hurts!")
cc_library(header SRCS header.cc) cc_library(header SRCS header.cc)
cc_test(header_test SRCS header_test.cc DEPS header) cc_test(header_test SRCS header_test.cc DEPS header)
cc_library(chunk SRCS chunk.cc DEPS snappystream snappy header zlib) cc_library(chunk SRCS chunk.cc DEPS snappystream snappy header zlib)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册