ext-portaudiocpp.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. project "portaudiocpp"
  2. uuid "627cf18a-c8ca-451e-afd0-8679cadfda6b"
  3. language "C++"
  4. location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  5. mpt_projectname = "portaudiocpp"
  6. dofile "../../build/premake/premake-defaults-LIB.lua"
  7. dofile "../../build/premake/premake-defaults.lua"
  8. targetname "openmpt-portaudiocpp"
  9. includedirs { "../../include/portaudio/include", "../../include/portaudio/bindings/cpp/include" }
  10. filter {}
  11. filter { "action:vs*" }
  12. characterset "Unicode"
  13. filter {}
  14. defines {
  15. "PAWIN_USE_WDMKS_DEVICE_INFO",
  16. "PA_WDMKS_NO_KSGUID_LIB",
  17. "PA_USE_ASIO=0",
  18. "PA_USE_DS=1",
  19. "PA_USE_WMME=1",
  20. "PA_USE_WASAPI=1",
  21. "PA_USE_WDMKS=1",
  22. }
  23. files {
  24. "../../include/portaudio/bindings/cpp/include/portaudiocpp/*.hxx",
  25. }
  26. files {
  27. "../../include/portaudio/bindings/cpp/source/portaudiocpp/*.cxx",
  28. }
  29. links { "portaudio" }
  30. filter { "configurations:Debug" }
  31. defines { "PA_ENABLE_DEBUG_OUTPUT" }
  32. filter { "configurations:DebugShared" }
  33. defines { "PA_ENABLE_DEBUG_OUTPUT" }
  34. filter { "configurations:DebugMDd" }
  35. defines { "PA_ENABLE_DEBUG_OUTPUT" }
  36. filter {}