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:
Vendored
+14
-5
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user