ext-rtmidi.lua 715 B

1234567891011121314151617181920212223242526272829303132
  1. project "rtmidi"
  2. uuid "05BBD03D-0985-4D76-8DDD-534DA631C3A8"
  3. language "C++"
  4. location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  5. mpt_projectname = "rtmidi"
  6. dofile "../../build/premake/premake-defaults-LIB.lua"
  7. dofile "../../build/premake/premake-defaults.lua"
  8. targetname "openmpt-rtmidi"
  9. filter {}
  10. filter { "action:vs*" }
  11. characterset "Unicode"
  12. filter {}
  13. files {
  14. "../../include/rtmidi/RtMidi.cpp"
  15. }
  16. files {
  17. "../../include/rtmidi/RtMidi.h"
  18. }
  19. defines {
  20. "__WINDOWS_MM__",
  21. "RTMIDI_DO_NOT_ENSURE_UNIQUE_PORTNAMES"
  22. }
  23. if _OPTIONS["clang"] then
  24. filter { "not kind:StaticLib" }
  25. links { "winmm" }
  26. filter {}
  27. else
  28. filter {}
  29. links { "winmm" }
  30. filter {}
  31. end