2021-04-24 19:47:52 +00:00
|
|
|
SET(LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/double-conversion")
|
2019-07-09 22:35:40 +00:00
|
|
|
|
2022-01-17 18:45:54 +00:00
|
|
|
add_library(_double-conversion
|
2021-04-24 19:48:44 +00:00
|
|
|
"${LIBRARY_DIR}/double-conversion/bignum.cc"
|
|
|
|
"${LIBRARY_DIR}/double-conversion/bignum-dtoa.cc"
|
|
|
|
"${LIBRARY_DIR}/double-conversion/cached-powers.cc"
|
|
|
|
"${LIBRARY_DIR}/double-conversion/diy-fp.cc"
|
|
|
|
"${LIBRARY_DIR}/double-conversion/double-conversion.cc"
|
|
|
|
"${LIBRARY_DIR}/double-conversion/fast-dtoa.cc"
|
|
|
|
"${LIBRARY_DIR}/double-conversion/fixed-dtoa.cc"
|
|
|
|
"${LIBRARY_DIR}/double-conversion/strtod.cc")
|
2019-07-09 22:35:40 +00:00
|
|
|
|
2022-01-17 18:45:54 +00:00
|
|
|
target_include_directories(_double-conversion SYSTEM BEFORE PUBLIC "${LIBRARY_DIR}")
|
|
|
|
|
|
|
|
add_library(ch_contrib::double_conversion ALIAS _double-conversion)
|