-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Align and fix some Windows MSVC build setting #71089
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.
Auto-requesting reviews from non-collaborators: @jbytheway
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.
What do we need the raised minimum cmake version for?
Because of this message:
|
92b1caa not true. Still left out are:
|
This stop overwriting CMakeUserPresets.json too.
Link.exe tries add both our application_manifest.xml and it's UAC thing resulting in conflicts. Probably it's CMake injecting `/manifest:ebmed`, because the Solution file doesn't.
Build type should be specified at `cmake --build --config Debug` or generator level, like `.. -- -p:Configuration=Debug` (MSBuild)
Only for MSYS2 and MINGW
rebased |
Summary
Build "Align and fix some Windows MSVC build setting"
Purpose of change
Mostly align CMake linker settings, see below.
Describe the solution
msvc-full-features
Solution file flags aligned into CMake'sutf-8
and UAC settingsDescribe alternatives you've considered
Testing
Built with Solution file and CMake presets. The icon is there, the
.exe
contains the manifest. It runs. NOT tested the msys2/mingw build.Additional context
I am not sure the UAC section and UTF-8 thing can coexist together this way.
I hope @Qrox and @akrieger review this.