LIBRARY() ADDINCL( GLOBAL clickhouse/base GLOBAL contrib/libs/cctz/include ) CFLAGS (GLOBAL -DARCADIA_BUILD) CFLAGS (GLOBAL -DUSE_CPUID=1) CFLAGS (GLOBAL -DUSE_JEMALLOC=0) CFLAGS (GLOBAL -DUSE_RAPIDJSON=1) IF (OS_DARWIN) CFLAGS (GLOBAL -DOS_DARWIN) ELSEIF (OS_FREEBSD) CFLAGS (GLOBAL -DOS_FREEBSD) ELSEIF (OS_LINUX) CFLAGS (GLOBAL -DOS_LINUX) ENDIF () PEERDIR( contrib/libs/cctz/src contrib/libs/cxxsupp/libcxx-filesystem contrib/libs/poco/Net contrib/libs/poco/Util contrib/libs/fmt contrib/restricted/boost contrib/restricted/cityhash-1.0.2 ) SRCS( argsToConfig.cpp coverage.cpp DateLUT.cpp DateLUTImpl.cpp demangle.cpp getFQDNOrHostName.cpp getMemoryAmount.cpp getThreadId.cpp JSON.cpp LineReader.cpp mremap.cpp phdr_cache.cpp preciseExp10.cpp setTerminalEcho.cpp shift10.cpp sleep.cpp terminalColors.cpp errnoToString.cpp ) END()