aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/lz4
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
commitb4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch)
tree6a64ab25a145265287789bceed3f59e953561206 /contrib/libs/lz4
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'contrib/libs/lz4')
-rw-r--r--contrib/libs/lz4/CMakeLists.txt12
-rw-r--r--contrib/libs/lz4/generated/CMakeLists.txt18
2 files changed, 30 insertions, 0 deletions
diff --git a/contrib/libs/lz4/CMakeLists.txt b/contrib/libs/lz4/CMakeLists.txt
new file mode 100644
index 0000000000..93dee8fbfc
--- /dev/null
+++ b/contrib/libs/lz4/CMakeLists.txt
@@ -0,0 +1,12 @@
+add_library(contrib-libs-lz4)
+target_include_directories(contrib-libs-lz4 PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xxhash
+)
+target_link_libraries(contrib-libs-lz4 PUBLIC
+ contrib-libs-xxhash
+)
+target_sources(contrib-libs-lz4 PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/lz4.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/lz4frame.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/lz4hc.c
+)
diff --git a/contrib/libs/lz4/generated/CMakeLists.txt b/contrib/libs/lz4/generated/CMakeLists.txt
new file mode 100644
index 0000000000..43dc90f9b5
--- /dev/null
+++ b/contrib/libs/lz4/generated/CMakeLists.txt
@@ -0,0 +1,18 @@
+add_library(libs-lz4-generated)
+target_link_libraries(libs-lz4-generated PUBLIC
+ contrib-libs-cxxsupp
+)
+target_sources(libs-lz4-generated PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_10.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_11.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_12.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_13.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_14.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_15.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_16.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_17.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_18.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_19.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4_20.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/lz4/generated/lz4methods.cpp
+)