CMakeLists.txt 587 字节
Newer Older
L
Luo Tao 已提交
1 2 3 4 5 6 7
if(NOT WITH_FLUID)
  add_subdirectory(cuda)
  add_subdirectory(function)
  add_subdirectory(utils)
  add_subdirectory(math)
  add_subdirectory(gserver)
  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 27 28 29

add_subdirectory(testing)
if(NOT MOBILE_INFERENCE AND NOT ANDROID AND NOT IOS)
  add_subdirectory(fluid)
endif()