2019-03-04 17:47:31 +00:00
|
|
|
set(CLICKHOUSE_SERVER_SOURCES
|
2020-05-27 17:52:52 +00:00
|
|
|
MetricsTransmitter.cpp
|
|
|
|
Server.cpp
|
2019-11-02 10:20:46 +00:00
|
|
|
)
|
2019-07-09 14:59:52 +00:00
|
|
|
|
2020-05-08 14:11:19 +00:00
|
|
|
set (CLICKHOUSE_SERVER_LINK
|
|
|
|
PRIVATE
|
|
|
|
clickhouse_aggregate_functions
|
|
|
|
clickhouse_common_config
|
|
|
|
clickhouse_common_io
|
|
|
|
clickhouse_common_zookeeper
|
|
|
|
clickhouse_functions
|
|
|
|
clickhouse_parsers
|
|
|
|
clickhouse_storages_system
|
|
|
|
clickhouse_table_functions
|
|
|
|
string_utils
|
|
|
|
|
2020-10-20 00:28:33 +00:00
|
|
|
${LINK_RESOURCE_LIB}
|
2020-08-08 03:42:42 +00:00
|
|
|
|
2020-05-08 14:11:19 +00:00
|
|
|
PUBLIC
|
|
|
|
daemon
|
|
|
|
)
|
2022-01-18 06:51:13 +00:00
|
|
|
if (TARGET ch_contrib::jemalloc)
|
|
|
|
list(APPEND CLICKHOUSE_SERVER_LINK PRIVATE ch_contrib::jemalloc)
|
|
|
|
endif()
|
2023-01-30 19:00:48 +00:00
|
|
|
if (TARGET ch_contrib::azure_sdk)
|
|
|
|
list(APPEND CLICKHOUSE_SERVER_LINK PRIVATE ch_contrib::azure_sdk)
|
|
|
|
endif()
|
2018-11-21 19:20:27 +00:00
|
|
|
|
2019-03-04 17:47:31 +00:00
|
|
|
clickhouse_program_add(server)
|
2018-06-05 20:09:51 +00:00
|
|
|
|
2023-07-24 03:34:00 +00:00
|
|
|
install(FILES config.xml users.xml DESTINATION "${CLICKHOUSE_ETC_DIR}/clickhouse-server" COMPONENT clickhouse)
|