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

[CMake branch] Clang support on windows #1084

Open
MeijisIrlnd opened this issue Apr 19, 2024 · 0 comments
Open

[CMake branch] Clang support on windows #1084

MeijisIrlnd opened this issue Apr 19, 2024 · 0 comments

Comments

@MeijisIrlnd
Copy link

Hiya, when trying to use a Clang toolchain on Windows on the cmake branch, compilation fails due to /Zi being present, which under an msvc-like frontend, generates pdb files.
I had a bit of a rummage around, and found that /Zi is hardcoded in the current iplug_configure_target implementation - I was able to get it working by checking if the compiler's cli is msvc-like or not, and if not, replacing /Zi with -DEBUG in clang's case.
Not sure if this is a viable solution for g++, but it works with Clang on windows, I'll link the PR with the fix to this issue,
Hope it's at-all useful!

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

No branches or pull requests

1 participant