mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
55 lines
1023 B
Lua
55 lines
1023 B
Lua
ObjLoadingTests = {}
|
|
|
|
function ObjLoadingTests:include(includes)
|
|
if includes:handle(self:name()) then
|
|
includedirs {
|
|
path.join(TestFolder(), "ObjLoadingTests")
|
|
}
|
|
end
|
|
end
|
|
|
|
function ObjLoadingTests:link(links)
|
|
|
|
end
|
|
|
|
function ObjLoadingTests:use()
|
|
|
|
end
|
|
|
|
function ObjLoadingTests:name()
|
|
return "ObjLoadingTests"
|
|
end
|
|
|
|
function ObjLoadingTests: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, "ObjLoadingTests/**.h"),
|
|
path.join(folder, "ObjLoadingTests/**.cpp")
|
|
}
|
|
|
|
vpaths {
|
|
["*"] = {
|
|
path.join(folder, "ObjLoadingTests")
|
|
}
|
|
}
|
|
|
|
self:include(includes)
|
|
ParserTestUtils:include(includes)
|
|
ObjLoading:include(includes)
|
|
catch2:include(includes)
|
|
|
|
links:linkto(ParserTestUtils)
|
|
links:linkto(ObjLoading)
|
|
links:linkto(catch2)
|
|
links:linkall()
|
|
end
|