2018-02-08 19:12:37 +00:00
|
|
|
add_library (daemon ${SPLIT_SHARED}
|
2017-04-01 07:20:54 +00:00
|
|
|
src/BaseDaemon.cpp
|
|
|
|
src/GraphiteWriter.cpp
|
2018-06-15 17:32:35 +00:00
|
|
|
src/ExtendedLogChannel.cpp
|
2017-04-26 14:31:25 +00:00
|
|
|
src/OwnPatternFormatter.cpp
|
2018-06-15 17:32:35 +00:00
|
|
|
src/OwnFormattingChannel.cpp
|
|
|
|
src/OwnSplitChannel.cpp
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2017-04-01 07:20:54 +00:00
|
|
|
include/daemon/BaseDaemon.h
|
|
|
|
include/daemon/GraphiteWriter.h
|
2018-06-15 17:32:35 +00:00
|
|
|
include/daemon/ExtendedLogChannel.h
|
2017-04-01 07:20:54 +00:00
|
|
|
include/daemon/OwnPatternFormatter.h
|
2018-06-15 17:32:35 +00:00
|
|
|
include/daemon/OwnFormattingChannel.h
|
|
|
|
include/daemon/OwnSplitChannel.h
|
2016-02-07 21:58:58 +00:00
|
|
|
)
|
|
|
|
|
2017-06-23 14:41:07 +00:00
|
|
|
if (USE_UNWIND)
|
2017-08-03 12:44:39 +00:00
|
|
|
target_compile_definitions (daemon PRIVATE USE_UNWIND=1)
|
2017-06-23 14:41:07 +00:00
|
|
|
target_include_directories (daemon BEFORE PRIVATE ${UNWIND_INCLUDE_DIR})
|
|
|
|
target_link_libraries (daemon ${UNWIND_LIBRARY})
|
|
|
|
endif ()
|
2017-06-23 20:22:35 +00:00
|
|
|
|
2017-08-03 12:44:39 +00:00
|
|
|
target_include_directories (daemon PUBLIC include)
|
2017-06-23 20:22:35 +00:00
|
|
|
target_include_directories (daemon PRIVATE ${ClickHouse_SOURCE_DIR}/libs/libpocoext/include)
|
2017-08-03 12:44:39 +00:00
|
|
|
|
2018-05-14 21:37:56 +00:00
|
|
|
target_link_libraries (daemon clickhouse_common_io clickhouse_common_config ${EXECINFO_LIBRARY} ${ELF_LIBRARY})
|