mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
4db8d09de9
* Make libunwind optional. Allow use custom libcctz * fix * Fix * fix * Update BaseDaemon.cpp * Update CMakeLists.txt * Reorganize includes. part 1 * Update dbms_include.cmake * Reorganize includes. part 2 * Reorganize includes. part 3 * dbms/src/Common/ThreadPool -> libs/libcommon * Reorganize includes. part 4 * Fix print_include_directories * Update thread_creation_latency.cpp * Update StringRef.h
21 lines
567 B
CMake
21 lines
567 B
CMake
include_directories (include)
|
|
|
|
add_library (daemon
|
|
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_include_directories (daemon BEFORE PRIVATE ${UNWIND_INCLUDE_DIR})
|
|
add_definitions(-DUSE_UNWIND=1)
|
|
target_link_libraries (daemon ${UNWIND_LIBRARY})
|
|
endif ()
|
|
|
|
target_link_libraries (daemon dbms)
|
|
target_include_directories (daemon PRIVATE ${ClickHouse_SOURCE_DIR}/libs/libpocoext/include)
|