2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-05 16:27:27 +00:00

refactor: use templating for JsonMaterials

This commit is contained in:
Jan
2025-06-25 18:30:07 +01:00
parent 0736b8043b
commit 79b0706fc1
6 changed files with 536 additions and 791 deletions

View File

@@ -7,7 +7,8 @@ function ObjCommon:include(includes)
minizip:include(includes)
Parser:include(includes)
includedirs {
path.join(ProjectFolder(), "ObjCommon")
path.join(ProjectFolder(), "ObjCommon"),
"%{wks.location}/src/ObjCommon"
}
end
end
@@ -21,7 +22,7 @@ function ObjCommon:link(links)
end
function ObjCommon:use()
dependson(self:name())
end
function ObjCommon:name()
@@ -48,6 +49,8 @@ function ObjCommon:project()
path.join(folder, "ObjCommon")
}
}
useSourceTemplating("ObjCommon")
self:include(includes)
Utils:include(includes)