ObjLoading/ObjWriting: Initial skeleton for loading and writing obj files

This commit is contained in:
Jan
2019-12-29 16:40:03 +01:00
parent a0d4e87b8e
commit af55c202cf
39 changed files with 689 additions and 2 deletions

44
src/ObjCommon.lua Normal file
View File

@ -0,0 +1,44 @@
ObjCommon = {}
function ObjCommon:include()
ZoneCommon:include()
includedirs {
path.join(ProjectFolder(), "ObjCommon")
}
end
function ObjCommon:link()
Utils:link()
ZoneCommon:link()
links {
"ObjCommon"
}
end
function ObjCommon:use()
end
function ObjCommon:project()
local folder = ProjectFolder();
project "ObjCommon"
targetdir(TargetDirectoryLib)
location "%{wks.location}/src/%{prj.name}"
kind "StaticLib"
language "C++"
files {
path.join(folder, "ObjCommon/**.h"),
path.join(folder, "ObjCommon/**.cpp")
}
vpaths {
["*"] = {
path.join(folder, "ObjCommon")
}
}
self:include()
Utils:include()
end