add_subdirectory(cuda) add_subdirectory(function) add_subdirectory(utils) add_subdirectory(testing) add_subdirectory(math) add_subdirectory(parameter) add_subdirectory(gserver) add_subdirectory(pserver) add_subdirectory(trainer) add_subdirectory(scripts) add_subdirectory(optimizer) add_subdirectory(strings) # Do not build go directory until go cmake is working smoothly. # if(CMAKE_Go_COMPILER) # add_subdirectory(go) # endif() find_package(Boost QUIET) if(Boost_FOUND) add_subdirectory(platform) add_subdirectory(framework) endif() if(WITH_C_API) add_subdirectory(capi) endif() if(WITH_SWIG_PY) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in ${CMAKE_CURRENT_SOURCE_DIR}/setup.py) add_subdirectory(api) endif()