forked from scylladb/scylladb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
73 lines (72 loc) · 1.56 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
find_package(cryptopp REQUIRED)
find_package(rapidxml REQUIRED)
find_package(GnuTLS 3.3.26 REQUIRED)
add_library(utils STATIC)
target_sources(utils
PRIVATE
UUID_gen.cc
advanced_rpc_compressor.cc
alien_worker.cc
arch/powerpc/crc32-vpmsum/crc32_wrapper.cc
arch/powerpc/crc32-vpmsum/crc32.S
array-search.cc
ascii.cc
base64.cc
big_decimal.cc
bloom_calculations.cc
bloom_filter.cc
buffer_input_stream.cc
build_id.cc
config_file.cc
dict_trainer.cc
directories.cc
disk-error-handler.cc
disk_space_monitor.cc
dynamic_bitset.cc
error_injection.cc
exceptions.cc
file_lock.cc
gz/crc_combine.cc
gz/crc_combine_table.cc
hashers.cc
histogram_metrics_helper.cc
human_readable.cc
i_filter.cc
large_bitset.cc
like_matcher.cc
limiting_data_source.cc
lister.cc
logalloc.cc
managed_bytes.cc
multiprecision_int.cc
murmur_hash.cc
on_internal_error.cc
pretty_printers.cc
rate_limiter.cc
rjson.cc
runtime.cc
to_string.cc
updateable_value.cc
utf8.cc
uuid.cc
aws_sigv4.cc
stream_compressor.cc
s3/aws_error.cc
s3/client.cc
s3/retry_strategy.cc)
target_include_directories(utils
PUBLIC
${CMAKE_SOURCE_DIR}
${RAPIDJSON_INCLUDE_DIRS})
target_link_libraries(utils
PUBLIC
Seastar::seastar
xxHash::xxhash
PRIVATE
Boost::regex
cryptopp::cryptopp
rapidxml::rapidxml
yaml-cpp::yaml-cpp
GnuTLS::gnutls)
check_headers(check-headers utils
GLOB_RECURSE ${CMAKE_CURRENT_SOURCE_DIR}/*.hh)