Version targeting for 6.x #1698
starkos
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TL;DR: 6.x has a new approach for targeting exported project file features to specific toolset versions. ICYMI.
We've lately seen both Microsoft and Apple introducing potentially breaking project file changes in minor version updates of their tools. The way we set up v5.x with "one exporter per major version" there isn't a whole lot we can do about that: we target the current latest version for 2019, and folks who are pinned to an older version are…just out of luck, really.
The work on 6.x has reached the point where I'm exporting some version specific stuff; I figured I'd take a stab and this and set things up right from the start. I've introduced a new Version module, with some basic documentation here.
When using Premake6 to target Visual Studio, you can now fully control the version you're targeting.
The Visual Studio exporter code can now take advantage of this to target specific versions ranges:
A few of those are still "coming soon"…I'll fill them in as soon as I hit a place that needs them. Here's a value-mapping example from the current code.
Feedback welcome, especially if I've missed something in the approach!
Beta Was this translation helpful? Give feedback.
All reactions