Skip to content
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

Merged
merged 4 commits into from
Jan 27, 2025
Merged

Conversation

PlasmaDev5
Copy link
Collaborator

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.

Copy link

github-actions bot commented Jan 22, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against f23907c

Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.67%. Comparing base (2aa4b16) to head (f23907c).
Report is 1 commits behind head on master.

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     

Copy link
Collaborator

@supervacuus supervacuus left a 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.

CHANGELOG.md Outdated Show resolved Hide resolved
toolchains/xbox/CMakeGDKScarlett.cmake Outdated Show resolved Hide resolved
toolchains/xbox/gxdk_xs_toolchain.cmake Outdated Show resolved Hide resolved
@supervacuus supervacuus merged commit 1fc2c77 into master Jan 27, 2025
24 checks passed
@supervacuus supervacuus deleted the feat/auto_detect_gdk branch January 27, 2025 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants