You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In premake 4 I was doing something like the following:
fori, platforminipairs(solution().platforms) doconfiguration {platform}
targetdir ("build/" ..platform.."/" ..project().name)
end
Now in premake 5, I get the following error when trying to call project():
Error: no project in scope
project().name still works everywhere else. It only seems to be a problem when I am iterating over the list of platforms or configurations from the solution object. I have also replaced my configuration call with filter.
Also, is there a better or more preferred way, in premake 5, to iterate over platforms and configurations?
The text was updated successfully, but these errors were encountered:
In premake 4 I was doing something like the following:
Now in premake 5, I get the following error when trying to call project():
project().name still works everywhere else. It only seems to be a problem when I am iterating over the list of platforms or configurations from the solution object. I have also replaced my configuration call with filter.
Also, is there a better or more preferred way, in premake 5, to iterate over platforms and configurations?
The text was updated successfully, but these errors were encountered: