CMakeLists.txt 375 字节
Newer Older
1
if(WITH_PYTHON)
2
  cc_library(paddle_pybind SHARED
Y
Yu Yang 已提交
3
    SRCS pybind.cc exception.cc protobuf.cc const_value.cc recordio.cc
4
    DEPS pybind python backward proto_desc paddle_memory executor prune init profiler feed_fetch_method
L
Luo Tao 已提交
5
    ${GLOB_OP_LIB})
6 7 8
  if(NOT APPLE AND NOT ANDROID)
    target_link_libraries(paddle_pybind rt)
  endif(NOT APPLE AND NOT ANDROID)
9
endif(WITH_PYTHON)