CMakeLists.txt 602 字节
Newer Older
1
if(NOT WITH_FLUID_ONLY)
L
Luo Tao 已提交
2 3 4 5
  add_subdirectory(cuda)
  add_subdirectory(function)
  add_subdirectory(utils)
  add_subdirectory(math)
X
Xin Pan 已提交
6
  add_subdirectory(legacy/gserver)
L
Luo Tao 已提交
7
  add_subdirectory(parameter)
8

L
Luo Tao 已提交
9
  if(MOBILE_INFERENCE)
10
    add_subdirectory(capi)
L
Luo Tao 已提交
11 12 13 14
  else()
    add_subdirectory(pserver)
    add_subdirectory(trainer)
    add_subdirectory(scripts)
15

L
Luo Tao 已提交
16 17 18
    if(WITH_C_API)
      add_subdirectory(capi)
    endif()
Z
zhangjinchao01 已提交
19

L
Luo Tao 已提交
20 21 22
    if(WITH_SWIG_PY)
      add_subdirectory(api)
    endif()
23
  endif()
Z
zhangjinchao01 已提交
24
endif()
L
Luo Tao 已提交
25 26

add_subdirectory(testing)
Y
Yancey 已提交
27
if(NOT MOBILE_INFERENCE AND NOT RPI AND NOT WITH_C_API)
L
Luo Tao 已提交
28 29
  add_subdirectory(fluid)
endif()