mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
27 lines
899 B
CMake
27 lines
899 B
CMake
set(FMT_SOURCE_DIR "${ClickHouse_SOURCE_DIR}/contrib/fmtlib")
|
|
|
|
set (SRCS
|
|
# NOTE: do not build module for now:
|
|
# ../fmtlib/src/fmt.cc
|
|
${FMT_SOURCE_DIR}/src/format.cc
|
|
${FMT_SOURCE_DIR}/src/os.cc
|
|
|
|
${FMT_SOURCE_DIR}/include/fmt/args.h
|
|
${FMT_SOURCE_DIR}/include/fmt/chrono.h
|
|
${FMT_SOURCE_DIR}/include/fmt/color.h
|
|
${FMT_SOURCE_DIR}/include/fmt/compile.h
|
|
${FMT_SOURCE_DIR}/include/fmt/core.h
|
|
${FMT_SOURCE_DIR}/include/fmt/format.h
|
|
${FMT_SOURCE_DIR}/include/fmt/format-inl.h
|
|
${FMT_SOURCE_DIR}/include/fmt/locale.h
|
|
${FMT_SOURCE_DIR}/include/fmt/os.h
|
|
${FMT_SOURCE_DIR}/include/fmt/ostream.h
|
|
${FMT_SOURCE_DIR}/include/fmt/printf.h
|
|
${FMT_SOURCE_DIR}/include/fmt/ranges.h
|
|
${FMT_SOURCE_DIR}/include/fmt/xchar.h
|
|
)
|
|
|
|
add_library(_fmt ${SRCS})
|
|
target_include_directories(_fmt SYSTEM PUBLIC ../fmtlib/include)
|
|
add_library(ch_contrib::fmt ALIAS _fmt)
|