CMakeLists.txt 643 字节
Newer Older
Z
zhangjinchao01 已提交
1
add_subdirectory(cuda)
H
hedaoyuan 已提交
2
add_subdirectory(function)
Z
zhangjinchao01 已提交
3 4 5
add_subdirectory(utils)
add_subdirectory(math)
add_subdirectory(gserver)
6
add_subdirectory(parameter)
7
add_subdirectory(testing)
L
liaogang 已提交
8

9
if(MOBILE_INFERENCE)
10
  add_subdirectory(capi)
11 12 13
else()
  add_subdirectory(pserver)
  add_subdirectory(trainer)
14 15
  add_subdirectory(string)
  add_subdirectory(scripts)
16 17 18 19 20 21 22 23 24 25 26 27

  if(WITH_C_API)
    add_subdirectory(capi)
  endif()

  if(Boost_FOUND)
    add_subdirectory(memory)
    add_subdirectory(platform)
    add_subdirectory(framework)
    add_subdirectory(operators)
    add_subdirectory(pybind)
  endif()
Z
zhangjinchao01 已提交
28

29 30 31
  if(WITH_SWIG_PY)
    add_subdirectory(api)
  endif()
Z
zhangjinchao01 已提交
32
endif()