2020-03-12 22:26:16 +00:00
|
|
|
add_headers_and_sources(loggers .)
|
2022-03-03 20:27:46 +00:00
|
|
|
|
2022-03-11 14:47:07 +00:00
|
|
|
# Standard version depends on DBMS and works with text log
|
2020-03-12 22:26:16 +00:00
|
|
|
add_library(loggers ${loggers_sources} ${loggers_headers})
|
2020-05-08 14:11:19 +00:00
|
|
|
target_link_libraries(loggers PRIVATE dbms clickhouse_common_io)
|
2022-03-03 20:27:46 +00:00
|
|
|
|
|
|
|
# Lightweight version doesn't work with textlog and also doesn't depend on DBMS
|
|
|
|
add_library(loggers_no_text_log ${loggers_sources} ${loggers_headers})
|
2022-09-08 17:16:37 +00:00
|
|
|
target_compile_definitions(loggers_no_text_log PUBLIC WITHOUT_TEXT_LOG=1)
|
2022-03-03 20:27:46 +00:00
|
|
|
target_link_libraries(loggers_no_text_log PRIVATE clickhouse_common_io)
|