ClickHouse/programs/server/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
832 B
CMake
Raw Permalink Normal View History

2019-03-04 17:47:31 +00:00
set(CLICKHOUSE_SERVER_SOURCES
MetricsTransmitter.cpp
Server.cpp
)
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
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()
2019-03-04 17:47:31 +00:00
clickhouse_program_add(server)
2018-06-05 20:09:51 +00:00
install(FILES config.xml users.xml DESTINATION "${CLICKHOUSE_ETC_DIR}/clickhouse-server" COMPONENT clickhouse)
2020-08-08 03:42:42 +00:00
2022-10-24 03:43:14 +00:00
if (ENABLE_FUZZING)
add_subdirectory(fuzzers)
endif()