-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Auto detect latest GDK and Windows SDK #1124
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1124 +/- ##
==========================================
- Coverage 82.71% 82.67% -0.04%
==========================================
Files 53 53
Lines 7930 7930
Branches 1240 1240
==========================================
- Hits 6559 6556 -3
- Misses 1261 1262 +1
- Partials 110 112 +2 |
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.
Looks great, only minor things.
I wondered if removing any explicit settings regarding the Windows SDK wouldn't lead to the same outcome (i.e., CMake
will select the latest Windows SDK installed by default).
Then, we would only have the GDK
detection code. However, since we need the SDK paths anyway, it is okay to couple it with the version detection.
This PR modifies the CMake configuration to automatically detect the GDK version and WindowsSDK. This method ensures the selection of the latest installed version of the SDK. Consequently, the minimum required CMake version has been increased to 3.18 to utilize the list compare behavior.