[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:
Sir Richard 2010-07-26 00:38:25 +00:00
parent 8235c4622d
commit 8efcb1c052
11 changed files with 114 additions and 0 deletions

18
lib/3rdparty/zlib/CMakeLists.txt vendored Normal file
View 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()