import modules ;
import os ;
SOURCES =
audio
;
DARWIN_SOURCES_MM =
avcapture_video_capture
;
DARWIN_SOURCES_CPP =
coreaudio_audio
;
WINDOWS_SOURCES =
wasapi_audio
;
local usage-requirements =
<include>./include
<include>./../../deps
<include>./../media/include
;
project media ;
lib media
: # sources
src/$(SOURCES).cpp
: # requirements
<threading>multi
<toolset>darwin:<source>src/$(DARWIN_SOURCES_CPP).cpp
<toolset>darwin:<source>src/$(DARWIN_SOURCES_MM).mm
<toolset>msvc:<source>src/$(WINDOWS_SOURCES).cpp
$(usage-requirements)
: # default build
<link>static
: # usage requirements
$(usage-requirements)
;