And even more CMake-specific cleanups (mutes most of the "non-harmful" warnings - VS is just trying to be too friendly/noisy at times)

--HG--
branch : trunk
This commit is contained in:
click
2010-06-30 16:51:37 +02:00
parent fc1ed4b109
commit f8bb7afa98
7 changed files with 96 additions and 54 deletions
+14 -5
View File
@@ -8,15 +8,24 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
file(GLOB sources *.c)
file(GLOB headers *.h)
SET(zlib_STAT_SRCS
${sources}
)
adler32.c
compress.c
crc32.c
deflate.c
example.c
infback.c
inffast.c
inflate.c
inftrees.c
trees.c
uncompr.c
zutil.c
)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
)
)
add_library(zlib STATIC ${zlib_STAT_SRCS})