mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 16:18:16 +00:00
f0156b8450
- Update spec2def use in bzip2. svn path=/branches/cmake-bringup/; revision=49494
20 lines
414 B
CMake
20 lines
414 B
CMake
|
|
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")
|