2020-06-09 10:54:49 +00:00
|
|
|
set (CLICKHOUSE_CLIENT_SOURCES
|
|
|
|
Client.cpp
|
|
|
|
ConnectionParameters.cpp
|
2020-06-26 05:44:42 +00:00
|
|
|
QueryFuzzer.cpp
|
2020-06-09 10:54:49 +00:00
|
|
|
Suggest.cpp
|
2019-06-03 00:57:33 +00:00
|
|
|
)
|
|
|
|
|
2020-06-09 10:54:49 +00:00
|
|
|
set (CLICKHOUSE_CLIENT_LINK
|
|
|
|
PRIVATE
|
|
|
|
boost::program_options
|
|
|
|
clickhouse_aggregate_functions
|
|
|
|
clickhouse_common_config
|
|
|
|
clickhouse_common_io
|
|
|
|
clickhouse_functions
|
|
|
|
clickhouse_parsers
|
|
|
|
string_utils
|
|
|
|
)
|
2019-09-17 12:33:46 +00:00
|
|
|
|
2020-05-27 21:58:46 +00:00
|
|
|
# Always use internal readpassphrase
|
|
|
|
list(APPEND CLICKHOUSE_CLIENT_LINK PRIVATE readpassphrase)
|
2018-06-05 20:09:51 +00:00
|
|
|
|
2019-03-04 17:47:31 +00:00
|
|
|
clickhouse_program_add(client)
|
2018-06-05 20:09:51 +00:00
|
|
|
|
2021-04-24 19:47:52 +00:00
|
|
|
install (FILES clickhouse-client.xml DESTINATION "${CLICKHOUSE_ETC_DIR}/clickhouse-client" COMPONENT clickhouse-client RENAME config.xml)
|