mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
ObjLoading/ObjWriting: Initial skeleton for loading and writing obj files
This commit is contained in:
44
src/ObjCommon.lua
Normal file
44
src/ObjCommon.lua
Normal 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
|
Reference in New Issue
Block a user