Files
zooqueen 0357c7e3ff datastore rebrand: lowercase clickhouse -> datastore in commands/prose/help
Completes the user-facing branding: lowercase `clickhouse` command/symlink names
(clickhouse-server/-client/-local/...), `clickhouse <subcommand>` usage strings, and bare-word
prose in messages/comments -> datastore (~238 occurrences across 227 files).

Intentionally KEPT (not branding):
- SQL dict-source keyword "clickhouse" (SOURCE(CLICKHOUSE(...)) compat) - 4 sites
- external URLs (clickhouse.com / github.com/ClickHouse)
- filesystem / ZooKeeper path conventions (/var/lib/clickhouse fallback default, /clickhouse/tables/
  ReplicatedMergeTree ZK path) - deployment convention, overridden by our datastore-* config

String/comment-literal changes only; no identifiers touched (verified no bare lowercase clickhouse
C++ symbol exists). Build was already green; verifying this is still green.
2026-06-21 23:46:30 -07:00

45 lines
1.9 KiB
CMake

set(DATASTORE_KEEPER_SOURCES
keeper_main.cpp
Keeper.cpp
)
set (DATASTORE_KEEPER_LINK
PRIVATE
datastore_common_config
datastore_common_io
datastore_common_zookeeper_base
datastore_common_zookeeper
daemon
datastore-keeper-converter-lib
datastore-keeper-client-lib
datastore_functions
)
# Track dependencies for #embed directives so that changes to embedded files trigger recompilation.
set_source_files_properties(Keeper.cpp PROPERTIES OBJECT_DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/keeper_embedded.xml")
datastore_program_add(keeper)
install(FILES keeper_config.xml DESTINATION "${DATASTORE_ETC_DIR}/datastore-keeper" COMPONENT datastore-keeper)
if (BUILD_STANDALONE_KEEPER)
# Straight list of all required sources
datastore_add_executable(datastore-keeper ${DATASTORE_KEEPER_SOURCES})
target_include_directories(datastore-keeper PRIVATE .)
target_link_libraries(datastore-keeper PUBLIC ${DATASTORE_KEEPER_LINK})
set_target_properties(datastore-keeper PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
if (SPLIT_DEBUG_SYMBOLS)
datastore_split_debug_symbols(TARGET datastore-keeper DESTINATION_DIR ${CMAKE_CURRENT_BINARY_DIR}/../${SPLIT_DEBUG_SYMBOLS_DIR} BINARY_PATH ../datastore-keeper)
else()
datastore_make_empty_debug_info_for_nfpm(TARGET datastore-keeper DESTINATION_DIR ${CMAKE_CURRENT_BINARY_DIR}/../${SPLIT_DEBUG_SYMBOLS_DIR})
install(TARGETS datastore-keeper RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT datastore)
endif()
if (ENABLE_DATASTORE_KEEPER_CLIENT)
add_custom_command (TARGET datastore-keeper POST_BUILD COMMAND ${CMAKE_COMMAND} -E create_symlink datastore-keeper datastore-keeper-client)
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/datastore-keeper-client" DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT datastore-keeper)
endif()
endif()