CMakeLists.txt 762 字节
Newer Older
T
tangwei12 已提交
1
if(NOT WITH_PSCORE)
L
LiYuRio 已提交
2
    add_subdirectory(fleet_executor)
T
tangwei12 已提交
3 4 5 6 7 8 9 10 11 12 13 14
    return()
endif()

proto_library(ps_framework_proto SRCS ps.proto)

set(DISTRIBUTE_COMPILE_FLAGS "-Wno-error=unused-value -Wno-non-virtual-dtor -Wno-error=non-virtual-dtor -Wno-error=delete-non-virtual-dtor -Wno-error=sign-compare -Wno-error=unused-variable -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=type-limits -Wno-error=unknown-pragmas -Wno-error=parentheses -Wno-error=unused-result")

if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
    set(DISTRIBUTE_COMPILE_FLAGS
            "${DISTRIBUTE_COMPILE_FLAGS} -faligned-new")
endif()

15
add_subdirectory(common)
16
add_subdirectory(ps)
T
tangwei12 已提交
17
add_subdirectory(test)
1
123malin 已提交
18
add_subdirectory(index_dataset)
L
LiYuRio 已提交
19
add_subdirectory(fleet_executor)