mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[CMAKE]
- 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:
parent
2901215553
commit
c93d1289fd
13 changed files with 297 additions and 220 deletions
27
lib/3rdparty/zlib/CMakeLists.txt
vendored
27
lib/3rdparty/zlib/CMakeLists.txt
vendored
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue