ext-zlib.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. project "zlib"
  2. uuid "1654FB18-FDE6-406F-9D84-BA12BFBD67B2"
  3. language "C"
  4. location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  5. mpt_projectname = "zlib"
  6. dofile "../../build/genie/genie-defaults-LIBorDLL.lua"
  7. dofile "../../build/genie/genie-defaults.lua"
  8. targetname "openmpt-zlib"
  9. includedirs { "../../include/zlib" }
  10. flags { "Unicode" }
  11. files {
  12. "../../include/zlib/adler32.c",
  13. "../../include/zlib/compress.c",
  14. "../../include/zlib/crc32.c",
  15. "../../include/zlib/deflate.c",
  16. "../../include/zlib/gzclose.c",
  17. "../../include/zlib/gzlib.c",
  18. "../../include/zlib/gzread.c",
  19. "../../include/zlib/gzwrite.c",
  20. "../../include/zlib/infback.c",
  21. "../../include/zlib/inffast.c",
  22. "../../include/zlib/inflate.c",
  23. "../../include/zlib/inftrees.c",
  24. "../../include/zlib/trees.c",
  25. "../../include/zlib/uncompr.c",
  26. "../../include/zlib/zutil.c",
  27. }
  28. files {
  29. "../../include/zlib/crc32.h",
  30. "../../include/zlib/deflate.h",
  31. "../../include/zlib/gzguts.h",
  32. "../../include/zlib/inffast.h",
  33. "../../include/zlib/inffixed.h",
  34. "../../include/zlib/inflate.h",
  35. "../../include/zlib/inftrees.h",
  36. "../../include/zlib/trees.h",
  37. "../../include/zlib/zconf.h",
  38. "../../include/zlib/zlib.h",
  39. "../../include/zlib/zutil.h",
  40. }
  41. configuration "DebugShared or ReleaseShared"
  42. defines { "ZLIB_DLL" }
  43. configuration {}
  44. buildoptions { "/wd4267" }
  45. buildoptions { "/wd6297", "/wd6385" } -- /analyze