ClickHouse/programs/client/CMakeLists.txt

16 lines
675 B
CMake
Raw Normal View History

set(CLICKHOUSE_CLIENT_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/Client.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ConnectionParameters.cpp
2020-01-01 19:22:57 +00:00
${CMAKE_CURRENT_SOURCE_DIR}/Suggest.cpp
)
2020-01-23 08:18:19 +00:00
set(CLICKHOUSE_CLIENT_LINK PRIVATE clickhouse_common_config clickhouse_functions clickhouse_aggregate_functions clickhouse_common_io clickhouse_parsers string_utils ${Boost_PROGRAM_OPTIONS_LIBRARY})
2019-09-17 12:33:46 +00:00
2020-05-27 21:58:46 +00:00
# Always use internal readpassphrase
add_subdirectory(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
install (FILES clickhouse-client.xml DESTINATION ${CLICKHOUSE_ETC_DIR}/clickhouse-client COMPONENT clickhouse-client RENAME config.xml)