1
0

mpt-libopenmpt.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. project "libopenmpt"
  2. uuid "9C5101EF-3E20-4558-809B-277FDD50E878"
  3. language "C++"
  4. location ( "../../build/" .. mpt_projectpathname )
  5. vpaths { ["*"] = "../../" }
  6. mpt_projectname = "libopenmpt"
  7. dofile "../../build/xcode-genie/genie-defaults-LIBorDLL.lua"
  8. dofile "../../build/xcode-genie/genie-defaults.lua"
  9. local extincludedirs = {
  10. "../../include/mpg123/ports/Xcode",
  11. "../../include/mpg123/src/libmpg123",
  12. "../../include/ogg/include",
  13. "../../include/vorbis/include",
  14. -- "../../include/zlib",
  15. }
  16. includedirs ( extincludedirs )
  17. includedirs {
  18. "../..",
  19. "../../src",
  20. "../../common",
  21. "../../soundlib",
  22. "$(IntDir)/svn_version",
  23. "../../build/svn_version",
  24. }
  25. files {
  26. "../../src/mpt/**.cpp",
  27. "../../src/mpt/**.hpp",
  28. "../../common/*.cpp",
  29. "../../common/*.h",
  30. "../../soundbase/*.cpp",
  31. "../../soundbase/*.h",
  32. "../../soundlib/*.cpp",
  33. "../../soundlib/*.h",
  34. "../../soundlib/plugins/*.cpp",
  35. "../../soundlib/plugins/*.h",
  36. "../../soundlib/plugins/dmo/*.cpp",
  37. "../../soundlib/plugins/dmo/*.h",
  38. "../../sounddsp/*.cpp",
  39. "../../sounddsp/*.h",
  40. "../../libopenmpt/libopenmpt.h",
  41. "../../libopenmpt/libopenmpt.hpp",
  42. "../../libopenmpt/libopenmpt_config.h",
  43. "../../libopenmpt/libopenmpt_ext.h",
  44. "../../libopenmpt/libopenmpt_ext.hpp",
  45. "../../libopenmpt/libopenmpt_ext_impl.hpp",
  46. "../../libopenmpt/libopenmpt_impl.hpp",
  47. "../../libopenmpt/libopenmpt_internal.h",
  48. "../../libopenmpt/libopenmpt_stream_callbacks_buffer.h",
  49. "../../libopenmpt/libopenmpt_stream_callbacks_fd.h",
  50. "../../libopenmpt/libopenmpt_stream_callbacks_file.h",
  51. "../../libopenmpt/libopenmpt_version.h",
  52. "../../libopenmpt/libopenmpt_c.cpp",
  53. "../../libopenmpt/libopenmpt_cxx.cpp",
  54. "../../libopenmpt/libopenmpt_ext_impl.cpp",
  55. "../../libopenmpt/libopenmpt_impl.cpp",
  56. }
  57. excludes {
  58. "../../src/mpt/crypto/**.cpp",
  59. "../../src/mpt/crypto/**.hpp",
  60. "../../src/mpt/json/**.cpp",
  61. "../../src/mpt/json/**.hpp",
  62. "../../src/mpt/test/**.cpp",
  63. "../../src/mpt/test/**.hpp",
  64. "../../src/mpt/uuid_namespace/**.cpp",
  65. "../../src/mpt/uuid_namespace/**.hpp",
  66. "../../src/openmpt/sounddevice/**.cpp",
  67. "../../src/openmpt/sounddevice/**.hpp",
  68. }
  69. configuration {}
  70. defines { "LIBOPENMPT_BUILD" }
  71. links {
  72. "mpg123",
  73. "vorbis",
  74. "ogg",
  75. -- "zlib",
  76. "z",
  77. }