mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
[CMAKE]: Add almost all the 3rdparty libs. The remaining ones are more annoying and will require more handwriting. I'm letting someone else write those out.
svn path=/branches/cmake-bringup/; revision=48270
This commit is contained in:
parent
8235c4622d
commit
8efcb1c052
11 changed files with 114 additions and 0 deletions
18
lib/3rdparty/zlib/CMakeLists.txt
vendored
Normal file
18
lib/3rdparty/zlib/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
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)
|
||||
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_library(zlib ${SOURCE})
|
||||
|
||||
else()
|
||||
|
||||
add_library(zlibhost ${SOURCE})
|
||||
|
||||
endif()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue