2017-01-16 19:47:11 +00:00
|
|
|
include_directories (include)
|
|
|
|
|
2016-02-07 21:58:58 +00:00
|
|
|
add_library (daemon
|
2017-04-01 07:20:54 +00:00
|
|
|
src/BaseDaemon.cpp
|
|
|
|
src/GraphiteWriter.cpp
|
2017-04-26 14:31:25 +00:00
|
|
|
src/OwnPatternFormatter.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
|
|
|
|
include/daemon/OwnPatternFormatter.h
|
2016-02-07 21:58:58 +00:00
|
|
|
)
|
|
|
|
|
2017-06-23 14:41:07 +00:00
|
|
|
if (USE_UNWIND)
|
|
|
|
target_include_directories (daemon BEFORE PRIVATE ${UNWIND_INCLUDE_DIR})
|
|
|
|
add_definitions(-DUSE_UNWIND=1)
|
|
|
|
target_link_libraries (daemon ${UNWIND_LIBRARY})
|
|
|
|
endif ()
|
2017-06-23 20:22:35 +00:00
|
|
|
|
2017-06-23 14:41:07 +00:00
|
|
|
target_link_libraries (daemon dbms)
|
2017-06-23 20:22:35 +00:00
|
|
|
target_include_directories (daemon PRIVATE ${ClickHouse_SOURCE_DIR}/libs/libpocoext/include)
|