aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/highwayhash/CMakeLists.txt
blob: bd186391d93607df5355ddad5d7f6d3fc694d3d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_library(contrib-libs-highwayhash)
target_include_directories(contrib-libs-highwayhash PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash
)
target_include_directories(contrib-libs-highwayhash PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash
)
target_link_libraries(contrib-libs-highwayhash PUBLIC
  contrib-libs-cxxsupp
  yutil
  highwayhash-arch-avx2
  highwayhash-arch-sse41
)
target_sources(contrib-libs-highwayhash PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/arch_specific.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/instruction_sets.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/nanobenchmark.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/os_specific.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/sip_hash.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/scalar_sip_tree_hash.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/hh_portable.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash/highwayhash/c_bindings.cc
)