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

Fix clang on windows #233

Merged
merged 2 commits into from
Dec 6, 2023
Merged

Fix clang on windows #233

merged 2 commits into from
Dec 6, 2023

Conversation

charles-lunarg
Copy link
Owner

No description provided.

This commit fixes issues that prevented clang-cl & clang from being distinguished
on windows, resulting in improper command line arguments being used.

CMAKE_CXX_COMPILER_FRONTEND_VARIANT is the proper way to distinguish clang from
clang-cl, which have different command line options.
Required adding a .def file to properly export the required symbols and
disabling pointer cast warnings that are coming from Catch2.
@charles-lunarg charles-lunarg merged commit 348e8bf into main Dec 6, 2023
16 checks passed
@charles-lunarg charles-lunarg deleted the fix_clang_on_windows branch December 6, 2023 21:07
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.

1 participant