Added 3D engine
Former-commit-id: 2e1ea34ac98e25cb27fed050b46b68de4d2d8131
This commit is contained in:
41
build/scripts/module/3d.lua
Normal file
41
build/scripts/module/3d.lua
Normal file
@@ -0,0 +1,41 @@
|
||||
if (not _OPTIONS["united"]) then
|
||||
project "Nazara3D"
|
||||
end
|
||||
|
||||
files
|
||||
{
|
||||
"../include/Nazara/3D/**.hpp",
|
||||
"../include/Nazara/3D/**.inl",
|
||||
"../src/Nazara/3D/**.hpp",
|
||||
"../src/Nazara/3D/**.cpp"
|
||||
}
|
||||
|
||||
if (os.is("windows")) then
|
||||
excludes { "../src/Nazara/3D/Posix/*.hpp", "../src/Nazara/3D/Posix/*.cpp" }
|
||||
else
|
||||
excludes { "../src/Nazara/3D/Win32/*.hpp", "../src/Nazara/3D/Win32/*.cpp" }
|
||||
end
|
||||
|
||||
if (_OPTIONS["united"]) then
|
||||
excludes "../src/Nazara/3D/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-d"
|
||||
links "NazaraRenderer-s-d"
|
||||
|
||||
configuration "DebugDLL"
|
||||
links "NazaraCore-d"
|
||||
links "NazaraUtility-s-d"
|
||||
links "NazaraRenderer-s-d"
|
||||
|
||||
configuration "ReleaseDLL"
|
||||
links "NazaraCore"
|
||||
links "NazaraUtility-s-d"
|
||||
links "NazaraRenderer-s-d"
|
||||
end
|
||||
Reference in New Issue
Block a user