CMakeLists.txt 557 字节
Newer Older
S
superjom 已提交
1
#add_library(sdk ${PROJECT_SOURCE_DIR}/visualdl/logic/sdk.cc)
S
superjom 已提交
2
add_library(im ${PROJECT_SOURCE_DIR}/visualdl/logic/im.cc)
S
superjom 已提交
3
add_library(sdk ${PROJECT_SOURCE_DIR}/visualdl/logic/sdk.cc)
S
superjom 已提交
4
add_dependencies(im storage_proto)
S
superjom 已提交
5
add_dependencies(sdk entry storage storage_proto)
Q
Qiao Longfei 已提交
6 7

## pybind
S
superjom 已提交
8 9 10 11
add_library(core SHARED ${PROJECT_SOURCE_DIR}/visualdl/logic/pybind.cc)
add_dependencies(core pybind python im storage sdk protobuf glog)
target_link_libraries(core PRIVATE pybind python im storage sdk protobuf glog)
set_target_properties(core PROPERTIES PREFIX "" SUFFIX ".so")