premake-core
premake-core copied to clipboard
[vs*] Allow to have per-file `cdialect`/`cppdialect`.
What does this PR do?
Handle cdialect
/cppdialect
in per-file configuration for visual studio generators
How does this PR change Premake's behavior?
Only affect visual studio generators
Anything else we should know?
cppdialect
tested with dedicated project https://github.com/Jarod42/premake-sample-projects/actions/runs/8377114412
Did you check all the boxes?
- [x] Focus on a single fix or feature; remove any unrelated formatting or code changes
- [x] Add unit tests showing fix or feature works; all tests pass
- [ ] Mention any related issues (put
closes #XXXX
in comment to auto-close issue when PR is merged) - [x] Follow our coding conventions
- [x] Minimize the number of commits
- [ ] Align documentation to your changes