reactos/lib/3rdparty/bzip2/CMakeLists.txt

21 lines
414 B
Text
Raw Normal View History

add_definitions(-DBZ_NO_STDIO -DBZ_DECOMPRESS_ONLY)
spec2def(unbzip2.sys unbzip2.spec)
list(APPEND SOURCE
bzlib.c
randtable.c
crctable.c
decompress.c
huffman.c
dllmain.c
${CMAKE_CURRENT_BINARY_DIR}/unbzip2.def)
add_library(bzip2 SHARED ${SOURCE})
set_module_type(bzip2 kernelmodedriver)
add_importlibs(bzip2 ntoskrnl)
set_target_properties(bzip2 PROPERTIES OUTPUT_NAME "unbzip2")