summaryrefslogtreecommitdiff
path: root/zlib
diff options
context:
space:
mode:
authorgeorg@lmy002.wdf.sap.corp <>2006-08-31 19:52:42 +0200
committergeorg@lmy002.wdf.sap.corp <>2006-08-31 19:52:42 +0200
commit27636d93037a72fb77d0c711cb1630057c733ca4 (patch)
tree1a7d7e96d4dcd302dbe513ad50a16ea05cb7ed16 /zlib
parentd463972da7471b6682a50215595897ecd95566ce (diff)
downloadmariadb-git-27636d93037a72fb77d0c711cb1630057c733ca4.tar.gz
Additional files for cmake support
Diffstat (limited to 'zlib')
-rwxr-xr-xzlib/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/zlib/CMakeLists.txt b/zlib/CMakeLists.txt
new file mode 100755
index 00000000000..53560adf6d1
--- /dev/null
+++ b/zlib/CMakeLists.txt
@@ -0,0 +1,8 @@
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
+SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")
+
+ADD_DEFINITIONS(-DUSE_TLS -DMYSQL_CLIENT -D__WIN32__)
+ADD_LIBRARY(zlib adler32.c compress.c crc32.c crc32.h deflate.c deflate.h gzio.c infback.c inffast.c inffast.h
+ inffixed.h inflate.c inflate.h inftrees.c inftrees.h trees.c trees.h uncompr.c zconf.h zlib.h
+ zutil.c zutil.h)
+ \ No newline at end of file