CMakeLists.txt 447 字节
Newer Older
1
if(WITH_PYTHON)
2
  cc_library(paddle_pybind SHARED
Q
qiaolongfei 已提交
3
    SRCS pybind.cc exception.cc protobuf.cc const_value.cc
D
dzhwinter 已提交
4
    DEPS pybind python backward proto_desc paddle_memory executor prune init
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)
10

L
Luo Tao 已提交
11 12 13
if(WITH_DOC)
  cc_binary(print_operators_doc SRCS print_operators_doc.cc DEPS ${GLOB_OP_LIB})
endif(WITH_DOC)