2017-01-16 19:47:11 +00:00
|
|
|
include_directories (include)
|
2017-02-06 15:15:19 +00:00
|
|
|
include_directories (${ClickHouse_SOURCE_DIR}/libs/libcommon/include)
|
2017-01-16 19:47:11 +00:00
|
|
|
|
2017-02-06 15:15:19 +00:00
|
|
|
include(${ClickHouse_SOURCE_DIR}/cmake/dbms_include.cmake)
|
2017-01-16 19:47:11 +00:00
|
|
|
|
2016-02-07 21:58:58 +00:00
|
|
|
add_library(zkutil
|
2017-04-01 07:20:54 +00:00
|
|
|
src/ZooKeeper.cpp
|
|
|
|
src/Lock.cpp
|
|
|
|
src/SingleBarrier.cpp
|
|
|
|
src/RWLock.cpp
|
|
|
|
src/ZooKeeperHolder.cpp
|
|
|
|
src/ZooKeeperNodeCache.cpp
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2017-04-01 07:20:54 +00:00
|
|
|
include/zkutil/Increment.h
|
|
|
|
include/zkutil/LeaderElection.h
|
|
|
|
include/zkutil/KeeperException.h
|
|
|
|
include/zkutil/Common.h
|
|
|
|
include/zkutil/Lock.h
|
|
|
|
include/zkutil/SingleBarrier.h
|
|
|
|
include/zkutil/RWLock.h
|
|
|
|
include/zkutil/ZooKeeper.h
|
|
|
|
include/zkutil/Types.h
|
|
|
|
include/zkutil/ZooKeeperHolder.h
|
|
|
|
include/zkutil/ZooKeeperNodeCache.h)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2017-01-11 13:40:02 +00:00
|
|
|
find_package (Threads)
|
|
|
|
|
2017-02-28 23:49:04 +00:00
|
|
|
target_link_libraries(zkutil ${ZOOKEEPER_LIBRARY} ${Poco_Foundation_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} string_utils)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_subdirectory (src)
|