mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
Fix more gcc compilation issues
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
ZoneCommon = {}
|
||||
|
||||
function ZoneCommon:include()
|
||||
if References:include("ZoneCommon") then
|
||||
if References:include(self:name()) then
|
||||
Utils:include()
|
||||
ObjCommon:include()
|
||||
includedirs {
|
||||
@ -11,12 +11,10 @@ function ZoneCommon:include()
|
||||
end
|
||||
|
||||
function ZoneCommon:link()
|
||||
if References:link("ZoneCommon") then
|
||||
if References:link(self:name()) then
|
||||
links(self:name())
|
||||
Utils:link()
|
||||
ObjCommon:link()
|
||||
links {
|
||||
"ZoneCommon"
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
@ -24,11 +22,15 @@ function ZoneCommon:use()
|
||||
|
||||
end
|
||||
|
||||
function ZoneCommon:name()
|
||||
return "ZoneCommon"
|
||||
end
|
||||
|
||||
function ZoneCommon:project()
|
||||
References:reset()
|
||||
local folder = ProjectFolder();
|
||||
|
||||
project "ZoneCommon"
|
||||
project(self:name())
|
||||
targetdir(TargetDirectoryLib)
|
||||
location "%{wks.location}/src/%{prj.name}"
|
||||
kind "StaticLib"
|
||||
@ -40,4 +42,6 @@ function ZoneCommon:project()
|
||||
}
|
||||
|
||||
self:include()
|
||||
|
||||
Utils:link()
|
||||
end
|
||||
|
Reference in New Issue
Block a user