- Remove wpp from build.
- Improve several tools and libs.
- Improve the root cmake file.

svn path=/branches/cmake-bringup/; revision=49492
This commit is contained in:
Amine Khaldi 2010-11-05 18:06:25 +00:00
parent 2901215553
commit c93d1289fd
13 changed files with 297 additions and 220 deletions

View file

@ -1,18 +1,25 @@
file(GLOB_RECURSE SOURCE "*.c")
LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/minigzip.c)
LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/example.c)
add_definitions(-DNO_VIZ)
list(APPEND SOURCE
adler32.c
compress.c
crc32.c
deflate.c
gzclose.c
gzlib.c
gzread.c
gzwrite.c
infback.c
inffast.c
inflate.c
inftrees.c
trees.c
uncompr.c
zutil.c)
if(CMAKE_CROSSCOMPILING)
add_library(zlib ${SOURCE})
else()
add_library(zlibhost ${SOURCE})
endif()