Core/Dep: Added libzip which IS needed by G3D

Fixes compile on Windows and Linux (if you didn't have libzip installed for
some reason).

--HG--
branch : trunk
This commit is contained in:
Brian
2010-08-25 23:40:39 -06:00
parent 55b09e7a9c
commit bed85f565b
225 changed files with 56177 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# $NiH$
ENABLE_TESTING()
SET(TEST_PROGRAMS
add_from_buffer
add_from_file
add_from_filep
encrypt
fread
get_comment
name_locate
open
set_comment_all
set_comment_localonly
set_comment_removeglobal
set_comment_revert
)
SET(ENV{srcdir} ${CMAKE_CURRENT_SOURCE_DIR})
FOREACH(PROGRAM ${TEST_PROGRAMS})
ADD_EXECUTABLE(${PROGRAM} ${PROGRAM}.c)
TARGET_LINK_LIBRARIES(${PROGRAM} zip)
ADD_TEST(${PROGRAM} ${CMAKE_CURRENT_SOURCE_DIR}/runtest ${CMAKE_CURRENT_SOURCE_DIR}/${PROGRAM})
ENDFOREACH(PROGRAM ${TEST_PROGRAMS})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../lib)