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

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

  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()