mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
ZoneLoading: Extract all obj dumping relevant parts to ObjWriting component
This commit is contained in:
44
src/ObjLoading.lua
Normal file
44
src/ObjLoading.lua
Normal file
@ -0,0 +1,44 @@
|
||||
ObjLoading = {}
|
||||
|
||||
function ObjLoading:include()
|
||||
ZoneCommon:include()
|
||||
includedirs {
|
||||
path.join(ProjectFolder(), "ObjLoading")
|
||||
}
|
||||
end
|
||||
|
||||
function ObjLoading:link()
|
||||
Utils:link()
|
||||
ZoneCommon:link()
|
||||
links {
|
||||
"ObjLoading"
|
||||
}
|
||||
end
|
||||
|
||||
function ObjLoading:use()
|
||||
|
||||
end
|
||||
|
||||
function ObjLoading:project()
|
||||
local folder = ProjectFolder();
|
||||
|
||||
project "ObjLoading"
|
||||
targetdir(TargetDirectoryLib)
|
||||
location "%{wks.location}/src/%{prj.name}"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
|
||||
files {
|
||||
path.join(folder, "ObjLoading/**.h"),
|
||||
path.join(folder, "ObjLoading/**.cpp")
|
||||
}
|
||||
|
||||
vpaths {
|
||||
["*"] = {
|
||||
path.join(folder, "ObjLoading")
|
||||
}
|
||||
}
|
||||
|
||||
self:include()
|
||||
Utils:include()
|
||||
end
|
Reference in New Issue
Block a user