2013-10-12 04:24:04 +00:00
|
|
|
make_release_only()
|
|
|
|
|
2023-09-25 11:02:34 +00:00
|
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DZ7_PPMD_SUPPORT" )
|
2015-12-31 15:23:54 +00:00
|
|
|
|
2021-11-27 14:26:07 +00:00
|
|
|
find_package(Threads)
|
|
|
|
|
|
|
|
add_library( lzma STATIC
|
2023-09-18 19:42:53 +00:00
|
|
|
C/7zAlloc.c
|
2015-12-31 15:23:54 +00:00
|
|
|
C/7zArcIn.c
|
2009-04-15 03:58:10 +00:00
|
|
|
C/7zBuf.c
|
2023-09-18 19:42:53 +00:00
|
|
|
C/7zBuf2.c
|
2009-04-15 03:58:10 +00:00
|
|
|
C/7zCrc.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/7zCrcOpt.c
|
|
|
|
C/7zDec.c
|
2023-09-18 19:42:53 +00:00
|
|
|
C/7zFile.c
|
2009-04-15 03:58:10 +00:00
|
|
|
C/7zStream.c
|
2023-09-18 19:42:53 +00:00
|
|
|
C/Alloc.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/Bcj2.c
|
2023-09-18 19:42:53 +00:00
|
|
|
C/Bcj2Enc.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/Bra.c
|
|
|
|
C/Bra86.c
|
|
|
|
C/CpuArch.c
|
2015-12-31 15:23:54 +00:00
|
|
|
C/Delta.c
|
2023-09-18 19:42:53 +00:00
|
|
|
C/DllSecur.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/LzFind.c
|
2021-11-27 14:26:07 +00:00
|
|
|
C/LzFindMt.c
|
|
|
|
C/LzFindOpt.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/Lzma2Dec.c
|
2023-09-18 19:42:53 +00:00
|
|
|
C/Lzma2DecMt.c
|
|
|
|
C/Lzma2Enc.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/LzmaDec.c
|
2015-12-31 15:23:54 +00:00
|
|
|
C/LzmaEnc.c
|
2023-09-18 19:42:53 +00:00
|
|
|
C/LzmaLib.c
|
|
|
|
C/MtCoder.c
|
|
|
|
C/MtDec.c
|
2015-12-31 15:23:54 +00:00
|
|
|
C/Ppmd7.c
|
2021-11-27 14:26:07 +00:00
|
|
|
C/Ppmd7Dec.c
|
2023-09-18 19:42:53 +00:00
|
|
|
C/Ppmd7Enc.c
|
|
|
|
C/Sha256.c
|
|
|
|
C/Sha256Opt.c
|
|
|
|
C/Sort.c
|
|
|
|
C/SwapBytes.c
|
2021-11-27 14:26:07 +00:00
|
|
|
C/Threads.c
|
2023-09-18 19:42:53 +00:00
|
|
|
C/Xz.c
|
|
|
|
C/XzCrc64.c
|
|
|
|
C/XzCrc64Opt.c
|
|
|
|
C/XzDec.c
|
|
|
|
C/XzEnc.c
|
|
|
|
C/XzIn.c
|
2021-11-27 14:26:07 +00:00
|
|
|
)
|
|
|
|
target_link_libraries( lzma Threads::Threads )
|