CMakeLists.txt 654 字节
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 8 9 10
add_subdirectory(math)
add_subdirectory(parameter)
add_subdirectory(gserver)
add_subdirectory(pserver)
add_subdirectory(trainer)
add_subdirectory(scripts)
11
add_subdirectory(string)
L
liaogang 已提交
12 13

if(Boost_FOUND)
L
liaogang 已提交
14
  add_subdirectory(memory)
15 16
  add_subdirectory(platform)
  add_subdirectory(framework)
Y
Yu Yang 已提交
17
  add_subdirectory(operators)
18
  add_subdirectory(pybind)
L
liaogang 已提交
19 20
endif()

Y
Yu Yang 已提交
21 22 23
if(WITH_C_API)
    add_subdirectory(capi)
endif()
Z
zhangjinchao01 已提交
24 25

if(WITH_SWIG_PY)
Q
qiaolongfei 已提交
26 27
  configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in
          ${CMAKE_CURRENT_SOURCE_DIR}/setup.py)
Z
zhangjinchao01 已提交
28 29
  add_subdirectory(api)
endif()