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