Added config checkers Macro no longer use suffixes Moved MemoryManager to upper directory Renamed *_MEMORYMANAGER to *_MANAGE_MEMORY Renamed AUDIO_STREAMEDBUFFERCOUNT to AUDIO_STREAMED_BUFFER_COUNT Renamed CORE_REAL_PRECISION to CORE_DECIMAL_DIGITS Renamed DEBUG_MEMORYMANAGER_DISABLE_REDEFINITION to DEBUG_NEWREDEFINITION_DISABLE_REDEFINITION Renamed GRAPHICS_MAX_LIGHTPERPASS to GRAPHICS_MAX_LIGHT_PER_PASS Renamed UTILITY_FORCE_DECLARATION_STRIDE_MULTIPLE_OF_32 to UTILITY_VERTEX_DECLARATION_FORCE_STRIDE_MULTIPLE_OF_32 Former-commit-id: 81ef836ac9f092ac471f60e544bb7c7c6370593c
42 lines
922 B
Lua
42 lines
922 B
Lua
if (not _OPTIONS["united"]) then
|
|
project "NazaraRenderer"
|
|
end
|
|
|
|
defines "NAZARA_RENDERER_OPENGL"
|
|
|
|
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" }
|
|
links "gdi32"
|
|
links "opengl32"
|
|
links "winmm"
|
|
else
|
|
excludes { "../src/Nazara/Renderer/Win32/*.hpp", "../src/Nazara/Renderer/Win32/*.cpp" }
|
|
end
|
|
|
|
if (_OPTIONS["united"]) then
|
|
excludes "../src/Nazara/Renderer/Debug/NewOverload.cpp"
|
|
else
|
|
configuration "DebugStatic"
|
|
links "NazaraCore-s-d"
|
|
links "NazaraUtility-s-d"
|
|
|
|
configuration "ReleaseStatic"
|
|
links "NazaraCore-s"
|
|
links "NazaraUtility-s"
|
|
|
|
configuration "DebugDLL"
|
|
links "NazaraCore-d"
|
|
links "NazaraUtility-d"
|
|
|
|
configuration "ReleaseDLL"
|
|
links "NazaraCore"
|
|
links "NazaraUtility"
|
|
end |