aboutsummaryrefslogtreecommitdiff
path: root/Src/external_dependencies/openmpt-trunk/build/premake/ext-rtmidi.lua
blob: 08b8498c63a81e65f283073bd4507f14fee5ee73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

 project "rtmidi"
  uuid "05BBD03D-0985-4D76-8DDD-534DA631C3A8"
  language "C++"
  location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  mpt_projectname = "rtmidi"
  dofile "../../build/premake/premake-defaults-LIB.lua"
  dofile "../../build/premake/premake-defaults.lua"
  targetname "openmpt-rtmidi"
	filter {}
	filter { "action:vs*" }
		characterset "Unicode"
	filter {}
  files {
   "../../include/rtmidi/RtMidi.cpp"
  }
  files {
   "../../include/rtmidi/RtMidi.h"
  }
  defines {
   "__WINDOWS_MM__",
   "RTMIDI_DO_NOT_ENSURE_UNIQUE_PORTNAMES"
  }
	if _OPTIONS["clang"] then
		filter { "not kind:StaticLib" }
			links { "winmm" }
		filter {}
	else
		filter {}
			links { "winmm" }
		filter {}
	end