-
-
Notifications
You must be signed in to change notification settings - Fork 642
Deprecate NoLocalCopy flag #2575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate NoLocalCopy flag #2575
Conversation
|
|
||
| function config.isCopyLocal(cfg, linkname, default) | ||
| if cfg.flags.NoCopyLocal then | ||
| if cfg.allowcopylocal == p.OFF then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to assume that 'Default' is 'On'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Default" would be handled by the underlying exporter's behavior
src/_premake_init.lua
Outdated
| scope = "config", | ||
| kind = "string", | ||
| allowed = { | ||
| "Default", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonder at which point we want explicit 'Default' value.
premake can have default = 'On'.
8aec425 to
48576e3
Compare
48576e3 to
26d6418
Compare
What does this PR do?
Deprecates the
NoCopyLocalflag in favor of a dedicated API,allowcopylocal.How does this PR change Premake's behavior?
No breaking changes, just deprecation.
Anything else we should know?
Preparation for 5.0
Did you check all the boxes?
closes #XXXXin comment to auto-close issue when PR is merged)You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!