CMakeLists.txt 378 字节
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})
T
typhoonzero 已提交
6
  target_link_libraries(paddle_pybind rt)
7
endif(WITH_PYTHON)
8

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