File tree 1 file changed +10
-0
lines changed 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 19
19
<ICCBuild >false</ICCBuild >
20
20
<ICCBuild Condition =" $(PlatformToolset.StartsWith(`Intel C++ Compiler`))" >true</ICCBuild >
21
21
22
+ <!--
23
+ This ensures, that in case of clang-cl bundled with VS
24
+ we find e.g. clang_rt.profile.lib in the correct bitness.
25
+ In case the user sets LLVMInstallDir and LLVMToolsVersion,
26
+ they are responsible to use the correct tool architecture.
27
+ For details please see GH-131473.
28
+ -->
29
+ <PreferredToolArchitecture Condition =" $(LLVMInstallDir) == '' and $(PlatformToolset) == 'ClangCL' and $(Platform) == 'x64'" >x64</PreferredToolArchitecture >
30
+ <PreferredToolArchitecture Condition =" $(LLVMInstallDir) == '' and $(PlatformToolset) == 'ClangCL' and $(Platform) == 'Win32'" >x86</PreferredToolArchitecture >
31
+
22
32
<!--
23
33
Convincing MSVC/MSBuild to prefer our platform names is too difficult,
24
34
so we define our own constant ArchName and use wherever we need it.
You can’t perform that action at this time.
0 commit comments