mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-07 21:38:01 -05:00
59 lines
1010 B
Lua
59 lines
1010 B
Lua
ZoneLoading = {}
|
|
|
|
function ZoneLoading:include()
|
|
if References:include("ZoneLoading") then
|
|
ZoneCommon:include()
|
|
includedirs {
|
|
path.join(ProjectFolder(), "ZoneLoading")
|
|
}
|
|
end
|
|
end
|
|
|
|
function ZoneLoading:link()
|
|
if References:link("ZoneLoading") then
|
|
Crypto:link()
|
|
Utils:link()
|
|
ZoneCommon:link()
|
|
zlib:link()
|
|
links {
|
|
"ZoneLoading"
|
|
}
|
|
end
|
|
end
|
|
|
|
function ZoneLoading:use()
|
|
|
|
end
|
|
|
|
function ZoneLoading:project()
|
|
References:reset()
|
|
local folder = ProjectFolder();
|
|
|
|
project "ZoneLoading"
|
|
targetdir(TargetDirectoryLib)
|
|
location "%{wks.location}/src/%{prj.name}"
|
|
kind "StaticLib"
|
|
language "C++"
|
|
|
|
files {
|
|
path.join(folder, "ZoneLoading/**.h"),
|
|
path.join(folder, "ZoneLoading/**.cpp"),
|
|
ZoneCode:allLoadFiles()
|
|
}
|
|
|
|
vpaths {
|
|
["*"] = {
|
|
path.join(folder, "ZoneLoading"),
|
|
path.join(BuildFolder(), "src/ZoneCode")
|
|
}
|
|
}
|
|
|
|
self:include()
|
|
Crypto:include()
|
|
Utils:include()
|
|
zlib:include()
|
|
ZoneCode:include()
|
|
|
|
ZoneCode:use()
|
|
end
|