Added Audio module

Fixed examples resources not being commited
Temporary removed static build configurations
This commit is contained in:
Lynix
2012-08-21 15:04:00 +02:00
parent 71b777e732
commit 40ec2003b4
28 changed files with 1541 additions and 13 deletions

View File

@@ -1,8 +1,8 @@
-- Configuration générale
configurations
{
"DebugStatic",
"ReleaseStatic",
-- "DebugStatic",
-- "ReleaseStatic",
"DebugDLL",
"ReleaseDLL"
}

View File

@@ -1,8 +1,8 @@
-- Configuration générale
configurations
{
"DebugStatic",
"ReleaseStatic",
-- "DebugStatic",
-- "ReleaseStatic",
"DebugDLL",
"ReleaseDLL"
}
@@ -10,10 +10,18 @@ configurations
language "C++"
location("../examples/build/" .. _ACTION)
debugdir "../examples/bin"
includedirs "../include"
debugdir "../examples/bin"
libdirs "../lib"
if (_OPTIONS["x64"]) then
libdirs "../extlibs/lib/x64"
end
libdirs "../extlibs/lib/x86"
targetdir "../examples/bin"
configuration "Debug*"

View 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