Skip to content

Windows.Clang.toolchain.cmake need not set CMAKE_<LANG>_COMPILER_ID and CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT#86

Merged
MarkSchofield merged 1 commit intomainfrom
mschofie/clang-cleanup
Oct 12, 2023
Merged

Windows.Clang.toolchain.cmake need not set CMAKE_<LANG>_COMPILER_ID and CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT#86
MarkSchofield merged 1 commit intomainfrom
mschofie/clang-cleanup

Conversation

@MarkSchofield
Copy link
Copy Markdown
Owner

A little clean-up to Windows.Clang.toolchain.cmake: There's no need to set CMAKE_<LANG>_COMPILER_ID and CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT. Just setting CMAKE_<LANG>_COMPILER is sufficient; CMake correctly identifies the variables.

@MarkSchofield MarkSchofield changed the title Windows.Clang.toolchain.cmake doesn't need to set CMAKE_<LANG>_COMPILER_ID and CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT Windows.Clang.toolchain.cmake need not set CMAKE_<LANG>_COMPILER_ID and CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT Oct 12, 2023
@MarkSchofield MarkSchofield merged commit ddef546 into main Oct 12, 2023
@MarkSchofield MarkSchofield deleted the mschofie/clang-cleanup branch October 12, 2023 05:09
InCom-0 pushed a commit to InCom-0/cmake_WindowsToolchain that referenced this pull request Mar 10, 2026
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