Merge pull request #92316 from alula/msvc-clang

Add support for compiling with VS clang-cl toolset
This commit is contained in:
Rémi Verschelde 2024-08-29 10:36:17 +02:00
commit cb96fc95c3
No known key found for this signature in database
GPG key ID: C3336907360768E1
13 changed files with 92 additions and 36 deletions

View file

@ -216,6 +216,7 @@ bool get_default_installation_dir(String &r_dotnet_root) {
#endif
}
#ifndef WINDOWS_ENABLED
bool get_install_location_from_file(const String &p_file_path, String &r_dotnet_root) {
Error err = OK;
Ref<FileAccess> f = FileAccess::open(p_file_path, FileAccess::READ, &err);
@ -233,6 +234,7 @@ bool get_install_location_from_file(const String &p_file_path, String &r_dotnet_
r_dotnet_root = line;
return true;
}
#endif
bool get_dotnet_self_registered_dir(String &r_dotnet_root) {
#if defined(WINDOWS_ENABLED)