提交 f8cec2b5 编写于 作者: L LiFeng 提交者: lifeng68

driver: refact driver directory

Signed-off-by: NLiFeng <lifeng68@huawei.com>
上级 f232565a
......@@ -3,6 +3,7 @@ build
.deps
.dirstamp
.clangd
.vscode
GPATH
GRTAGS
GTAGS
......
# get current directory sources files
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} local_oci_srcs)
add_subdirectory(graphdriver)
set(OCI_SRCS
${local_oci_srcs}
${GRAPHDRIVER_SRCS}
PARENT_SCOPE
)
set(OCI_INCS
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/remote
${GRAPHDRIVER_INCS}
PARENT_SCOPE
)
......@@ -11,12 +11,6 @@ add_subdirectory(execution)
list(APPEND local_services_srcs ${EXECUTION_SRCS})
list(APPEND local_services_incs ${EXECUTION_INCS})
if (ENABLE_OCI_IMAGE)
add_subdirectory(graphdriver)
list(APPEND local_services_srcs ${GRAPHDRIVER_SRCS})
list(APPEND local_services_incs ${GRAPHDRIVER_INCS})
endif()
add_subdirectory(image)
list(APPEND local_services_srcs ${IMAGE_SRCS})
list(APPEND local_services_incs ${CMAKE_CURRENT_SOURCE_DIR}/image)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册