foundationdb/fdbcli/CMakeLists.txt

41 lines
1.1 KiB
CMake
Raw Normal View History

set(FDBCLI_SRCS
fdbcli.actor.cpp
fdbcli.actor.h
2021-05-18 15:22:17 +08:00
AdvanceVersionCommand.actor.cpp
2021-07-09 03:28:46 +08:00
CacheRangeCommand.actor.cpp
ConsistencyCheckCommand.actor.cpp
2021-06-24 03:49:19 +08:00
DataDistributionCommand.actor.cpp
ExpensiveDataCheckCommand.actor.cpp
FlowLineNoise.actor.cpp
FlowLineNoise.h
ForceRecoveryWithDataLossCommand.actor.cpp
2021-07-10 03:32:28 +08:00
KillCommand.actor.cpp
LockCommand.actor.cpp
MaintenanceCommand.actor.cpp
ProfileCommand.actor.cpp
2021-07-09 06:00:05 +08:00
SetClassCommand.actor.cpp
SnapshotCommand.actor.cpp
2021-07-13 14:04:23 +08:00
StatusCommand.actor.cpp
SuspendCommand.actor.cpp
2021-07-28 01:58:11 +08:00
ThrottleCommand.actor.cpp
TriggerDDTeamInfoLogCommand.actor.cpp
TssqCommand.actor.cpp
Util.actor.cpp
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()
add_flow_target(EXECUTABLE NAME fdbcli SRCS ${FDBCLI_SRCS})
target_link_libraries(fdbcli PRIVATE fdbclient)
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()
endif()