1
0

ext-soundtouch.lua 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. project "soundtouch"
  2. uuid "F5F8F6DE-84CF-4E9D-91EA-D9B5E2AA36CD"
  3. language "C++"
  4. location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  5. mpt_projectname = "soundtouch"
  6. dofile "../../build/premake/premake-defaults-DLL.lua"
  7. dofile "../../build/premake/premake-defaults.lua"
  8. targetname "openmpt-soundtouch"
  9. includedirs { "../../include/soundtouch/include" }
  10. filter {}
  11. filter { "action:vs*" }
  12. characterset "Unicode"
  13. filter {}
  14. files {
  15. "../../include/soundtouch/include/BPMDetect.h",
  16. "../../include/soundtouch/include/FIFOSampleBuffer.h",
  17. "../../include/soundtouch/include/FIFOSamplePipe.h",
  18. "../../include/soundtouch/include/SoundTouch.h",
  19. "../../include/soundtouch/include/STTypes.h",
  20. }
  21. files {
  22. "../../include/soundtouch/source/SoundTouch/AAFilter.cpp",
  23. "../../include/soundtouch/source/SoundTouch/BPMDetect.cpp",
  24. "../../include/soundtouch/source/SoundTouch/cpu_detect_x86.cpp",
  25. "../../include/soundtouch/source/SoundTouch/FIFOSampleBuffer.cpp",
  26. "../../include/soundtouch/source/SoundTouch/FIRFilter.cpp",
  27. "../../include/soundtouch/source/SoundTouch/InterpolateCubic.cpp",
  28. "../../include/soundtouch/source/SoundTouch/InterpolateLinear.cpp",
  29. "../../include/soundtouch/source/SoundTouch/InterpolateShannon.cpp",
  30. "../../include/soundtouch/source/SoundTouch/mmx_optimized.cpp",
  31. "../../include/soundtouch/source/SoundTouch/PeakFinder.cpp",
  32. "../../include/soundtouch/source/SoundTouch/RateTransposer.cpp",
  33. "../../include/soundtouch/source/SoundTouch/SoundTouch.cpp",
  34. "../../include/soundtouch/source/SoundTouch/sse_optimized.cpp",
  35. "../../include/soundtouch/source/SoundTouch/TDStretch.cpp",
  36. }
  37. files {
  38. "../../include/soundtouch/source/SoundTouch/AAFilter.h",
  39. "../../include/soundtouch/source/SoundTouch/cpu_detect.h",
  40. "../../include/soundtouch/source/SoundTouch/FIRFilter.h",
  41. "../../include/soundtouch/source/SoundTouch/InterpolateCubic.h",
  42. "../../include/soundtouch/source/SoundTouch/InterpolateLinear.h",
  43. "../../include/soundtouch/source/SoundTouch/InterpolateShannon.h",
  44. "../../include/soundtouch/source/SoundTouch/PeakFinder.h",
  45. "../../include/soundtouch/source/SoundTouch/RateTransposer.h",
  46. "../../include/soundtouch/source/SoundTouch/TDStretch.h",
  47. }
  48. files {
  49. "../../include/soundtouch/source/SoundTouchDLL/SoundTouchDLL.cpp",
  50. "../../include/soundtouch/source/SoundTouchDLL/SoundTouchDLL.h",
  51. }
  52. filter { "action:vs*" }
  53. buildoptions { "/wd4267" }
  54. filter {}
  55. filter { "action:vs*" }
  56. buildoptions { "/wd6262" } -- analyze
  57. filter {}
  58. defines { "DLL_EXPORTS" }