2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-04 15:57:26 +00:00

Add premake scripts for projects

This commit is contained in:
Jan
2019-10-22 02:40:06 +02:00
parent cae05efb7b
commit 0d103e24a5
15 changed files with 361 additions and 12 deletions

30
src/ZoneCommon.lua Normal file
View File

@@ -0,0 +1,30 @@
ZoneCommon = {}
function ZoneCommon:include()
includedirs {
path.join(ProjectFolder(), "ZoneCommon")
}
end
function ZoneCommon:link()
links {
"ZoneCommon"
}
end
function ZoneCommon:project()
local folder = ProjectFolder();
project "ZoneCommon"
targetdir(TargetDirectoryLib)
location "%{wks.location}/src"
kind "StaticLib"
language "C++"
files {
path.join(folder, "ZoneCommon/**.h"),
path.join(folder, "ZoneCommon/**.cpp")
}
self:include()
end