2020-01-30 05:47:11 +00:00
|
|
|
add_library(lzma
|
2024-10-22 09:40:00 +00:00
|
|
|
include/7z.h
|
|
|
|
include/7zAlloc.h
|
|
|
|
include/7zBuf.h
|
|
|
|
include/7zCrc.h
|
|
|
|
include/7zFile.h
|
2020-01-30 05:47:11 +00:00
|
|
|
include/7zTypes.h
|
2024-10-22 09:40:00 +00:00
|
|
|
include/7zVersion.h
|
|
|
|
include/7zWindows.h
|
2020-01-30 05:47:11 +00:00
|
|
|
include/Alloc.h
|
2024-10-22 09:40:00 +00:00
|
|
|
include/Bcj2.h
|
2020-01-30 05:47:11 +00:00
|
|
|
include/Bra.h
|
|
|
|
include/Compiler.h
|
|
|
|
include/CpuArch.h
|
|
|
|
include/Delta.h
|
|
|
|
include/LzFind.h
|
|
|
|
include/LzHash.h
|
2024-10-22 09:40:00 +00:00
|
|
|
include/Lzma2Dec.h
|
|
|
|
include/Lzma2DecMt.h
|
|
|
|
include/Lzma2Enc.h
|
2020-01-30 05:47:11 +00:00
|
|
|
include/Lzma86.h
|
|
|
|
include/LzmaDec.h
|
|
|
|
include/LzmaEnc.h
|
|
|
|
include/LzmaLib.h
|
2024-10-22 09:40:00 +00:00
|
|
|
include/Ppmd.h
|
|
|
|
include/Ppmd7.h
|
2020-01-30 05:47:11 +00:00
|
|
|
include/Precomp.h
|
2024-10-22 09:40:00 +00:00
|
|
|
include/RotateDefs.h
|
|
|
|
include/Sha256.h
|
|
|
|
include/Xz.h
|
|
|
|
include/XzCrc64.h
|
|
|
|
include/XzEnc.h
|
|
|
|
src/7zAlloc.c
|
|
|
|
src/7zArcIn.c
|
|
|
|
src/7zBuf.c
|
|
|
|
src/7zBuf2.c
|
|
|
|
src/7zCrc.c
|
|
|
|
src/7zCrcOpt.c
|
|
|
|
src/7zDec.c
|
|
|
|
src/7zFile.c
|
|
|
|
src/7zStream.c
|
2020-01-30 05:47:11 +00:00
|
|
|
src/Alloc.c
|
2024-10-22 09:40:00 +00:00
|
|
|
src/Bcj2.c
|
|
|
|
src/Bcj2Enc.c
|
|
|
|
src/Bra.c
|
2020-01-30 05:47:11 +00:00
|
|
|
src/Bra86.c
|
|
|
|
src/BraIA64.c
|
|
|
|
src/CpuArch.c
|
|
|
|
src/Delta.c
|
|
|
|
src/LzFind.c
|
2024-10-22 09:40:00 +00:00
|
|
|
src/LzFindOpt.c
|
|
|
|
src/Lzma2Dec.c
|
|
|
|
src/Lzma2DecMt.c
|
|
|
|
src/Lzma2Enc.c
|
2020-01-30 05:47:11 +00:00
|
|
|
src/Lzma86Dec.c
|
|
|
|
src/Lzma86Enc.c
|
|
|
|
src/LzmaDec.c
|
|
|
|
src/LzmaEnc.c
|
|
|
|
src/LzmaLib.c
|
2024-10-22 09:40:00 +00:00
|
|
|
src/Ppmd7.c
|
|
|
|
src/Ppmd7Dec.c
|
|
|
|
src/Ppmd7Enc.c
|
|
|
|
src/Sha256.c
|
|
|
|
src/Sha256Opt.c
|
|
|
|
src/Xz.c
|
|
|
|
src/XzCrc64.c
|
|
|
|
src/XzCrc64Opt.c
|
|
|
|
src/XzDec.c
|
|
|
|
src/XzEnc.c
|
|
|
|
src/XzIn.c
|
|
|
|
|
2020-01-30 05:47:11 +00:00
|
|
|
)
|
|
|
|
|
2024-10-22 09:40:00 +00:00
|
|
|
target_compile_definitions(lzma PRIVATE Z7_ST)
|
2020-01-30 05:47:11 +00:00
|
|
|
|
|
|
|
target_include_directories(lzma PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
|
|
|
target_include_directories(lzma INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
|
|
|
|