-
-
Notifications
You must be signed in to change notification settings - Fork 645
Add custom rules for Gmake2 & Codelite #1721
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
Conversation
starkos
left a comment
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.
Thanks for digging into this! The title makes it sounds like you cracked custom rules for Gmake2 and CodeLite — 🎉 — but I'm not seeing any unit tests to back that up?
starkos
left a comment
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.
Looking good, thanks so much for this! Just a couple of small comments inline.
starkos
left a comment
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.
Okay, looking good. Can you squash the commits and rebase against the latest main branch, and I will approve ASAP? Thanks!
- move rule code from gmake2.lua to rule.lua - Add UTs - Fix enum case - uniformise code for list. - Add support of rules for Codelite.
|
rebase and squash done. |
|
Merged, thanks! |
What does this PR do?
How does this PR change Premake's behavior?
Handling of separator and switch in propertydefinition is coherent with msvc.
Anything else we should know?
The refacto (rule code moved from gmake to rule) is also used to add support of CustomRule for premake-ninja module
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!