mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
d6a1f8470f
* Macos test fix * Fix freebsd build * CLICKHOUSE-3553 Rebuild loggers on every config change * rename clickhouse_common_configprocessor -> clickhouse_common_config; move Server/ConfigReloader.cpp -> Common/Config/ * CLICKHOUSE-3553 Set new level to all loggers on reload * Dont use hash * Update BaseDaemon.h
21 lines
690 B
CMake
21 lines
690 B
CMake
add_library (daemon ${SPLIT_SHARED}
|
|
src/BaseDaemon.cpp
|
|
src/GraphiteWriter.cpp
|
|
src/OwnPatternFormatter.cpp
|
|
|
|
include/daemon/BaseDaemon.h
|
|
include/daemon/GraphiteWriter.h
|
|
include/daemon/OwnPatternFormatter.h
|
|
)
|
|
|
|
if (USE_UNWIND)
|
|
target_compile_definitions (daemon PRIVATE USE_UNWIND=1)
|
|
target_include_directories (daemon BEFORE PRIVATE ${UNWIND_INCLUDE_DIR})
|
|
target_link_libraries (daemon ${UNWIND_LIBRARY})
|
|
endif ()
|
|
|
|
target_include_directories (daemon PUBLIC include)
|
|
target_include_directories (daemon PRIVATE ${ClickHouse_SOURCE_DIR}/libs/libpocoext/include)
|
|
|
|
target_link_libraries (daemon clickhouse_common_io clickhouse_common_config ${EXECINFO_LIBRARY})
|