Package: Add xcode and codelite projects to source package
This commit is contained in:
parent
625e6d40e6
commit
cf290de504
@ -186,26 +186,28 @@ if kind == "source" then
|
||||
"package",
|
||||
"test",
|
||||
"gmake", -- deprecated
|
||||
}
|
||||
|
||||
"codelite",
|
||||
"xcode4",
|
||||
local perOSActions = {
|
||||
"gmake2",
|
||||
"codelite"
|
||||
}
|
||||
|
||||
for action in premake.action.each() do
|
||||
|
||||
if not table.contains(ignoreActions, action.trigger) then
|
||||
if action.trigger == "gmake2" then
|
||||
if table.contains(perOSActions, action.trigger) then
|
||||
|
||||
local gmakeOsList = {
|
||||
local osList = {
|
||||
{ "windows", },
|
||||
{ "unix", "linux" },
|
||||
{ "macosx", },
|
||||
{ "bsd", },
|
||||
}
|
||||
|
||||
for _, os in ipairs(gmakeOsList) do
|
||||
for _, os in ipairs(osList) do
|
||||
local osTarget = os[2] or os[1]
|
||||
genProjects(string.format("--to=build/gmake2.%s --os=%s gmake2", os[1], osTarget))
|
||||
genProjects(string.format("--to=build/%s.%s --os=%s %s", action.trigger, os[1], osTarget, action.trigger))
|
||||
end
|
||||
else
|
||||
genProjects(string.format("--to=build/%s %s", action.trigger, action.trigger))
|
||||
|
Reference in New Issue
Block a user