mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-07 17:22:34 +00:00
0d0f928267
* refactor: use generic loader for iw3 xanims * refactor: use generic dumper for iw3 xanims * chore: use templating on XAnimDumper * chore: use templating on XAnimLoader * feat: dump xanims for T5 * feat: load binary t5 xanims * feat: load and dump t6 xanims * feat: load and dump iw4,iw5 xanims * chore: make sure iw3 and t5 notify about unsupported delta3D * chore: also use CommonVec3U8 and CommonVec3U16 for non delta trans track
69 lines
1.5 KiB
Lua
69 lines
1.5 KiB
Lua
SystemTests = {}
|
|
|
|
function SystemTests:include(includes)
|
|
if includes:handle(self:name()) then
|
|
includedirs {
|
|
"%{wks.location}/src/ObjLoading",
|
|
"%{wks.location}/src/ObjWriting",
|
|
path.join(TestFolder(), "SystemTests")
|
|
}
|
|
end
|
|
end
|
|
|
|
function SystemTests:link(links)
|
|
|
|
end
|
|
|
|
function SystemTests:use()
|
|
|
|
end
|
|
|
|
function SystemTests:name()
|
|
return "SystemTests"
|
|
end
|
|
|
|
function SystemTests:project()
|
|
local folder = TestFolder()
|
|
local includes = Includes:create()
|
|
local links = Links:create()
|
|
|
|
project(self:name())
|
|
targetdir(TargetDirectoryTest)
|
|
location "%{wks.location}/test/%{prj.name}"
|
|
kind "ConsoleApp"
|
|
language "C++"
|
|
|
|
files {
|
|
path.join(folder, "SystemTests/**.h"),
|
|
path.join(folder, "SystemTests/**.cpp")
|
|
}
|
|
|
|
self:include(includes)
|
|
Catch2Common:include(includes)
|
|
Utils:include(includes)
|
|
ZoneLoading:include(includes)
|
|
ZoneWriting:include(includes)
|
|
ObjCommonTestUtils:include(includes)
|
|
ObjLoading:include(includes)
|
|
ObjCompiling:include(includes)
|
|
ObjWriting:include(includes)
|
|
Linking:include(includes)
|
|
Unlinking:include(includes)
|
|
catch2:include(includes)
|
|
|
|
Raw:use()
|
|
|
|
links:linkto(Utils)
|
|
links:linkto(ZoneLoading)
|
|
links:linkto(ZoneWriting)
|
|
links:linkto(ObjCommonTestUtils)
|
|
links:linkto(ObjLoading)
|
|
links:linkto(ObjCompiling)
|
|
links:linkto(ObjWriting)
|
|
links:linkto(catch2)
|
|
links:linkto(Catch2Common)
|
|
links:linkto(Linking)
|
|
links:linkto(Unlinking)
|
|
links:linkall()
|
|
end
|