2017-04-14 19:22:38 +00:00
|
|
|
|
|
|
|
project "App_TinyAudioExample"
|
|
|
|
|
|
|
|
language "C++"
|
|
|
|
|
|
|
|
kind "ConsoleApp"
|
|
|
|
|
|
|
|
includedirs {
|
|
|
|
".",
|
|
|
|
"../../src",
|
|
|
|
}
|
|
|
|
|
|
|
|
defines {"B3_USE_STANDALONE_EXAMPLE", "__STK_REALTIME__"}
|
|
|
|
files {
|
|
|
|
"**.cpp",
|
|
|
|
"**.h",
|
|
|
|
"../StandaloneMain/main_console_single_example.cpp",
|
2017-04-27 04:31:01 +00:00
|
|
|
"../Utils/b3ResourcePath.cpp"
|
2017-04-14 19:22:38 +00:00
|
|
|
}
|
|
|
|
|
2017-04-27 04:31:01 +00:00
|
|
|
links {"Bullet3Common"}
|
|
|
|
|
2017-04-14 19:22:38 +00:00
|
|
|
if os.is("Windows") then
|
|
|
|
links {"winmm","Wsock32","dsound"}
|
2017-04-27 04:31:01 +00:00
|
|
|
defines {"WIN32","__WINDOWS_MM__","__WINDOWS_DS__"}
|
2017-04-14 19:22:38 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if os.is("Linux") then initX11()
|
2017-04-27 04:31:01 +00:00
|
|
|
defines {"__OS_LINUX__","__LINUX_ALSA__"}
|
2017-04-14 19:22:38 +00:00
|
|
|
links {"asound","pthread"}
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if os.is("MacOSX") then
|
|
|
|
links{"Cocoa.framework"}
|
|
|
|
links{"CoreAudio.framework", "coreMIDI.framework", "Cocoa.framework"}
|
|
|
|
|
2017-04-27 19:07:31 +00:00
|
|
|
defines {"__OS_MACOSX__", "__MACOSX_CORE__"}
|
2017-04-14 19:22:38 +00:00
|
|
|
end
|
|
|
|
|