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

39 lines
1.0 KiB
CMake

set(DATASTORE_SERVER_SOURCES
MetricsTransmitter.cpp
Server.cpp
)
set (DATASTORE_SERVER_LINK
PRIVATE
datastore_aggregate_functions
datastore_common_config
datastore_common_io
datastore_common_zookeeper_base
datastore_common_zookeeper
datastore_functions
datastore_parsers
datastore_storages_system
datastore_table_functions
PUBLIC
daemon
)
if (TARGET ch_contrib::jemalloc)
list(APPEND DATASTORE_SERVER_LINK PRIVATE ch_contrib::jemalloc)
endif()
if (TARGET ch_contrib::azure_sdk)
list(APPEND DATASTORE_SERVER_LINK PRIVATE ch_contrib::azure_sdk)
endif()
# Track dependencies for #embed directives so that changes to embedded files trigger recompilation.
set_source_files_properties(Server.cpp PROPERTIES OBJECT_DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/embedded.xml")
datastore_program_add(server)
install(FILES config.xml users.xml DESTINATION "${DATASTORE_ETC_DIR}/datastore-server" COMPONENT datastore)
if (ENABLE_FUZZING)
add_subdirectory(fuzzers)
endif()