CMake: Enable using clang-cl on windows

detect clang with MSVC frontend using CMAKE_CXX_COMPILER_FRONTEND_VARIANT
This commit is contained in:
Samuel Nicholas
2024-12-05 09:35:32 +10:30
parent ce66e6bb39
commit ef9778a392
2 changed files with 26 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ project( godot-cpp
HOMEPAGE_URL "https://github.com/godotengine/godot-cpp"
LANGUAGES CXX)
compiler_detection()
godotcpp_generate()
# Test Example