Added Audio module
Fixed examples resources not being commited Temporary removed static build configurations
This commit is contained in:
36
build/scripts/module/audio.lua
Normal file
36
build/scripts/module/audio.lua
Normal file
@@ -0,0 +1,36 @@
|
||||
if (not _OPTIONS["one-library"]) then
|
||||
project "NazaraAudio"
|
||||
end
|
||||
|
||||
files
|
||||
{
|
||||
"../include/Nazara/Audio/**.hpp",
|
||||
"../include/Nazara/Audio/**.inl",
|
||||
"../src/Nazara/Audio/**.hpp",
|
||||
"../src/Nazara/Audio/**.cpp"
|
||||
}
|
||||
|
||||
if (os.is("windows")) then
|
||||
excludes { "../src/Nazara/Audio/Posix/*.hpp", "../src/Nazara/Audio/Posix/*.cpp" }
|
||||
links "OpenAL32"
|
||||
links "sndfile-1"
|
||||
else
|
||||
excludes { "../src/Nazara/Audio/Win32/*.hpp", "../src/Nazara/Audio/Win32/*.cpp" }
|
||||
-- Link posix ?
|
||||
end
|
||||
|
||||
if (_OPTIONS["one-library"]) then
|
||||
excludes "../src/Nazara/Audio/Debug/Leaks.cpp"
|
||||
else
|
||||
configuration "DebugStatic"
|
||||
links "NazaraCore-s-d"
|
||||
|
||||
configuration "ReleaseStatic"
|
||||
links "NazaraCore-s"
|
||||
|
||||
configuration "DebugDLL"
|
||||
links "NazaraCore-d"
|
||||
|
||||
configuration "ReleaseDLL"
|
||||
links "NazaraCore"
|
||||
end
|
||||
Reference in New Issue
Block a user