ext-mpg123.lua 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. project "mpg123"
  2. uuid "7adfafb9-0a83-4d35-9891-fb24fdf30b53"
  3. language "C"
  4. location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  5. mpt_projectname = "mpg123"
  6. dofile "../../build/genie/genie-defaults-DLL.lua"
  7. dofile "../../build/genie/genie-defaults.lua"
  8. targetname "openmpt-mpg123"
  9. includedirs {
  10. "../../include/mpg123/ports/MSVC++",
  11. "../../include/mpg123/src/libmpg123",
  12. "../../include/mpg123/src/compat",
  13. "../../include/mpg123/src",
  14. }
  15. flags { "Unicode" }
  16. files {
  17. "../../include/mpg123/src/compat/compat.c",
  18. "../../include/mpg123/src/compat/compat_str.c",
  19. }
  20. files {
  21. --"../../include/mpg123/src/libmpg123/calctables.c",
  22. "../../include/mpg123/src/libmpg123/dct64.c",
  23. --"../../include/mpg123/src/libmpg123/dither.c",
  24. "../../include/mpg123/src/libmpg123/equalizer.c",
  25. "../../include/mpg123/src/libmpg123/feature.c",
  26. "../../include/mpg123/src/libmpg123/format.c",
  27. "../../include/mpg123/src/libmpg123/frame.c",
  28. "../../include/mpg123/src/libmpg123/icy.c",
  29. "../../include/mpg123/src/libmpg123/icy2utf8.c",
  30. "../../include/mpg123/src/libmpg123/id3.c",
  31. "../../include/mpg123/src/libmpg123/index.c",
  32. "../../include/mpg123/src/libmpg123/layer1.c",
  33. "../../include/mpg123/src/libmpg123/layer2.c",
  34. "../../include/mpg123/src/libmpg123/layer3.c",
  35. --"../../include/mpg123/src/libmpg123/lfs_alias.c",
  36. --"../../include/mpg123/src/libmpg123/lfs_wrap.c",
  37. "../../include/mpg123/src/libmpg123/libmpg123.c",
  38. "../../include/mpg123/src/libmpg123/ntom.c",
  39. "../../include/mpg123/src/libmpg123/optimize.c",
  40. "../../include/mpg123/src/libmpg123/parse.c",
  41. "../../include/mpg123/src/libmpg123/readers.c",
  42. "../../include/mpg123/src/libmpg123/stringbuf.c",
  43. "../../include/mpg123/src/libmpg123/synth.c",
  44. "../../include/mpg123/src/libmpg123/synth_8bit.c",
  45. "../../include/mpg123/src/libmpg123/synth_real.c",
  46. "../../include/mpg123/src/libmpg123/synth_s32.c",
  47. "../../include/mpg123/src/libmpg123/tabinit.c",
  48. }
  49. defines { "DYNAMIC_BUILD", "OPT_GENERIC" }
  50. links {
  51. "shlwapi",
  52. }
  53. buildoptions { "/wd4018", "/wd4244", "/wd4267", "/wd4305", "/wd4334" }
  54. buildoptions { "/wd6011", "/wd6285", "/wd6297", "/wd6305", "/wd6385", "/wd6386" } -- /analyze