mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Add premake scripts for projects
This commit is contained in:
38
src/ZoneLoading.lua
Normal file
38
src/ZoneLoading.lua
Normal file
@ -0,0 +1,38 @@
|
||||
ZoneLoading = {}
|
||||
|
||||
function ZoneLoading:include()
|
||||
ZoneCommon:include()
|
||||
includedirs {
|
||||
path.join(ProjectFolder(), "ZoneLoading")
|
||||
}
|
||||
end
|
||||
|
||||
function ZoneLoading:link()
|
||||
Crypto:link()
|
||||
Utils:link()
|
||||
ZoneCommon:link()
|
||||
zlib:link()
|
||||
links {
|
||||
"ZoneLoading"
|
||||
}
|
||||
end
|
||||
|
||||
function ZoneLoading:project()
|
||||
local folder = ProjectFolder();
|
||||
|
||||
project "ZoneLoading"
|
||||
targetdir(TargetDirectoryLib)
|
||||
location "%{wks.location}/src"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
|
||||
files {
|
||||
path.join(folder, "ZoneLoading/**.h"),
|
||||
path.join(folder, "ZoneLoading/**.cpp")
|
||||
}
|
||||
|
||||
self:include()
|
||||
Crypto:include()
|
||||
Utils:include()
|
||||
zlib:include()
|
||||
end
|
Reference in New Issue
Block a user