mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
933f98a900
warnings are disabled for all contribs in contrib/CMakeLists.txt already
19 lines
599 B
CMake
19 lines
599 B
CMake
set (LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/replxx")
|
|
|
|
set(SRCS
|
|
"${LIBRARY_DIR}/src/conversion.cxx"
|
|
"${LIBRARY_DIR}/src/ConvertUTF.cpp"
|
|
"${LIBRARY_DIR}/src/escape.cxx"
|
|
"${LIBRARY_DIR}/src/history.cxx"
|
|
"${LIBRARY_DIR}/src/terminal.cxx"
|
|
"${LIBRARY_DIR}/src/prompt.cxx"
|
|
"${LIBRARY_DIR}/src/replxx_impl.cxx"
|
|
"${LIBRARY_DIR}/src/replxx.cxx"
|
|
"${LIBRARY_DIR}/src/util.cxx"
|
|
"${LIBRARY_DIR}/src/wcwidth.cpp"
|
|
)
|
|
|
|
add_library (_replxx ${SRCS})
|
|
target_include_directories(_replxx SYSTEM PUBLIC "${LIBRARY_DIR}/include")
|
|
add_library(ch_contrib::replxx ALIAS _replxx)
|