First commit
This commit is contained in:
31
build/scripts/module/audio.lua
Normal file
31
build/scripts/module/audio.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
project "NazaraAudio"
|
||||
|
||||
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" }
|
||||
else
|
||||
excludes { "../src/Nazara/Audio/Win32/*.hpp", "../src/Nazara/Audio/Win32/*.cpp" }
|
||||
end
|
||||
|
||||
configuration "DebugStatic"
|
||||
links "NazaraCored-s"
|
||||
targetname "NazaraAudiod"
|
||||
|
||||
configuration "ReleaseStatic"
|
||||
links "NazaraCore-s"
|
||||
targetname "NazaraAudio"
|
||||
|
||||
configuration "DebugDLL"
|
||||
links "NazaraCored"
|
||||
targetname "NazaraAudiod"
|
||||
|
||||
configuration "ReleaseDLL"
|
||||
links "NazaraCore"
|
||||
targetname "NazaraAudio"
|
||||
22
build/scripts/module/core.lua
Normal file
22
build/scripts/module/core.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
project "NazaraCore"
|
||||
|
||||
files
|
||||
{
|
||||
"../include/Nazara/Prerequesites.hpp",
|
||||
"../include/Nazara/Core/**.hpp",
|
||||
"../include/Nazara/Core/**.inl",
|
||||
"../src/Nazara/Core/**.hpp",
|
||||
"../src/Nazara/Core/**.cpp"
|
||||
}
|
||||
|
||||
if (os.is("windows")) then
|
||||
excludes { "../src/Nazara/Core/Posix/**.hpp", "../src/Nazara/Core/Posix/**.cpp" }
|
||||
else
|
||||
excludes { "../src/Nazara/Core/Win32/**.hpp", "../src/Nazara/Core/Win32/**.cpp" }
|
||||
end
|
||||
|
||||
configuration "Debug*"
|
||||
targetname "NazaraCored"
|
||||
|
||||
configuration "Release*"
|
||||
targetname "NazaraCore"
|
||||
33
build/scripts/module/network.lua
Normal file
33
build/scripts/module/network.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
project "NazaraNetwork"
|
||||
|
||||
links "ws2_32"
|
||||
|
||||
files
|
||||
{
|
||||
"../include/Nazara/Network/**.hpp",
|
||||
"../include/Nazara/Network/**.inl",
|
||||
"../src/Nazara/Network/**.hpp",
|
||||
"../src/Nazara/Network/**.cpp"
|
||||
}
|
||||
|
||||
if (os.is("windows")) then
|
||||
excludes { "../src/Nazara/Network/Posix/*.hpp", "../src/Nazara/Network/Posix/*.cpp" }
|
||||
else
|
||||
excludes { "../src/Nazara/Network/Win32/*.hpp", "../src/Nazara/Network/Win32/*.cpp" }
|
||||
end
|
||||
|
||||
configuration "DebugStatic"
|
||||
links "NazaraCored-s"
|
||||
targetname "NazaraNetworkd"
|
||||
|
||||
configuration "ReleaseStatic"
|
||||
links "NazaraCore-s"
|
||||
targetname "NazaraNetwork"
|
||||
|
||||
configuration "DebugDLL"
|
||||
links "NazaraCored"
|
||||
targetname "NazaraNetworkd"
|
||||
|
||||
configuration "ReleaseDLL"
|
||||
links "NazaraCore"
|
||||
targetname "NazaraNetwork"
|
||||
40
build/scripts/module/renderer.lua
Normal file
40
build/scripts/module/renderer.lua
Normal file
@@ -0,0 +1,40 @@
|
||||
project "NazaraRenderer"
|
||||
|
||||
defines "NAZARA_RENDERER_OPENGL"
|
||||
links "gdi32"
|
||||
links "opengl32"
|
||||
links "winmm"
|
||||
|
||||
files
|
||||
{
|
||||
"../include/Nazara/Renderer/**.hpp",
|
||||
"../include/Nazara/Renderer/**.inl",
|
||||
"../src/Nazara/Renderer/**.hpp",
|
||||
"../src/Nazara/Renderer/**.cpp"
|
||||
}
|
||||
|
||||
if (os.is("windows")) then
|
||||
excludes { "../src/Nazara/Renderer/Posix/*.hpp", "../src/Nazara/Renderer/Posix/*.cpp" }
|
||||
else
|
||||
excludes { "../src/Nazara/Renderer/Win32/*.hpp", "../src/Nazara/Renderer/Win32/*.cpp" }
|
||||
end
|
||||
|
||||
configuration "DebugStatic"
|
||||
links "NazaraCored-s"
|
||||
links "NazaraUtilityd-s"
|
||||
targetname "NazaraRendererd"
|
||||
|
||||
configuration "ReleaseStatic"
|
||||
links "NazaraCore-s"
|
||||
links "NazaraUtility-s"
|
||||
targetname "NazaraRenderer"
|
||||
|
||||
configuration "DebugDLL"
|
||||
links "NazaraCored"
|
||||
links "NazaraUtilityd"
|
||||
targetname "NazaraRendererd"
|
||||
|
||||
configuration "ReleaseDLL"
|
||||
links "NazaraCore"
|
||||
links "NazaraUtility"
|
||||
targetname "NazaraRenderer"
|
||||
31
build/scripts/module/utility.lua
Normal file
31
build/scripts/module/utility.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
project "NazaraUtility"
|
||||
|
||||
files
|
||||
{
|
||||
"../include/Nazara/Utility/**.hpp",
|
||||
"../include/Nazara/Utility/**.inl",
|
||||
"../src/Nazara/Utility/**.hpp",
|
||||
"../src/Nazara/Utility/**.cpp"
|
||||
}
|
||||
|
||||
if (os.is("windows")) then
|
||||
excludes { "../src/Nazara/Utility/Posix/*.hpp", "../src/Nazara/Utility/Posix/*.cpp" }
|
||||
else
|
||||
excludes { "../src/Nazara/Utility/Win32/*.hpp", "../src/Nazara/Utility/Win32/*.cpp" }
|
||||
end
|
||||
|
||||
configuration "DebugStatic"
|
||||
links "NazaraCored-s"
|
||||
targetname "NazaraUtilityd"
|
||||
|
||||
configuration "ReleaseStatic"
|
||||
links "NazaraCore-s"
|
||||
targetname "NazaraUtility"
|
||||
|
||||
configuration "DebugDLL"
|
||||
links "NazaraCored"
|
||||
targetname "NazaraUtilityd"
|
||||
|
||||
configuration "ReleaseDLL"
|
||||
links "NazaraCore"
|
||||
targetname "NazaraUtility"
|
||||
Reference in New Issue
Block a user