mirror of
https://github.com/revanced/aapt2.git
synced 2024-11-03 19:09:27 +01:00
22 lines
709 B
CMake
22 lines
709 B
CMake
|
add_library(libziparchive STATIC
|
||
|
${SRC}/libziparchive/zip_archive.cc
|
||
|
${SRC}/libziparchive/zip_archive_stream_entry.cc
|
||
|
${SRC}/libziparchive/zip_cd_entry_map.cc
|
||
|
${SRC}/libziparchive/zip_writer.cc
|
||
|
${SRC}/libziparchive/zip_error.cpp
|
||
|
${SRC}/libziparchive/incfs_support/signal_handling.cpp
|
||
|
)
|
||
|
|
||
|
target_compile_definitions(libziparchive PRIVATE
|
||
|
-DZLIB_CONST
|
||
|
-D_FILE_OFFSET_BITS=64
|
||
|
-DZIPARCHIVE_DISABLE_CALLBACK_API=1
|
||
|
)
|
||
|
|
||
|
target_include_directories(libziparchive PRIVATE
|
||
|
${SRC}/libziparchive/include
|
||
|
${SRC}/libziparchive/incfs_support/include
|
||
|
${SRC}/libbase/include
|
||
|
${SRC}/logging/liblog/include
|
||
|
${SRC}/boringssl/third_party/googletest/include
|
||
|
)
|