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

Don't force /Zi when using CMAKE_MSVC_DEBUG_INFORMATION_FORMAT #7041

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

llvm-beanz
Copy link
Collaborator

@llvm-beanz llvm-beanz commented Dec 18, 2024

Newer versions of CMake have a more robust way of handling debug information settings for Windows. Forcing this on breaks the ability to control how debug info is generated and gets in the way of using sccache.

See CMake's docs:
https://cmake.org/cmake/help/latest/variable/CMAKE_MSVC_DEBUG_INFORMATION_FORMAT.html

Newer versions of CMake have a more robust way of handling debug
information settings for Windows. Forcing this on breaks the ability to
control how debug info is generated and gets in the way of using
sccache.
@llvm-beanz llvm-beanz requested a review from a team as a code owner December 18, 2024 22:45
@llvm-beanz llvm-beanz enabled auto-merge (squash) December 18, 2024 23:36
@llvm-beanz llvm-beanz merged commit 6c2b9f3 into microsoft:main Dec 18, 2024
14 checks passed
@llvm-beanz llvm-beanz deleted the cbieneman/dont-force-zi branch December 18, 2024 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants