2018-05-04 07:06:30 +08:00
|
|
|
set(FDBCLI_SRCS
|
|
|
|
fdbcli.actor.cpp
|
2021-05-12 05:31:08 +08:00
|
|
|
fdbcli.actor.h
|
2021-05-18 15:22:17 +08:00
|
|
|
AdvanceVersionCommand.actor.cpp
|
2021-04-23 16:49:45 +08:00
|
|
|
ConsistencyCheckCommand.actor.cpp
|
2018-05-04 07:06:30 +08:00
|
|
|
FlowLineNoise.actor.cpp
|
|
|
|
FlowLineNoise.h
|
2021-05-21 03:47:00 +08:00
|
|
|
ForceRecoveryWithDataLossCommand.actor.cpp
|
2021-05-21 02:37:03 +08:00
|
|
|
MaintenanceCommand.actor.cpp
|
2021-05-21 05:01:50 +08:00
|
|
|
SnapshotCommand.actor.cpp
|
2021-03-25 00:33:20 +08:00
|
|
|
Util.cpp
|
2018-05-04 07:06:30 +08:00
|
|
|
linenoise/linenoise.h)
|
|
|
|
|
2019-02-07 11:27:38 +08:00
|
|
|
if(NOT WIN32)
|
2019-02-06 08:47:39 +08:00
|
|
|
list(APPEND FDBCLI_SRCS linenoise/linenoise.c)
|
2019-02-07 11:27:38 +08:00
|
|
|
endif()
|
|
|
|
|
2019-02-09 08:51:13 +08:00
|
|
|
add_flow_target(EXECUTABLE NAME fdbcli SRCS ${FDBCLI_SRCS})
|
2018-05-04 07:06:30 +08:00
|
|
|
target_link_libraries(fdbcli PRIVATE fdbclient)
|
2018-05-06 00:43:50 +08:00
|
|
|
|
2021-01-26 08:09:32 +08:00
|
|
|
if(NOT OPEN_FOR_IDE)
|
|
|
|
if(GENERATE_DEBUG_PACKAGES)
|
|
|
|
fdb_install(TARGETS fdbcli DESTINATION bin COMPONENT clients)
|
|
|
|
else()
|
|
|
|
add_custom_target(prepare_fdbcli_install ALL DEPENDS strip_only_fdbcli)
|
|
|
|
fdb_install(PROGRAMS ${CMAKE_BINARY_DIR}/packages/bin/fdbcli DESTINATION bin COMPONENT clients)
|
|
|
|
endif()
|
2020-05-22 04:39:55 +08:00
|
|
|
endif()
|