#add_library(sdk ${PROJECT_SOURCE_DIR}/visualdl/logic/sdk.cc) add_library(im ${PROJECT_SOURCE_DIR}/visualdl/logic/im.cc) add_library(sdk ${PROJECT_SOURCE_DIR}/visualdl/logic/sdk.cc) add_dependencies(im storage_proto) add_dependencies(sdk entry storage storage_proto) ## pybind add_library(core SHARED ${PROJECT_SOURCE_DIR}/visualdl/logic/pybind.cc) add_dependencies(core pybind python im entry storage sdk protobuf glog) target_link_libraries(core PRIVATE pybind entry python im storage sdk protobuf glog) set_target_properties(core PROPERTIES PREFIX "" SUFFIX ".so")