mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 01:06:37 +08:00
14 lines
438 B
CMake
14 lines
438 B
CMake
set_property(SOURCE PROPERTY C_STANDARD 99)
|
|
|
|
add_library(z STATIC
|
|
../../common/zlib/deflate.c
|
|
../../common/zlib/adler32.c
|
|
../../common/zlib/trees.c
|
|
../../common/zlib/zutil.c
|
|
../../common/zlib/inflate.c
|
|
../../common/zlib/inffast.c
|
|
../../common/zlib/inftrees.c
|
|
)
|
|
|
|
target_compile_definitions(z PRIVATE Z_SOLO NO_GZIP ZLIB_PM3_TUNED)
|
|
target_compile_options(z PRIVATE -Wall -Werror -O3)
|