aboutsummaryrefslogtreecommitdiff
path: root/Src/external_dependencies/openmpt-trunk/build/premake/ext-portaudiocpp.lua
blob: e8624ccaa6a9b4e52dfcfa09505581d44ec5231c (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
33
34
35
36
37

 project "portaudiocpp"
  uuid "627cf18a-c8ca-451e-afd0-8679cadfda6b"
  language "C++"
  location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  mpt_projectname = "portaudiocpp"
  dofile "../../build/premake/premake-defaults-LIB.lua"
  dofile "../../build/premake/premake-defaults.lua"
  targetname "openmpt-portaudiocpp"
  includedirs { "../../include/portaudio/include", "../../include/portaudio/bindings/cpp/include" }
	filter {}
	filter { "action:vs*" }
		characterset "Unicode"
	filter {}
  defines {
   "PAWIN_USE_WDMKS_DEVICE_INFO",
   "PA_WDMKS_NO_KSGUID_LIB",
   "PA_USE_ASIO=0",
   "PA_USE_DS=1",
   "PA_USE_WMME=1",
   "PA_USE_WASAPI=1",
   "PA_USE_WDMKS=1",
  }
  files {
   "../../include/portaudio/bindings/cpp/include/portaudiocpp/*.hxx",
  }
  files {
   "../../include/portaudio/bindings/cpp/source/portaudiocpp/*.cxx",
  }
  links { "portaudio" }
  filter { "configurations:Debug" }
   defines { "PA_ENABLE_DEBUG_OUTPUT" }
  filter { "configurations:DebugShared" }
   defines { "PA_ENABLE_DEBUG_OUTPUT" }
  filter { "configurations:DebugMDd" }
   defines { "PA_ENABLE_DEBUG_OUTPUT" }
  filter {}