|
|
|
@ -36,7 +36,6 @@ option(WITH_GFLAGS "Compile PaddlePaddle use gflags, otherwise use a flag implem
|
|
|
|
|
option(WITH_TIMER "Compile PaddlePaddle use timer" OFF)
|
|
|
|
|
option(WITH_TESTING "Compile and run unittest for PaddlePaddle" ${GTEST_FOUND})
|
|
|
|
|
option(WITH_DOC "Compile PaddlePaddle with documentation" OFF)
|
|
|
|
|
option(WITH_DOC_CN "Compile PaddlePaddle with Chinese documentation" OFF)
|
|
|
|
|
option(WITH_SWIG_PY "Compile PaddlePaddle with py PaddlePaddle predict api" ${SWIG_FOUND})
|
|
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
|
|
|
|
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING
|
|
|
|
@ -150,7 +149,5 @@ add_subdirectory(paddle)
|
|
|
|
|
add_subdirectory(python)
|
|
|
|
|
if(WITH_DOC)
|
|
|
|
|
add_subdirectory(doc)
|
|
|
|
|
endif()
|
|
|
|
|
if(WITH_DOC_CN)
|
|
|
|
|
add_subdirectory(doc_cn)
|
|
|
|
|
endif()
|
|
|
|
|