Enable getobject() to find solution even when project is current
This commit is contained in:
parent
5bd3dcfb69
commit
eb33c9d874
@ -326,9 +326,14 @@
|
||||
container = premake.CurrentConfiguration
|
||||
end
|
||||
|
||||
if (t == "solution" and type(container) ~= "solution") then
|
||||
if t == "solution" then
|
||||
if type(container) == "project" then
|
||||
container = container.solution
|
||||
end
|
||||
if type(container) ~= "solution" then
|
||||
container = nil
|
||||
end
|
||||
end
|
||||
|
||||
local msg
|
||||
if (not container) then
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user