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
CMake/MSVC fixes #11506
CMake/MSVC fixes #11506
Conversation
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.
I don't have anything particularly meaningful to add apart from this, the CMakeSettings change is good (although we should really switch that over to CMakePresets).
Yeah, I got halfway though working out how |
|
(sorry, didn't realize that my approval would show up like a proper one) |
|
Ideally, we wouldnt have to set two empty variables either ( |
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.
Seems mostly fine. Untested.
|
lgtm |
CMakeSettings.json is a Visual Studio only extention to cmake that isn't supported anywhere else. Not even Visual Studio Code. So we set CMAKE_PREFIX_PATH inside DolphinQt's CMakeLists.txt instead.
This cmake file directly sets CMAKE_<LANG>_FLAGS, which doesn't show up in the COMPILE_COMMANDS target property and so our dolphin_disable_warnings_msvc macro failes to remove it. So we will just commit it out.
It's that time of the year.
I've booted into windows to do something else, and found this semi-broken again.