mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Add expected submodule
This commit is contained in:
parent
c20444d430
commit
bff31998f2
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -369,3 +369,6 @@
|
|||||||
[submodule "contrib/idna"]
|
[submodule "contrib/idna"]
|
||||||
path = contrib/idna
|
path = contrib/idna
|
||||||
url = https://github.com/ada-url/idna.git
|
url = https://github.com/ada-url/idna.git
|
||||||
|
[submodule "contrib/expected"]
|
||||||
|
path = contrib/expected
|
||||||
|
url = https://github.com/TartanLlama/expected
|
||||||
|
1
contrib/CMakeLists.txt
vendored
1
contrib/CMakeLists.txt
vendored
@ -222,6 +222,7 @@ else ()
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_contrib (xxHash-cmake xxHash)
|
add_contrib (xxHash-cmake xxHash)
|
||||||
|
add_contrib (expected-cmake expected)
|
||||||
|
|
||||||
add_contrib (libbcrypt-cmake libbcrypt)
|
add_contrib (libbcrypt-cmake libbcrypt)
|
||||||
|
|
||||||
|
1
contrib/expected
vendored
Submodule
1
contrib/expected
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 3f0ca7b19253129700a073abfa6d8638d9f7c80c
|
3
contrib/expected-cmake/CMakeLists.txt
Normal file
3
contrib/expected-cmake/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
add_library(expected INTERFACE)
|
||||||
|
target_include_directories(expected SYSTEM BEFORE INTERFACE "${ClickHouse_SOURCE_DIR}/contrib/expected/include")
|
||||||
|
add_library(ch_contrib::expected ALIAS expected)
|
@ -46,6 +46,7 @@ list (APPEND PUBLIC_LIBS
|
|||||||
|
|
||||||
list (APPEND PRIVATE_LIBS
|
list (APPEND PRIVATE_LIBS
|
||||||
ch_contrib::zlib
|
ch_contrib::zlib
|
||||||
|
ch_contrib::expected
|
||||||
boost::filesystem
|
boost::filesystem
|
||||||
divide_impl
|
divide_impl
|
||||||
ch_contrib::xxHash
|
ch_contrib::xxHash
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#include <IO/WriteHelpers.h>
|
#include <IO/WriteHelpers.h>
|
||||||
#include <boost/algorithm/string/case_conv.hpp>
|
#include <boost/algorithm/string/case_conv.hpp>
|
||||||
|
|
||||||
|
#include <tl/expected.hpp>
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user