Merged 2D and 3D modules into Graphics module
Former-commit-id: 33bf0fbe727e50e864bc52680c95a106ada508e9
This commit is contained in:
41
build/scripts/module/graphics.lua
Normal file
41
build/scripts/module/graphics.lua
Normal file
@@ -0,0 +1,41 @@
|
||||
if (not _OPTIONS["united"]) then
|
||||
project "NazaraGraphics"
|
||||
end
|
||||
|
||||
files
|
||||
{
|
||||
"../include/Nazara/Graphics/**.hpp",
|
||||
"../include/Nazara/Graphics/**.inl",
|
||||
"../src/Nazara/Graphics/**.hpp",
|
||||
"../src/Nazara/Graphics/**.cpp"
|
||||
}
|
||||
|
||||
if (os.is("windows")) then
|
||||
excludes { "../src/Nazara/Graphics/Posix/*.hpp", "../src/Nazara/Graphics/Posix/*.cpp" }
|
||||
else
|
||||
excludes { "../src/Nazara/Graphics/Win32/*.hpp", "../src/Nazara/Graphics/Win32/*.cpp" }
|
||||
end
|
||||
|
||||
if (_OPTIONS["united"]) then
|
||||
excludes "../src/Nazara/Graphics/Debug/Leaks.cpp"
|
||||
else
|
||||
configuration "DebugStatic"
|
||||
links "NazaraCore-s-d"
|
||||
links "NazaraUtility-s-d"
|
||||
links "NazaraRenderer-s-d"
|
||||
|
||||
configuration "ReleaseStatic"
|
||||
links "NazaraCore-s"
|
||||
links "NazaraUtility-s"
|
||||
links "NazaraRenderer-s"
|
||||
|
||||
configuration "DebugDLL"
|
||||
links "NazaraCore-d"
|
||||
links "NazaraUtility-d"
|
||||
links "NazaraRenderer-d"
|
||||
|
||||
configuration "ReleaseDLL"
|
||||
links "NazaraCore"
|
||||
links "NazaraUtility"
|
||||
links "NazaraRenderer"
|
||||
end
|
||||
Reference in New Issue
Block a user