reactos/lib/3rdparty/bzip2/CMakeLists.txt
Sir Richard 6a78adc872 [CMAKE]: Too much of bzip2 was being built.
svn path=/branches/cmake-bringup/; revision=48310
2010-07-27 16:03:05 +00:00

6 lines
No EOL
450 B
CMake

add_definitions(-DBZ_NO_STDIO -DBZ_DECOMPRESS_ONLY)
file(GLOB_RECURSE SOURCE "*.c")
LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/compress.c ${CMAKE_CURRENT_SOURCE_DIR}/randtable.c ${CMAKE_CURRENT_SOURCE_DIR}/bzip2recover.c ${CMAKE_CURRENT_SOURCE_DIR}/blocksort.c ${CMAKE_CURRENT_SOURCE_DIR}/bzip2.c ${CMAKE_CURRENT_SOURCE_DIR}/dlltest.c ${CMAKE_CURRENT_SOURCE_DIR}/spewG.c ${CMAKE_CURRENT_SOURCE_DIR}/unzcrash.c)
add_library(bzip2 ${SOURCE})