2018-05-04 07:06:30 +08:00
|
|
|
set(FDBCLI_SRCS
|
|
|
|
fdbcli.actor.cpp
|
|
|
|
FlowLineNoise.actor.cpp
|
|
|
|
FlowLineNoise.h
|
|
|
|
linenoise/linenoise.h)
|
|
|
|
|
2019-02-07 11:27:38 +08:00
|
|
|
if(NOT WIN32)
|
|
|
|
list(APPEN FDBCLI_SRCS linenoise/linenoise.c)
|
|
|
|
endif()
|
|
|
|
|
2018-05-04 07:06:30 +08:00
|
|
|
actor_set(FDBCLI_BUILD "${FDBCLI_SRCS}")
|
|
|
|
add_executable(fdbcli "${FDBCLI_BUILD}")
|
|
|
|
actor_compile(fdbcli "${FDBCLI_SRCS}")
|
|
|
|
target_link_libraries(fdbcli PRIVATE fdbclient)
|
2018-05-06 00:43:50 +08:00
|
|
|
|
|
|
|
install(TARGETS fdbcli DESTINATION ${FDB_BIN_DIR} COMPONENT clients)
|