premake4.lua 471 B

1234567891011121314151617181920212223242526272829303132333435
  1. project "rtMidiTest"
  2. kind "ConsoleApp"
  3. -- defines { }
  4. includedirs
  5. {
  6. ".",
  7. }
  8. -- links { }
  9. files {
  10. "**.cpp",
  11. "**.h"
  12. }
  13. if os.is("Windows") then
  14. links {"winmm"}
  15. defines {"__WINDOWS_MM__", "WIN32"}
  16. end
  17. if os.is("Linux") then
  18. defines {"__LINUX_ALSA__"}
  19. links {"asound","pthread"}
  20. end
  21. if os.is("MacOSX") then
  22. links{"CoreAudio.framework", "coreMIDI.framework", "Cocoa.framework"}
  23. defines {"__MACOSX_CORE__"}
  24. end