2018-08-27 14:39:20 +00:00
|
|
|
add_library (daemon ${LINK_MODE}
|
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})
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (daemon PRIVATE ${UNWIND_LIBRARY})
|
2017-06-23 14:41:07 +00:00
|
|
|
endif ()
|
2017-06-23 20:22:35 +00:00
|
|
|
|
2017-08-03 12:44:39 +00:00
|
|
|
target_include_directories (daemon PUBLIC include)
|
|
|
|
|
2019-04-22 19:03:11 +00:00
|
|
|
target_link_libraries (daemon PRIVATE clickhouse_common_io clickhouse_common_config common ${Poco_Net_LIBRARY} ${Poco_Util_LIBRARY} ${EXECINFO_LIBRARIES})
|